Skip to content

Add Redacted inline formatting action#1115

Closed
Twinsen81 wants to merge 4 commits intotrunkfrom
add-redacted-action
Closed

Add Redacted inline formatting action#1115
Twinsen81 wants to merge 4 commits intotrunkfrom
add-redacted-action

Conversation

@Twinsen81
Copy link
Contributor

Fix

Add a new "Redacted" toolbar action that applies red background + strikethrough to selected text. The format round-trips through HTML as <span class="redacted">.

Test

  1. Open the demo app
  2. Type some text and select a portion
  3. Tap the redacted button (rectangle with line through it, after strikethrough)
  4. Verify the selected text gets a red background and strikethrough
  5. Tap the button again to toggle it off
  6. Switch to HTML mode and verify the output is <span class="redacted">text</span>
  7. Switch back to visual mode and verify the redacted styling is preserved

- 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
- New AztecRedactedSpan combining red background + strikethrough
- Toolbar button with redacted icon added after strikethrough
- HTML round-trips as <span class="redacted">
- Wired into InlineFormatter, AztecText, AztecTagHandler
- Added to demo app toolbar layout
@Twinsen81 Twinsen81 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.

1 participant

Comments