Currently it is possible to have two toolbars. However, it is impossible to have more.

Another problem is the settings. Now with only one ckeditor.config.js, I have to load all plugins used in any toolbar. Each plugin adds 2-3 or more HTTP requests. If most of the time, I just need a simple toolbar, it gives unnecessary overhead.

Thus, it would be nice to have separate settings for each toolbar.

As I can't modify the description of #756286: How to use different toolbar setups on different fields, I create this new issue.

Comments

dczepierga’s picture

Status: Active » Postponed
Issue tags: +6.x-2.0

I think configuration of new toolbars will be in one of next releases of CKEditor.

wwalc’s picture

Status: Postponed » Active
Issue tags: +#d7ux, +ckeditor-7.x

Looks like this is something we may easily add to D7.

Definitely it would be nice to have the ability to set a different toolbar for each input format.

The toolbar could be defined in the CKEditor profile (a visual tool like we have now in Joomla! would be nice ;-), but let's perhaps have a simple textarea for now with some reasonable validation).

In other words we need a textarea where I could paste something like:

[['Source'],['Cut','Copy','Paste','PasteText','PasteFromWord','-','SpellChecker', 'Scayt'],['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],['Maximize', 'ShowBlocks'],'/',['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],['NumberedList','BulletedList','-','Outdent','Indent','Blockquote','CreateDiv'],['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],['BidiLtr', 'BidiRtl' ],['Link','LinkBrowser','Unlink','Anchor'],'/',['Format','Font','FontSize'],['TextColor','BGColor'],['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar']]

With that change we could get rid of toolbar configuration (config.toolbar_DrupalFiltered) etc. from ckeditor.config.js.

@jcisio - could you create a separate issue for better plugin configuration?

jcisio’s picture

wwalc’s picture

Assigned: Unassigned » dczepierga
dczepierga’s picture

I made toolbar configuration for each profile. It's comitted to CVS.

Only validation of written toolbar config is needed - #976968: Toolbar config validation in profile

dczepierga’s picture

Status: Active » Fixed
Issue tags: -6.x-2.0 +D7

Change status

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

jcisio’s picture

Status: Closed (fixed) » Active

I don't know how could I have missed it ;-)

#5 Toolbar per profile is just a subset of multiple toolbar. Currently one role could have only one profile ie. one toolbar. With multiple toolbar, one role can have many toolbars (one in the full node edit page, another simple toolbar in the comment textarea etc.). This feature request is about something like the "Simplified toolbar" in the global profile, but many instead of one simplified toolbar.