// toolbar
config.toolbar = [
- { name: 'styles', items : [ 'Styles', 'Format', 'Font', 'FontSize' ] },
+ { name: 'styles', items : [ 'PlinnStyles','Format', 'Font', 'FontSize' ] },
{ name: 'colors', items : [ 'TextColor', 'BGColor' ] },
{ name: 'document', items : [ 'Maximize', 'ShowBlocks', 'Source'] },
{ name: 'editing', items : [ 'Find','Replace', '-', 'SelectAll'] },
config.height = '500px';
config.contentsCss = CKEDITOR.basePath + 'global_plinn_style_editor.css';
+ config.allowedContent = true;
config.filebrowserBrowseUrl = CKEDITOR.basePath + 'filemanager/browser/mac_finder/browser.html?Connector=connectors/plinn/connector';
CKEDITOR.config.filebrowserImageBrowseUrl = CKEDITOR.basePath + 'filemanager/browser/mac_finder/browser.html?Type=Image&Connector=connectors/plinn/connector';
config.filebrowserWindowWidth = 801;
config.attachmentBrowserConnectorUrl = CKEDITOR.basePath + 'plugins/plinn_image/connectors/plinn/connector';
config.imageMaxDefaultDimension = 500 ; // image inserted will be cropped at this size.
- config.extraPlugins = 'plinn_image';
+ config.extraPlugins = 'plinn_image,plinn_styles,codemirror';
+
+ config.stylesSet = 'plinn_styles:' + CKEDITOR.basePath + 'plinn_ckeditor_styles.js';
};
\ No newline at end of file