Skip to content

Add redacted text formatting action#1116

Closed
zwarm wants to merge 4 commits intotrunkfrom
add-redacted-text-feature
Closed

Add redacted text formatting action#1116
zwarm wants to merge 4 commits intotrunkfrom
add-redacted-text-feature

Conversation

@zwarm
Copy link
Contributor

@zwarm zwarm commented Feb 20, 2026

Fix

Add a new "redacted" inline formatting action that:

  • Applies a red background color and strikethrough to selected text
  • Adds a corresponding toolbar button
  • Serializes to <del class="redacted"> in HTML with full round-trip support
  • Distinguishes redacted spans from regular strikethrough (<del>, <s>, <strike>) via the class="redacted" attribute

Test

  1. Open the demo app
  2. Type some text and select it
  3. Tap the redacted button (rectangle with diagonal line) in the toolbar
  4. Verify text gets a red background and strikethrough
  5. Tap the button again to toggle it off
  6. Switch to HTML view and verify <del class="redacted"> markup
  7. Switch back to visual view and verify formatting is preserved

Review

Twinsen81 and others added 4 commits February 20, 2026 12:50
- AGENTS.md with repo architecture, build commands, code navigation
- CLAUDE.md symlink to AGENTS.md
- /implement skill: plan, implement, verify, commit, draft PR workflow
- .claude/skills symlink to .agents/skills
- Agent should write tests for new/changed logic when feasible
- Skip and notify developer when effort would be disproportionate
Adds a new inline formatting option that applies a red background
and strikethrough to selected text, represented as <del class="redacted">
in HTML. Includes a toolbar button, full HTML round-trip support,
and a parser test.
@zwarm
Copy link
Contributor Author

zwarm commented Feb 20, 2026

This was a test PR to validate the AI skills

@zwarm zwarm closed this Feb 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants