Skip to content

Organize extensions#725

Open
samuelpecher wants to merge 7 commits intoclean-upfrom
organize-extensions
Open

Organize extensions#725
samuelpecher wants to merge 7 commits intoclean-upfrom
organize-extensions

Conversation

@samuelpecher
Copy link
Collaborator

@samuelpecher samuelpecher commented Feb 10, 2026

Reduce various mechanisms to use LexxyExtension:

  • editor.highlighter & HighlightExtension
  • TrixContentLexicalExtension
  • TablesExtension

This also uses mergeExtension in the register lifecycle step of extension registration to ensure handlers are unregistered on editor dispose.

This allows the removal of conditional extension loading code in editor.js as extensions define themselves whether to load

cc @packagethief

Move pure lexical extensions into a separate folder to distinguish them
Remove highlighter as it no longer controlled configuration and was a
just an uneeded facade for the dispatcher to the
TOGGLE_HIGHLIGHT_COMMAND
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