Skip to content

New WYSIWYG editor for comments & descriptions #5676

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: development
Choose a base branch
from

Conversation

ssddanbrown
Copy link
Member

@ssddanbrown ssddanbrown commented Jun 24, 2025

Switch of the comment & description editor from TinyMCE to our new custom lexical-based implementation.

Todo

  • Create basic toolbar
  • Replace in comment UI handling
    • Load editor async.
  • Replace in shelf descriptions.
  • Replace in chapter descriptions.
  • Replace in book descriptions.
  • Styling in each area
  • Test
    • Ensure tinymce script usage removed from relevant views.
    • Tested each in dark-mode/FF/chromium/mobile.

Refactors some UI and toolbar code for better abstract use across editor
versions.
Required a lot of changes to provide at least a decent attempt at proper
editor teardown control.
Also updates HtmlDescriptionFilter and testing to address issue with bad
child iteration which could lead to missed items.
Renamed editor version from comments to basic as it'll also be used for
item descriptions.
@ssddanbrown ssddanbrown changed the title New WYSIWYG editor for comments New WYSIWYG editor for comments & descriptions Jun 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

1 participant