forked from Wavyzz/dolibarr
Perf: ckeditor was seriously slowing everything. So now we use the ckeditor basic to load it only when required.
This commit is contained in:
6
htdocs/includes/ckeditor/plugins/docprops/plugin.js
Executable file
6
htdocs/includes/ckeditor/plugins/docprops/plugin.js
Executable file
@@ -0,0 +1,6 @@
|
||||
/*
|
||||
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
|
||||
For licensing, see LICENSE.html or http://ckeditor.com/license
|
||||
*/
|
||||
|
||||
CKEDITOR.plugins.add('docprops',{init:function(a){var b=new CKEDITOR.dialogCommand('docProps');b.modes={wysiwyg:a.config.fullPage};a.addCommand('docProps',b);CKEDITOR.dialog.add('docProps',this.path+'dialogs/docprops.js');a.ui.addButton('DocProps',{label:a.lang.docprops.label,command:'docProps'});}});
|
||||
Reference in New Issue
Block a user