ice icon indicating copy to clipboard operation
ice copied to clipboard

Non - English soft keyboards - changes not tracked in TinyMCE plugin

Open driscom opened this issue 12 years ago • 3 comments

Changes are inconsistently tracked in TinyMCE plugin when changes are entered from alternate (soft) keyboards. For example, in Windows:

  1. Go to Control Panel -> Language/Region settings
  2. Add a Language (Simplified Chinese, for example)
  3. Toggle Language bar to support phonetic Chinese typing
  4. Type in any Chinese phrase, "ni hao" , for example and accept the Chinese characters
  5. Observe characters entered into editor

On the demo page (http://nytimes.github.io/ice/demo/), the HTML demo seems to handle the alternate keyboard without issue. In the TinyMCE plugin, changes are tracked if preceded with a whitespace. However, if a patch has been applied for issue #69 then Chinese characters entered through the soft keyboard are no longer tracked.

driscom avatar Aug 05 '13 13:08 driscom

Unfortunately, I don't know that this can be supported. ice has the limitation that it must work with the browser based keyboard input/events to control what gets tracked.

delambo avatar Aug 06 '13 01:08 delambo

It is certainly an unusual use case, though we are optimistic because the soft keyboard seems to mostly work in the demo. In the demo, the TinyMCE plugin just has the issue of not being able to add space to the end of a line (issue #69). The issue we've observed with our instance of the plug in seems to be related to updating ice-master.min.js to handle the issue described in #69 .

driscom avatar Aug 06 '13 13:08 driscom

I have to say that It's a very common use case for chinese user since they have to input chinese characters in this way. Maybe I can spend some time to figure out how to fix this.

ghost avatar Apr 21 '15 03:04 ghost