feat(text-editor): add highlight, subscript, superscript and mathematics toolbar actions#10627
Open
ComputerCrack wants to merge 5 commits intohcengineering:developfrom
Open
feat(text-editor): add highlight, subscript, superscript and mathematics toolbar actions#10627ComputerCrack wants to merge 5 commits intohcengineering:developfrom
ComputerCrack wants to merge 5 commits intohcengineering:developfrom
Conversation
|
Connected to Huly®: UBERF-15853 |
added 5 commits
March 12, 2026 18:34
Signed-off-by: ComputerCrack <github.compacter838@simplelogin.com>
Signed-off-by: ComputerCrack <github.compacter838@simplelogin.com>
Signed-off-by: ComputerCrack <github.compacter838@simplelogin.com>
Signed-off-by: ComputerCrack <github.compacter838@simplelogin.com>
…s extension Signed-off-by: ComputerCrack <github.compacter838@simplelogin.com>
46c8f66 to
457a107
Compare
Author
|
@aonnikov @BykhovDenis @ArtyomSavchenko Requesting manual review |
Member
|
Hi @ComputerCrack, Could you please take a look? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds four text formatting actions to the editor toolbar.
Highlight (@tiptap/extension-highlight)
Subscript / Superscript (@tiptap/extension-subscript, @tiptap/extension-superscript)
Mathematics (@tiptap/extension-mathematics + KaTeX)
$...$and block math via$$...$$$...$or$$...$$is inserted as plain text, preserving the math delimitersAll actions include active state detection (button highlights when formatting is active at cursor position).
Note on pre-existing issues
The following ESLint (
strict-boolean-expressions) errors exist ondevelopand are unrelated to this PR:plugins/text-editor-resources/src/components/extension/emoji.tsplugins/text-editor-resources/src/components/extension/reference.tsplugins/text-editor-resources/src/components/table/refreshTable.ts