-
Notifications
You must be signed in to change notification settings - Fork 110
Open
Labels
1. to developbugSomething isn't workingSomething isn't workingfeature: formattingFeatures related to text formatting and node typesFeatures related to text formatting and node types
Description
Describe the bug
Follow-up issue for #7957.
- Inline formulas enforce a newline at their end, which is unexpected for inline nodes.
- When inserting an inline formula at the end of the document, it seems impossible to position the cursor after the node, so impossible to insert content behind it.
- When inserting a block type formula and placing the cursor in the next line, typing will remove the added formula.
- In menubar, "Display formula" seems a bit unclear to me as node type. Maybe "block math formula" or just "block math" would be better? Similarly, "inline formula" could be changed to "inline math formula" or just "inline math".
- In menubar, "Inline formula" is placed in the block node submenu, next to blockquotes, codeblocks and callouts. I would not expect it there. Not sure though what would be the best alternative place 🤔
- Probably we should use and expand https://tiptap.dev/docs/editor/extensions/nodes/mathematics instead of re-implementing it all ourselves.
- Simple playwright tests to add both node types would be great.
moodyjmz
Metadata
Metadata
Assignees
Labels
1. to developbugSomething isn't workingSomething isn't workingfeature: formattingFeatures related to text formatting and node typesFeatures related to text formatting and node types