Add strikethrough formatting

Closed
RI
19d ago
+82-0

Summary by cubic

Add strikethrough formatting support across the editor. Users can now toggle text and the active format detection recognizes it.

  • New Features
    • Added toggleStrikethrough(textarea) and FORMATS.strikethrough (~~).
    • Updated getActiveFormats to detect strikethrough.
    • Exported the new API in src/index.js and src/index-new.js.
    • Updated README and test pages with a “Strike” button; added tests for toggling and detection.