Hello,
I have written a simple widget which is wrapped by a div tag. When CK is highlighting the widget it naturally highlights this div, but looks strange, this tag has 100% width and 0px height.
See the screenshot for comparison:
Is it possible to highlight some of the inner elements instead?
regards
This is a bit tricky, because
This is a bit tricky, because when you want to float the block widget unfortunately the float must be added to the widget wrapper. You can do this e.g. in the init callback and then on every alignment change (usually in the data callback). We were trying to simplify this, but unfortunately this is what CSS gives us.
Piotrek (Reinmar) Koszuliński
CKEditor JavaScript Developer
--
CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+