Skip to content
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

Remove all restricted editing markers before setting the new data. #17367

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Mati365
Copy link
Member

@Mati365 Mati365 commented Oct 31, 2024

Suggested merge commit message (convention)

Fix (restricted-editing): Remove existing restricted editing markers when setting new data to prevent marker resurrection. Closes #9646, #9646


Additional information

Based on #9646 (comment)
Ensure that all markers from restricted editing document are removed before setting the new data using editor.setData.

Before

restricted-editing-before-fix-2024-10-31_11.24.40.mp4

After

restricted-editing-after-fix-2024-10-31_11.23.49.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Restricted editing exception blank spans
1 participant