Const
This extension allows you to add a class to the selected text when the editor is blurred. It clears the native browser selection on blur (so ::selection styles do not overlap the decoration) and restores it when the editor is focused again.
::selection
https://www.tiptap.dev/api/extensions/selection
This extension allows you to add a class to the selected text when the editor is blurred. It clears the native browser selection on blur (so
::selectionstyles do not overlap the decoration) and restores it when the editor is focused again.