I have a custom config.toolbar:
toolbar:[ {name: 'lineone',
groups: [ 'textface', 'textstyle', 'parastyle', 'specialcontent', 'html' ],
items: [ 'Format','Font','FontSize', 'TextColor','BGColor',
'-','Bold','Italic','Underline','Strike',
'-','NumberedList','BulletedList','Outdent','Indent','JustifyLeft','JustifyCenter','JustifyRight',
'-','Link','Unlink','Table','Image',
'-','Source'
]
},
{name: 'linetwo',
groups: [ 'cutcoppaste', 'unredo', 'findreplace', 'subsup', 'block', 'special' ],
items: [ 'Cut','Copy','Paste','PasteText','PasteFromWord',
'-','Undo','Redo',
'-','Find','Replace',
'-','Subscript','Superscript',
'-','JustifyBlock','Blockquote',
'-','HorizontalRule','Smiley','SpecialChar'
]
}
]
Everythis is working good, except that the buttons for Subscript Superscript are not being generated. It's not that they aren't being displayed, they are not being generated in the DOM either.
<span class="cke_toolgroup" role="presentation">
<a id="cke_28" class="cke_button cke_button__cut
<a id="cke_29" class="cke_button cke_button__copy
<a id="cke_30" class="cke_button cke_button__paste
<a id="cke_31" class="cke_button cke_button__pastetext
<a id="cke_32" class="cke_button cke_button__pastefromword
<span class="cke_toolbar_separator" role="separator"></span>
<a id="cke_33" class="cke_button cke_button__undo
<a id="cke_34" class="cke_button cke_button__redo
<span class="cke_toolbar_separator" role="separator"></span>
<a id="cke_35" class="cke_button cke_button__find
<a id="cke_36" class="cke_button cke_button__replace
<span class="cke_toolbar_separator" role="separator"></span>
<a id="cke_37" class="cke_button cke_button__justifyblock
<a id="cke_38" class="cke_button cke_button__blockquote
<span class="cke_toolbar_separator" role="separator"></span>
<a id="cke_39" class="cke_button cke_button__horizontalrule
<a id="cke_40" class="cke_button cke_button__smiley
<a id="cke_41" class="cke_button cke_button__specialchar
</span>
So basically, nodes cke_37/38 should have been generated for Subscript/Superscript and everything else should have been number two further out.
Any ideas?
Check your config.js file. By
Check your config.js file. By default, in standard and basic packages config.js contains this line:
It overwrites your toolbar layout setting.
Piotrek (Reinmar) Koszuliński
CKEditor JavaScript Developer
--
CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Excellent! Thanks so much
Excellent! Thanks so much for responding. I've been working through several different versions of CKEditor (working on a skin), and didn't notice that the config.js had content in the version I was working with now.