| Page 1 of 1 | [ 2 posts ] |
|
Hi,
I am trying to set content in the editor. I am using the setEditorHTML method, but it throws an exception. Regards Seba Exception: this.getDoc().body is undefined (line 23) code: http://pastie.org/private/nacavzcgs0sr6lldyjvuw |
|
You can't set the data until the editor is rendered:
Code: myEditor.on('afterRender', function() { myEditor.setEditorHTML("bla<br />blabl11111"); }); |
| Page 1 of 1 | [ 2 posts ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group