Ticket #7753 (closed New Feature: wontfix)

Opened 4 years ago

Last modified 4 years ago

Provide custom toolbar labels without modifying CKEDITOR.lang.toolbarGroupss

Reported by: damo Owned by:
Priority: Normal Milestone:
Component: Accessibility Version: 3.6
Keywords: IBM Cc: satya, tmonahan, jamescun


Including custom toolbar labels requires adding items to CKEDITOR.lang.toolbarGroups. It would be very useful if the toolbar definition could also accept other label names.

We'd like to use something like CKEDITOR.lang.something.toolbars instead. Then we'd provide the toolbar name in the definition as :

  name : 'something.toolbars.label1' ....

If the name provided for the label doesn't match the CKEDITOR.lang.toolbargroups object, CKEditor would search the key from CKEDITOR.lang.

Change History

comment:1 Changed 4 years ago by garry.yao

  • Status changed from new to closed
  • Resolution set to wontfix

Such requirement of alias language entries is recommended to be done via the following way:

editor.on('pluginsLoaded', function(){
	var lang = editor.lang;
	lang.toolbarGroups.something = lang.something.toolbars.label1;
Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy