-
Notifications
You must be signed in to change notification settings - Fork 91
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
Change heading error #2868
Comments
@susnux I will revert #2841 until I find a solution for this. |
…chors" until #2868 be fixed This reverts commit 0f2c48e, reversing changes made to 9973d1f. Signed-off-by: Vinicius Reis <[email protected]>
The issue is caused by the VueNodeViewRenderer, I have implemented the node view using plain js and that version is not affected by the issue. |
…chors" until #2868 be fixed This reverts commit 0f2c48e, reversing changes made to 9973d1f. Signed-off-by: Vinicius Reis <[email protected]>
@vinicius73 I think I found a solution, have a look at https://github.com/nextcloud/text/tree/feat/page-anchors It seems the problem is prosemirror rendering the children into the I solved it by enforcing tiptap to remount the NodeView if the level changes. I tested it and now it works, also added some more tests for this issue. |
Works perfectly @susnux |
Related to: #2841
Peek.2022-09-06.15-15.mp4
The text was updated successfully, but these errors were encountered: