Repository navigation
Bugs with new mathematics node types #7977
Description
Activity
- addedbugSomething isn't workingSomething isn't workingfeature: formattingFeatures related to text formatting and node typesFeatures related to text formatting and node types
on Nov 24, 2025 I think some of these bugs might be addressed by using the tiptap mathematics extension
Reacted by JonasI think changing the menu names first and deciding where the feature lives is one step.
Migrating over to the tiptap extension is another.
Reacted by Jonas@mejo- Do we need to consider backward compat?
It looks like tiptap just needs
div[data-type="block-math"]to be picked up (and inline too) without content matching etcSo we can do:
parseHTML() { │ return [ │ // Standard Tiptap format │ { tag: 'div[data-type="block-math"]' }, }
Otherwise, we need to pick up the katex block as well
@mejo- Do we need to consider backward compat?
Sorry I totally forgot to comment on that. Nope, we don't. So far, the feature is only merged into the development branch of Text (
main) and no new major release got branched off from there yet. The release of Nextcloud 33 (next major release) is scheduled for 2026-02-18. Before this date, there's no need to consider backwards (in)compatibility.@mejo- awesome!
I think I would change to use tiptap, then leave the renaming for another PR - I imagine where it sits in menus involved more people. @mejo-
I think I would change to use tiptap, then leave the renaming for another PR - I imagine where it sits in menus involved more people. @mejo-
Perfect, thanks @moodyjmz! I think you could rename the menubar entries in your new PR already as I consider this uncontroversial. But I'm also fine with leaving this for later. As you wish. Moving the inline node entry somewhere else can happen later on in another follow-up after we discussed it with the design team.
Describe the bug
Follow-up issue for #7957.