You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We already have very nice clearfixes for P and DIV, which are block level elements, and the DIV can be used to wrap other block level elements like headings.
But CKEDITOR has 3 classes of tags for applying styles, inline, block and OBJECTS. Objects are nice because the styles only appear on the object, these are things like tables, lists, etc. We found a case where LI needed a clearfix option, and probably tables and some others do too.
identify the objects that should have specific clearfixes -- somewhere there is a list of what is block and what is objects
add them to webedits' default stylesset in the config section of the .module file
We already have very nice clearfixes for P and DIV, which are block level elements, and the DIV can be used to wrap other block level elements like headings.
But CKEDITOR has 3 classes of tags for applying styles, inline, block and OBJECTS. Objects are nice because the styles only appear on the object, these are things like tables, lists, etc. We found a case where LI needed a clearfix option, and probably tables and some others do too.
example:
$stylesset[]= array('name' => 'li clearfix','element' => 'li','attributes' => array('class' => 'webedit-clearfix'));
The text was updated successfully, but these errors were encountered: