Open deeg opened 8 years ago
hi @deeg I had this problem already but i used ckeditor in tiddlywiki.This error raised because in plugin.js LoadCodeMirror() not called and fromTextArea() not called consequently.Trace your code to find why ?
This work fine after page loading because CodeMirror loaded and above functions loads ...
I hope this help you.
Is there a way to load markdown data into the editor and then have it set to display in WYSIWYG mode?
I'm trying something like this:
This seems to throw errors:
Uncaught TypeError: Cannot read property 'toTextArea' of undefinedCKEDITOR.tools.createClass.proto.detach @ plugin.js:162CKEDITOR.editor.editable @ editable.js:1207CKEDITOR.editor.setMode @ themedui.js:195(anonymous function) @ sample.js:45 selection.js:500 Uncaught TypeError: Cannot read property 'getBody' of undefined
If I run these commands one at a time from the console after loading the page changing out ev for CKEDITOR.instances['instanceName'] it seems to work fine.
Sorry if I am missing something trivial.