When CkEditor gets focus in the following code, Safari and Chrome on Mac both crash hard. Any ideas for fixes or workarounds to clear cke's text upon focus? Thanks in advance!
-Shilad
<html> <head> <script type="text/javascript" src="http://nightly.ckeditor.com/6299/ckeditor.js"></script> </head> <body onload="init();"> <textarea name="cke"> Enter text </textarea> <script type="text/javascript"> function init() { var editor = CKEDITOR.replace('cke', {}); editor.on('focus', function(e) { e.editor.setData(''); }); } </script> </body> </html>
Re: Ckeditor crashes Safari and Chrome on Mac
you can use simply something like this:
Re: Ckeditor crashes Safari and Chrome on Mac