Changes between Initial Version and Version 1 of Ticket #13828, comment 5
- Timestamp:
- Oct 15, 2015, 2:42:29 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #13828, comment 5
initial v1 1 ##Initial Idea1 == Initial Idea 2 2 3 3 Actually, 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. … … 5 5 Ideas to overcome this limitation involved whitelisting allowed classes for given widget type, but it would make implementation so much more complicated. 6 6 7 ##New Idea7 == New Idea 8 8 9 9 Instead 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.