From: BenoƮt Pin Date: Thu, 18 Aug 2011 08:32:00 +0000 (+0200) Subject: doc++. X-Git-Tag: 3.6.1~14 X-Git-Url: https://svn.cri.ensmp.fr/git/ckeditor.git/commitdiff_plain/7c4f7ce0c90fd8b1413f4cc46eb5c84730d61e56?ds=inline doc++. --- diff --git a/skins/ckeditor/config.js b/skins/ckeditor/config.js index 057a4e0..fdcad7b 100644 --- a/skins/ckeditor/config.js +++ b/skins/ckeditor/config.js @@ -8,6 +8,8 @@ CKEDITOR.editorConfig = function( config ) // Define changes to default configuration here. For example: // config.language = 'fr'; // config.uiColor = '#AADC6E'; + + // toolbar config.toolbar = [ { name: 'styles', items : [ 'Styles', 'Format', 'Font', 'FontSize' ] }, { name: 'colors', items : [ 'TextColor', 'BGColor' ] }, @@ -21,6 +23,7 @@ CKEDITOR.editorConfig = function( config ) { name: 'insert', items : [ 'Image', 'Flash', 'Table', 'HorizontalRule', 'SpecialChar', 'PageBreak'] }, ]; + // context menu config.menu_groups = 'tablecell,tablecellproperties,tablerow,tablecolumn,table,anchor,link,image,flash' config.height = '500px'; diff --git a/skins/ckeditor/plugins/plinn_image/plugin.js b/skins/ckeditor/plugins/plinn_image/plugin.js index 7181a9e..7f8f3f2 100644 --- a/skins/ckeditor/plugins/plinn_image/plugin.js +++ b/skins/ckeditor/plugins/plinn_image/plugin.js @@ -28,6 +28,9 @@ CKEDITOR.plugins.add( 'plinn_image', { init : function( editor ) { + /* Add listener on getData event to compute images + src attributes before saving data. + */ editor.on('instanceReady', function(){ editor.on('getData', function(evt) {