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

First whitespace doesn't trigger the onEditorChange function in react JS TinyMCE version 6.8.2 #9506

Open
SreekuttanPS opened this issue Mar 22, 2024 · 1 comment

Comments

@SreekuttanPS
Copy link

SreekuttanPS commented Mar 22, 2024

πŸ“ Steps to reproduce :

  1. Add a single whitespace.
  2. Check whether onEditorChange is triggering or not.

βœ”οΈ Expected result

onEditorChange should trigger whenever we make changes inside the editor.

❌ Actual result

Nothing happens when inputting a whitespace, but onEditorChange triggers on the second whitespace, and triggers on every other characters. You can check the code sandbox link I provided and check their console.

❓ Possible solution

Uhh.. trigger onEditorChange on the first whitespace maybe?

πŸ“ƒ Other details


If you'd like to see this fixed sooner, add a πŸ‘ reaction to this post.

@rahulquintet
Copy link

Same issue here. Couldn't find any solutions online other than this open issue.

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

2 participants