Hello ACE Fans,
I recently developed a plugin for CKEditor which uses ACE as a substitute for the source view editor. Everything works great except for some odd behavior in Chrome and Safari. In Chrome/Safari when I'm within ACE editor and I hit "tab" or "backspace" I am unable to type anything until I click outside of the editor and then back in.
My only clue about what could be causing this is that I'm calling the CKEditor "setData()" function to pass the value of ACE editor back to CKEditor. However it's odd that this only seems to break ACE editor in Chrome and Safari. I've tried going through the Chrome console tool and Firebug within Firefox but I can't seem to figure out what's going on. Any help and/or guidance to solving this little mystery would be most appreciated.
Here's how you can re-create the issue:
1. Open FireFox (make sure you have firebug and/or debugging console open)
2. Load the web site and click "source" in CKEditor.
3. Type something. Hit backspace. Type some more
4. Open Chrome (make sure you have debugging console open)
5. Load the web site and click "source" in CKEditor
6. Type something. Hit backspace. Type some more. You should not be able to type until you click away from the editor and back in.
Thanks,
Dave