Opened 13 years ago

Closed 13 years ago

#7753 closed New Feature (wontfix)

Provide custom toolbar labels without modifying CKEDITOR.lang.toolbarGroupss

Reported by: Damian Owned by:
Priority: Normal Milestone:
Component: Accessibility Version: 3.6
Keywords: IBM Cc: Satya Minnekanti, Teresa Monahan, James Cunningham

Description

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 (1)

comment:1 Changed 13 years ago by Garry Yao

Resolution: wontfix
Status: newclosed

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 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy