[PRO]: Multiple lines in Mathematics doesn't work #4986
Labels
Category: Pro
The issue or pull request is related to the pro packages of Tiptap.
Type: Bug
The issue or pullrequest is related to a bug
Which packages did you experience the bug in?
extenstion-mathematics
What Tiptap version are you using?
2.2.4
What’s the bug you are facing?
The
@tiptap-pro/extension-mathematics
displays$\sqrt[n]{x}$
ok, however, it cannot detect a multiple-line one.For example (note that all the lines were in a single block and it satisfied the default regex
/\$([^\$]*)\$/gi
):$
\sqrt[n]{x}
$
P/s: for very complex equations, break-lines are very helpful in making organizational equations.
What browser are you using?
Chrome
Code example
What did you expect to happen?
@tiptap-pro/extension-mathematics
can work with@tiptap/extension-hard-break
so that it's able to display/render the equation as normally as the inline equation.Anything to add? (optional)
Did you update your dependencies?
Are you sponsoring us?
The text was updated successfully, but these errors were encountered: