question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

onEditorChange is not triggered when typing IME

See original GitHub issue

What is the current behavior? onEditorChange is not capturing the composition end event (tested on Chinese pinyin) on iOS Chrome / Safari. Screen Shot 2021-02-22 at 3 35 06 PM

From the above image, one can clearly see onEditorChange is not firing when user clicks “你好” and finishes word composition process on the iOS keyboard.

Please provide the steps to reproduce and if possible a minimal demo of the problem via codesandbox.io or similar. https://codesandbox.io/s/tinymcereact-forked-piom2?file=/src/index.js

What is the expected behavior? onEditorChange should be fired immediately when user clicks the word and finishes the composition process.

Which versions of TinyMCE, and which browser / OS are affected by this issue? Did this work in previous versions of TinyMCE or tinymce-react? the bug was found on iOS (13.6.1) Chrome and Safari with most updated TinyMCE & tinymce-react versions.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
tiny-jamescommented, Mar 10, 2021

Release 3.10.4 will have this change when it finishes building. ETA 30 minutes.

0reactions
tiny-jamescommented, Mar 11, 2021

Closing as this should hopefully be fixed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to detect changes in TinyMCE? - Stack Overflow
I tried it, and my editor box disappeared, too - I think it's because onChange is no longer a function in 4.x. Theoretically,...
Read more >
React integration | Docs - TinyMCE
Important: Ensure that this is not updated by onEditorChange or the editor will be unusable. Default value: ''. Type: String ...
Read more >
Callback on variable change inside editor - Unity Answers
I want to react on that change. I had this ideas but none of them appeared to working in Unity editor: 1) Define...
Read more >
Building your TinyMCE theme in React with Material-UI
At this time I'll be fosucing at Material-UI, a package that ... At the moment I'm writing this post the React package is...
Read more >
Data Editors - Webix
Here you should set a template for the editing area - the type and ... Webix RichSelect control that is a non-editable variation...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found