Opened 9 years ago

Last modified 9 years ago

#12576 confirmed Task

Widget Tutorials - custom toolbars

Reported by: Brett Gardner Owned by:
Priority: Normal Milestone:
Component: Documentation & Samples Version:
Keywords: Cc:

Description (last modified by Piotrek Koszuliński)

The tutorials for adding custom widgets do not mention using them with custom tool bars

eg if you add a widget with

editor.widgets.add('foo', {
,button:'Add foo'

config = {

Then the 'Foo' plugin will NOT appear on the toolbar also any 'foo' attributes will be stripped from spans

I have discovered, after a great deal of lost time that the command is auto generated from the widget name by uppercasing the first letter and lowercasing the rest

eg changing the toolbar definition to


Attachments (1)

broken-widget.html (1.2 KB) - added by Brett Gardner 9 years ago.

Download all attachments as: .zip

Change History (4)

Changed 9 years ago by Brett Gardner

Attachment: broken-widget.html added

comment:1 Changed 9 years ago by Piotrek Koszuliński

Description: modified (diff)

comment:2 Changed 9 years ago by Piotrek Koszuliński

Description: modified (diff)

comment:3 Changed 9 years ago by Piotrek Koszuliński

Status: newconfirmed

It makes sense to mention that. Thanks for reporting.

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