Skip to content

feat: implement strikethrough functionality to markdown editor#7625

Merged
demshy merged 2 commits intodecaporg:mainfrom
penglezos:main
Oct 8, 2025
Merged

feat: implement strikethrough functionality to markdown editor#7625
demshy merged 2 commits intodecaporg:mainfrom
penglezos:main

Conversation

@penglezos
Copy link
Contributor

Summary

This PR addresses the missing strikethrough formatting option in the markdown editor's visual toolbar. While strikethrough functionality was already available via keyboard shortcut (Ctrl+Shift+S), there was no visual button for users who prefer mouse interactions or are unaware of the hotkey.

Test plan

  • Start the development server: npm run start
  • Navigate to a markdown editor widget
  • Add "strikethrough" to the toolbar buttons configuration
  • Verify the strikethrough button appears in the toolbar with proper icon
  • Test functionality:
    • Click strikethrough button to apply formatting
    • Click again to remove formatting
    • Verify Ctrl+Shift+S hotkey still works
    • Confirm strikethrough text renders correctly in preview

Preview

strikethrough.mov

Checklist

@penglezos penglezos requested a review from a team as a code owner October 7, 2025 22:12
@martinjagodic martinjagodic requested a review from demshy October 8, 2025 07:22
@demshy demshy merged commit 0c7d327 into decaporg:main Oct 8, 2025
7 checks passed
ascender1729 pushed a commit to ascender1729/decap-cms that referenced this pull request Oct 8, 2025
…org#7625)

Co-authored-by: Martin Jagodic <jagodicmartin1@gmail.com>
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.

3 participants