Restore allowedContent line

We're not sure why it was removed, and we're using server-side
sanitizers to remove dangerous HTML.
This commit is contained in:
Javi Martín
2018-09-07 13:35:38 +02:00
parent 471061f475
commit b6855b7140

View File

@@ -12,6 +12,9 @@ CKEDITOR.editorConfig = function( config )
config.filebrowserImageBrowseUrl = "/ckeditor/pictures";
config.filebrowserImageUploadUrl = "/ckeditor/pictures";
config.filebrowserUploadUrl = "/ckeditor/attachment_files";
config.allowedContent = true;
// Rails CSRF token
config.filebrowserParams = function(){
var csrf_token, csrf_param, meta,