stable

Clone or download

Read-only

feat: add superscript support in prose-mirror editor

Add superscript mark support in prose-mirror editor. A superscript button in the toolbar allows the user to apply superscript style on selected text. There is also a shortcut available Ctrl + . If the user writes at the end of the line in a mark, they can press "space" to close the current mark and come back to a normal style. part of story #38627 : Choice of a new Rich Text Editor Change-Id: I519fe501f54e6143c0c3413c444d0b263359ed38

Modified Files

Name
M lib/frontend/prose-mirror-editor/po/fr_FR.po +6 −0 Go to diff View file
M lib/frontend/prose-mirror-editor/src/custom_schema.ts +7 −0 Go to diff View file
M lib/frontend/prose-mirror-editor/src/plugins/close-marks-after-space/close-all-marks.test.ts +17 −0 Go to diff View file
M lib/frontend/prose-mirror-editor/src/plugins/close-marks-after-space/marks-to-close.ts +4 −1 Go to diff View file
M lib/frontend/prose-mirror-editor/src/plugins/toolbar/keymap.ts +1 −0 Go to diff View file
M lib/frontend/prose-mirror-editor/src/plugins/toolbar/menu.ts +2 −1 Go to diff View file
M lib/frontend/prose-mirror-editor/src/plugins/toolbar/text-transformations/text-transformations-menu-item.ts +10 −0 Go to diff View file