X-Git-Url: https://scm.cri.mines-paristech.fr/git/ckeditor.git/blobdiff_plain/1c760f8ef98dbf02e660ae4d758aae7952026b6f..e26345ed9b0afe560d7f06d8cbbc9698eba433d2:/skins/ckeditor/config.js?ds=inline diff --git a/skins/ckeditor/config.js b/skins/ckeditor/config.js index c0cd619..dea13f2 100644 --- a/skins/ckeditor/config.js +++ b/skins/ckeditor/config.js @@ -11,7 +11,7 @@ CKEDITOR.editorConfig = function( config ) // toolbar config.toolbar = [ - { name: 'styles', items : [ 'Styles', 'Format', 'Font', 'FontSize' ] }, + { name: 'styles', items : [ 'Styles','Format', 'Font', 'FontSize' ] }, { name: 'colors', items : [ 'TextColor', 'BGColor' ] }, { name: 'document', items : [ 'Maximize', 'ShowBlocks', 'Source'] }, { name: 'editing', items : [ 'Find','Replace', '-', 'SelectAll'] }, @@ -28,6 +28,7 @@ CKEDITOR.editorConfig = function( config ) 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'; @@ -36,4 +37,6 @@ CKEDITOR.editorConfig = function( config ) 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,codemirror'; + + config.stylesSet = 'plinn_styles:' + CKEDITOR.basePath + 'plinn_ckeditor_styles.js'; }; \ No newline at end of file