I'm doing a getData() when I submit my form on a page, to do some post-processing. However, I noticed that if I do getData() on source mode, I get different data compared to wysiwyg mode.
In order to rectify this difference, I'm trying to force CKEditor into wysiwyg mode first when I submit my form.
The problem is, setMode() is asynchronous, and the callback function doesn't seem to let me resubmit the form since the callback function is an anonymous function.
Anyone have any idea how to best approach this?
getData on source mode vs wysiwyg mode
Hi,
I've the same problem.
Did you solve yours ? I'm interesting by a solution :-) !
Thx
Using in config.js :
Using in config.js :
config.allowedContent = true;
will go around the pb.
I don't know if it is the best way !
Regards.