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

With htmlUntouched setting enabled, space deleted/collapsed if you unbold and add space after bolded text #4814

Open
zach-knowledgeowl opened this issue Sep 10, 2024 · 0 comments

Comments

@zach-knowledgeowl
Copy link

If you have a feature suggestion, please add it on the Feature List instead.

Expected behavior.

Using Froala Editor with the htmlUntouched setting, you can type bold text, unbold, and then add a space. The space is added. The current styling is preserved.

Actual behavior.

Chrome + Froala 4.2.2
Safari + Froala 4.1.4 Chrome + Froala 4.1.4
The space is added as a regular space and collapsed by the browser. It appears as if the space is deleted.

In Safari + Froala 4.2.2, the space is added and bold is re-enabled.

Steps to reproduce the problem.

In Froala Editor, with the setting htmlUntouched set to true, type a bolded word. Unbold and then type a space.
https://jsfiddle.net/jb7h34rq/2/

Editor version.

Replicated in 4.2.2
Observed 4.1.4

OS.

macOS - Sonoma 14.5

Browser.

Safari 17.5
Chrome Version 128.0.6613.120 (Official Build) (arm64)

Recording.
2024-09-10_10-28-25.mp4

(A recording showing how to reproduce the problem)

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