Hello All,
Sorry if this is a duplicate question but I can't find a "search" feature on the CKEditor forums.
My problem is this: I'm trying to create a custom "basic" toolbar for CKEditor4 and since they switched to toolbar "groups" I'm unable to get the toolbar buttons to display the way I want.
Here's my config:
$('body').ckeditor( function() { }, {
height: '300',
width: '700',
filebrowserBrowseUrl: 'admin/fileManager/index.html',
baseHref:'/',
enterMode: CKEDITOR.ENTER_P,
shiftEnterMode: CKEDITOR.ENTER_BR,
toolbarStartupExpanded: true,
resize_dir: 'vertical',
toolbarGroups: [
{ name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
{ name: 'paragraph', groups: [ 'list' ] },
{ name: 'links' },
{ name: 'colors' },
{ name: 'insert' }
]
});
When the toolbar gets drawn, the default "links" group gets displayed which shows the link, remove link, and achor buttons. I don't want the remove link or anchor buttons to be present. Similarly, when I add the toolbar group "insert" I get a bunch of different buttons when all I want added are the special characters button and the smileys (I have the plugins downloaded).
Any help that could be offered would be most appreciated. Thanks!
What ? Can't you find the
What ? Can't you find the huge search link on the top right side of the screen :D
I spent an hour to find it myself, so if the moderators could make it ..... 10 times bigger it would avoid others missing it ;-)
See attachment ;-)
Attachments:
Haha thanks. Wow I must be
Haha thanks. Wow I must be going blind. Unfortunately that search seems limited to the web site and doesn't include the discussion forum. The documentation covers mostly CKEditor 3 and none of the docs on version 4 seem to provide an example for what I'm trying to do. Do you know how I can customize a toolbar group or point me to a working example?
Thanks
I started out from the full
I started out from the full toolbar in config.js and comment out the things I don't want in the toolbar (I do so rather than deleting in case I want them back later).
Not sure I've been consistent, but I would comment the full original "row" and edit it an copy of that line to obtain the icons I need.
Here is how it looks today:
Thanks for the info. This is
Thanks for the info. This is what worked for me to manually remove specific buttons:
I also used this page to get the names of specific buttons. The documentation should list these somewhere where they are easier to find:
http://nightly.ckeditor.com/13-04-06-14-51/standard/samples/plugins/toolbar/toolbar.html#fullToolbar