Tuesday, September 23. 2014
Integrating JTK with tinyMCE 4.x
Integrating my Javascript Thaana Keyboard library to handle Thaana entry within tinyMCE for a full-featured rich-text Thaana editor is very straightforward. You just need the following config in the tinyMCE initialization.
Enjoy!
setup: function (editor) { editor.on('keypress', function (e) { thaanaKeyboard.value = ''; thaanaKeyboard.handleKey(e); editor.insertContent(thaanaKeyboard.value); }); }
Enjoy!