Opened 11 years ago
Last modified 11 years ago
#10864 closed Bug
Extend widget instance only with chosen definition's properties — at Initial Version
Reported by: | Piotrek Koszuliński | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 4.3 |
Component: | General | Version: | 4.3 Beta |
Keywords: | Cc: |
Description
Currently we load all definition's properties to widget instance. We should only load init
method 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.