Opened 11 years ago

Last modified 11 years ago

#10864 closed Bug

Extend widget instance only with chosen definition's properties — at Version 2

Reported by: Piotrek Koszuliński Owned by:
Priority: Normal Milestone: CKEditor 4.3
Component: General Version: 4.3 Beta
Keywords: Cc:

Description (last modified by Piotrek Koszuliński)

Currently we load all definition's properties to widget instance. We should only load init method, name and perhaps nothing more.

In some places code tries to access widget.dialog property and so on, but this should be changed to widget.definition.dialog.

Also, widget.repository and widget.definition should not come from definition object, but should be set in widget's constructor.

Change History (2)

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

Status: newconfirmed

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

Description: modified (diff)
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