browsermedia / browsercms

BrowserCMS: Humane Content Management for Rails
http://browsercms.org
GNU Lesser General Public License v3.0
1.17k stars 260 forks source link

[v4.0] CKEditor Config Issue #749

Open ksung opened 9 years ago

ksung commented 9 years ago

Not really a bug, but for users that may wish to be able to publish html code within the WYSIWYG editor, a line needs to be added to the CKE config file.

CKEDITOR.config.allowedContent = true;

Note that the inline editor (if tables is not turned on via the toolbar) will not allow table code to be displayed properly and will overwrite whatever content is in the inline editable area. Once the toolbar is updated to have the table button, this seems to fix the content issue. The config.allowedcontent is still needed but this is something that does need to be sorted out.