Skip to content

Commit 88e110d

Browse files
committed
Update Webcms.js
disable content filter
1 parent 12b6218 commit 88e110d

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

AdminModule/client-side/js/Webcms/Webcms.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,10 @@ Webcms.prototype = {
146146
initTextEditors : function(){
147147

148148
$(".editor:not(.k-content)").ckeditor({
149-
filebrowserBrowseUrl: basePath + '/admin/filesystem/files-dialog?multi=0',
150-
filebrowserImageBrowseUrl: basePath + '/admin/filesystem/files-dialog?filter=images&multi=0'
151-
});
149+
filebrowserBrowseUrl: basePath + '/admin/filesystem/files-dialog?multi=0',
150+
filebrowserImageBrowseUrl: basePath + '/admin/filesystem/files-dialog?filter=images&multi=0',
151+
allowedContent: true
152+
});
152153

153154
}
154155
};
@@ -224,4 +225,4 @@ Filesystem.prototype = {
224225
$(function(){
225226
webcms = new Webcms();
226227
filesystem = new Filesystem();
227-
});
228+
});

0 commit comments

Comments
 (0)