-
-
Notifications
You must be signed in to change notification settings - Fork 342
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] nested spans font-sizes parsed into incorrect marks #1483
Comments
qlp-mathias
changed the title
[Bug] nested spans font-sizes parsed into correct marks
[Bug] nested spans font-sizes parsed into incorrect marks
Aug 21, 2024
I just noticed that this might be a duplicate of #907 |
the same problem as you. i think it was resolved in prosemirror-model@1.22.3 |
Yes, this should be fixed now. Are you still seeing it @zunsthy, or did you mean to say that it is resolved for you? |
i mean it is resolved after 1.22.3 : ) |
Wonderful! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Note: I originally posted this as a Re-Mirror issue but was re-directed here.
I'm dealing with some HTML created by a legacy rich text editor. This editor sometimes seems to have produced some unnecessary - albeit valid - nesting, which is not getting parsed correctly.
Steps to reproduce
Given a Remirror instance with
This results in the following rendered HTML (Notice that the text in the red box should also have a font-size of 18px)
It also seems to be scoped to font-size. If I instead replace the font-size style with, say, font-weight in a similar fashion it renders as expected.
The text was updated successfully, but these errors were encountered: