Changes between Initial Version and Version 1 of Ticket #13828, comment 5


Ignore:
Timestamp:
Oct 15, 2015, 2:42:29 PM (8 years ago)
Author:
Marek Lewandowski
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13828, comment 5

    initial v1  
    1 ## Initial Idea
     1== Initial Idea
    22
    33Actually, during research @s.kups pointed out that if we'll move *all* widget elem classes to the wrapper, we'll have have a problem that classes from [https://github.com/ckeditor/ckeditor-docs-samples/blob/master/tutorial-simplebox-2/simplebox/plugin.js#L56-L60 template's main element] will be moved to wrapper no matter what. That might confuse developers that don't know too much details about widget system.
     
    55Ideas to overcome this limitation involved whitelisting allowed classes for given widget type, but it would make implementation so much more complicated.
    66
    7 ## New Idea
     7== New Idea
    88
    99Instead we're thinking about class replication to a widget wrapper. The implementation is deadly simple, it's backward compatible and it allows to easily differentiate widget's wrapper from the main element.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy