diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-05-16 15:12:47 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-05-16 15:12:47 +0100 |
| commit | a23699821ab98fd9a47791434d0db48b2f3e9c16 (patch) | |
| tree | df925da784b93cb6d2b9f0e16e8bde7393553e84 /ckconfig.bitweaver.js | |
| parent | 10dc05ce2a60e9618d939939803e66f68b67a7a0 (diff) | |
| download | ckeditor-a23699821ab98fd9a47791434d0db48b2f3e9c16.tar.gz ckeditor-a23699821ab98fd9a47791434d0db48b2f3e9c16.tar.bz2 ckeditor-a23699821ab98fd9a47791434d0db48b2f3e9c16.zip | |
Customizations to bitweaver templates
build script not needed
Diffstat (limited to 'ckconfig.bitweaver.js')
| -rw-r--r-- | ckconfig.bitweaver.js | 38 |
1 files changed, 15 insertions, 23 deletions
diff --git a/ckconfig.bitweaver.js b/ckconfig.bitweaver.js index 6b8b2d6..5783c7e 100644 --- a/ckconfig.bitweaver.js +++ b/ckconfig.bitweaver.js @@ -5,14 +5,14 @@ CKEDITOR.editorConfig = function( config ) { /* Start of BITWEAVER toolbar sets */ config.toolbar_Supported = [ ['Source','-','Preview'], - ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print','SpellChecker'], + ['Cut','Copy','Paste','PasteText','PasteFromLibreOffice','-','Print'], ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'], '/', ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'], ['NumberedList','BulletedList','-','Outdent','Indent'], ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'], ['Link','Unlink','Anchor'], - ['Table','HorizontalRule','Smiley','SpecialChar','PageBreak'], + ['Table','HorizontalRule','SpecialChar'], '/', ['Styles','Format','Font','FontSize'], ['TextColor','BGColor'], @@ -23,54 +23,46 @@ config.toolbar_Beginner = [ ['Bold','Italic','Underline'], ['NumberedList','BulletedList'], ['Link','Unlink','Anchor'], - ['Table','HorizontalRule','Smiley','SpecialChar','PageBreak'], + ['Table','HorizontalRule','SpecialChar'], ['Maximize','-','About'] ]; config.toolbar_Intermediate = [ - ['Cut','Copy','Paste','PasteText','PasteFromWord'], + ['Cut','Copy','Paste','PasteText','PasteFromLibreOffice'], ['Undo','Redo','-','Find','Replace','-','SelectAll'], '/', ['Bold','Italic','Underline'], ['NumberedList','BulletedList','-','Outdent','Indent'], ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'], ['Link','Unlink','Anchor'], - ['Table','HorizontalRule','Smiley','SpecialChar','PageBreak'], + ['Table','HorizontalRule','SpecialChar'], '/', ['TextColor','BGColor'], ['Maximize','-','About'] ]; config.toolbar_Advanced = [ - ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'], - ['NumberedList','BulletedList','-','Outdent','Indent'], - ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'], - ['Link','Unlink','Anchor'], - ['Table','HorizontalRule','Smiley','SpecialChar','PageBreak'], - '/', + ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'], + ['NumberedList','BulletedList','-','Outdent','Indent'], + ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'], + ['Link','Unlink','Anchor'], + ['Table','HorizontalRule','SpecialChar'], + '/', ['Source','-','Preview'], - ['Cut','Copy','Paste','PasteText','PasteFromWord'], + ['Cut','Copy','Paste','PasteText','PasteFromLibreOffice'], ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'], - ['SpellCheck'], '/', ['Styles','Format','Font','FontSize'], ['TextColor','BGColor'], ['Maximize','ShowBlocks','-','About'] ]; -// to add split plugin add this to array of tools in your selected ToolbarSet -// ['Split'] -// to add attachment plugin add this to array of tools in your selected ToolbarSet -// ['Attachment'] - /* END of BITWEAVER toolbar sets */ -// Enable additional plugins from the bw library of addons -//config.extraPlugins = 'split'; - // Lock resize function to bitweaver window. -config.resize_minHeight = 300; +config.resize_minHeight = 300; config.resize_dir = 'vertical'; config.autoParagraph = false; - enterMode: CKEDITOR.ENTER_P, +config.enterMode = CKEDITOR.ENTER_P; + }; // End CKEDITOR.editorConfig function |
