Open max-nextcloud opened 4 weeks ago
This is related to https://github.com/nextcloud/text/issues/5800#issuecomment-2145591803
Probably the way forward would be to migrate extractHeadings()
to use ProseMirror Decorations for setting the id
attribute locally, instead of altering the document state. See this example.
Ah sounds like a good idea, haven't thought of that with my comment in https://github.com/nextcloud/text/issues/5800#issuecomment-2154775155
Describe the bug
To Reproduce
Steps to reproduce the behavior:
Expected behavior Opening the document read only should not alter the state.
Screenshots will attach later