editor.on('configLoaded', function () {
var config = editor.config;
config.language = 'nl';
- config.extraPlugins = 'sourcedialog,inlinesave,placeholder,image2,uploadimage';
+ config.extraPlugins = 'inlinesave,placeholder,image2,uploadimage';
config.format_tags = 'h2;h3;h4;p';
config.allowedContent = true;
config.entities = false; // keep unicode
config.contentsCss = document.styleSheets[0].href;
config.toolbar = [
['Inlinesave', '-', 'Undo', 'Redo'],
- ['Format', 'BulletedList', 'NumberedList', 'CreateDiv', 'Table', 'Blockquote'],
- ['HorizontalRule', 'CreatePlaceholder', 'Image'],
+ ['Format'],
['Bold', 'Italic', 'Link'],
- ['Sourcedialog'],
+ ['BulletedList', 'NumberedList', 'Blockquote'],
+ ['Table', 'CreateDiv'],
+ ['Image', 'HorizontalRule', 'CreatePlaceholder'],
+// ['Sourcedialog'],
+ ['closebtn'],
];
config.toolbarCanCollapse = true;
config.floatSpacePreferRight = true;
pagebody.setAttribute('contenteditable', true);
pagebody.innerHTML = pagebody.innerHTML
.replace(/<!--BLOCK:(.*?)-->[^]*?<!--\/-->/g, '$1');
- CKEDITOR.inline(pagebody);
+ CKEDITOR.inline(pagebody, { customConfig: '' });
document.body.className = 'edit';
return false;
};