I have a standard installation (e.g. samples):
<meta charset="utf-8"></meta> <script src="../ckeditor.js"></script>
With HTML content with many <div contenteditable="true"> blocks. I need to configure each editor with a local or external configTypeX.js file,
<script> CKEDITOR.on( 'instanceCreated', function( event ) { var editor = event.editor, element = editor.element; if ( element.is( 'h1', 'h2', 'h3' ) ) { editor.on( 'configLoaded', function() { editor.config.toolbar = [ [ 'Source', '-', 'Bold', 'Italic' ] ]; </script>
So my problem is
- How to make
customConfig in this context? - Where is the "most complete complete documentation" about the configuration menu (
editor.config.toolbar ) without an interactive configuration tool, where can I understand how to install and remove the itens menu with the correct names? Nothing here on how to fix the "Source" error in a full installation.
I AM,
git clone git://github.com/ckeditor/ckeditor-releases.git cd ckeditor-releases cp samples/inlineall.html samples/myinline.html
and edit samples/myinline.html using the code above.
source share