There is a user page and the page administrator. It is necessary that on the first page was created CKEditor with a simple panel. On the second page (admin page), another panel, a large panel.
I tried this:
A crazy idea to create a folder ckeditor for each configuration.
How to create one correctly?
I tried this:
CKEDITOR.editorConfig = function( config ) { // Define changes to default configuration here. For example: // config.language = 'fr'; // config.uiColor = '#AADC6E'; config.toolbar = 'Basic'; //функциональность редактора, Basic-минимум, Full-максимум config.toolbar_Basic = //индивидуальная настройка режима Basic [ ['Bold', 'Underline', '-', 'Undo', 'Redo', '-', 'BulletedList', 'NumberedList', 'PasteText', 'Table', '-', 'Preview'] ]; /* * This toolbar MyPanel */ config.toolbar = 'MyPanel'; config.toolbar_MyPanel = [ ['Undo','Redo','Source','Maximize','-','RemoveFormat','SelectAll','Paste','PasteText','PasteFromWord','-','Templates','Image','Table','Link','Unlink','HorizontalRule','DrupalBreak'], '/', ['Bold','Italic','Strike','SpecialChar','-','Blockquote','NumberedList','BulletedList','-','JustifyLeft','JustifyCenter','JustifyRight','-','Format'] ];
<textarea id="editor2" name="input_name[16]"></textarea> <script type="text/javascript">CKEDITOR.editorConfig.toolbar='MyPanel'; CKEDITOR.replace( 'editor2');</script>
A crazy idea to create a folder ckeditor for each configuration.
How to create one correctly?
Re: connection CKEditor
--> Defining Configuration In-Page
Re: connection CKEditor