Style Selection checking of parent elements
|Reported by:||Dortamur||Owned by:||garry.yao|
|Component:||Core : Styles||Version:|
The Styles Configuration functionality almost does what I require. What I'd like to be able to do is define several styles, using classes, to be assigned to tables, table rows, and table cells. I can get it working, but only with tables, and only in IE.
Why not walk up the DOM when checking the Styles context sensitivity, and allow the application of styles to parent elements (just the first tag-matching parent)?
In this way, simply putting my cursor anywhere within a td would allow me to change the style of that parent td, the parent row, the parent table, etc...
I've seen this functionality in similar WYSIWYG HTML editors, and it'd be great in FCKEditor.
Change History (10)
comment:6 Changed 6 years ago by garry.yao
- Owner set to garry.yao
- Status changed from new to assigned