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

Do not remove image shadow root #2895

Merged
merged 2 commits into from
Nov 29, 2024
Merged

Conversation

juliaroldi
Copy link
Contributor

@juliaroldi juliaroldi commented Nov 28, 2024

Following the changes in #2868, images added via drag and drop became uneditable. This issue arises because the attribute in the span of the shadow root was removed, causing the optimize function to remove this span in the removeUnnecessarySpan function. To resolve this, an ID was added to the ImageEdit shadow span to prevent its removal during content model optimization.

@juliaroldi juliaroldi merged commit 0d6f734 into master Nov 29, 2024
7 checks passed
juliaroldi added a commit that referenced this pull request Dec 2, 2024
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.

2 participants