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

normalizeAroundCursor() called when htmlUntouched is true #4845

Open
MasterMart opened this issue Nov 19, 2024 · 0 comments
Open

normalizeAroundCursor() called when htmlUntouched is true #4845

MasterMart opened this issue Nov 19, 2024 · 0 comments

Comments

@MasterMart
Copy link

MasterMart commented Nov 19, 2024

Expected behavior.

normalizeAroundCursor() should only be called when htmlUntouched is false.

Actual behavior.

From within the del() function, normalizeAroundCursor() is called when htmlUntouched is true.
Compare this to the backspace() and enter() functions, where is is not called.

This causes weird spacing problems on one of our customer environments when deleting a custom element.

Editor version.
4.2.0

OS.
Windows 10 entreprise

Browser.
Chrome 130.0.6723.71

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

No branches or pull requests

1 participant