Ticket #265 (closed New Feature: fixed)
Add attribute to fckstyles.xml to indicate that a style should "not" be wrapped
| Reported by: | someozi | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | FCKeditor 2.5 Beta |
| Component: | Core : Styles | Version: | FCKeditor 2.4 |
| Keywords: | Cc: |
Description
This is from the "styles configuration" page of the wiki => "We can also combine many styles over the same selection."
Wouldn't it be useful to have an extra attribute of the <Style> XML tag in the fckstyles.xml (or your custom fckstyles.xml) that would control whether that style would allow nesting or whether it would "replace" any other style applied to the line (like the fontformat does). eg, <Style name="Title H3" element="h3" replace="true" />
Thankfully since our organisation site does not use classes or other tag attributes much, I actually ended up using the fontformat list entirely in lieu of the styles, even though it's more basic. I found the nesting of the styles a problem rather than useful feature for our site; and although I discovered you can un-apply styles by reselecting them, I'm not sure that is very intuitive.