Deactivate ckeditor file uploads feature
This feature was not working so its better to disable it completely. By removing attachment_files endpoints related buttons and tabs from ckeditor UI are not shown to users anymore.
This commit is contained in:
@@ -8,13 +8,9 @@ CKEDITOR.editorConfig = function( config )
|
||||
|
||||
config.forcePasteAsPlainText = true;
|
||||
|
||||
config.filebrowserBrowseUrl = "/ckeditor/attachment_files";
|
||||
config.filebrowserFlashBrowseUrl = "/ckeditor/attachment_files";
|
||||
config.filebrowserFlashUploadUrl = "/ckeditor/attachment_files";
|
||||
config.filebrowserImageBrowseLinkUrl = "/ckeditor/pictures";
|
||||
config.filebrowserImageBrowseUrl = "/ckeditor/pictures";
|
||||
config.filebrowserImageUploadUrl = "/ckeditor/pictures";
|
||||
config.filebrowserUploadUrl = "/ckeditor/attachment_files";
|
||||
config.filebrowserUploadMethod = "form";
|
||||
|
||||
config.allowedContent = true;
|
||||
|
||||
Reference in New Issue
Block a user