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

The state of the toolbar button is out of sync with the state of the editing area. #9585

Open
BetaZhang opened this issue Apr 23, 2024 · 0 comments

Comments

@BetaZhang
Copy link

📝 Provide detailed reproduction steps (if any)

Please provide the steps to reproduce and if possible a minimal demo of the problem via fiddle.tiny.cloud or similar.

  1. Toggle Bold.
  2. Input text bold.
  3. Toggle Italic.
  4. Input text italic.
  5. Delete text to bold. You can see both Bold and Italic Button are active. Check the dom tree there is an <em> element with &#xFEFF;.
  6. Input text i. You can see Bold Button is active but Italic Button is inactive now!

Other style button like underline strikethrough forecolor backcolor also can reproduce this problem.

tinymce

✔️ Expected result

What is the expected result of the above steps?

  1. When Italic Button is active, user inputed text should be italic.

❌ Actual result

What is the actual result of the above steps?

  1. When Italic Button is active, user inputed text is not italic.

If you'd like to see this fixed sooner, add a 👍 reaction to this post.

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