I'm hoping to achieve the following, targeting Safari primarily:
When you put the cursor in a paragraph, and have not necessarily selected any text in that paragraph, you can format the entire paragraph with a selection from the Style pulldown. This is essentially the behavior of Microsoft Word or TinyMCE. I find this not happening in FCKeditor.
My styles are in fckstyles.xml, like this:
The only time I can get it to do what I want is when I switch from a P style to an H1 style to an H2 style, etc. And while I could map 6 styles to H1 thru H6, we have way more than 6 styles to deal with, so I need a way to do this with id's or class's in P tags.
Am I missing something??
Thanks for help and opinions!
When you put the cursor in a paragraph, and have not necessarily selected any text in that paragraph, you can format the entire paragraph with a selection from the Style pulldown. This is essentially the behavior of Microsoft Word or TinyMCE. I find this not happening in FCKeditor.
My styles are in fckstyles.xml, like this:
<Style name="Page Title" element="p"> <Attribute name="class" value="pageTitle" /> </Style> <Style name="Page Name" element="p"> <Attribute name="id" value="pageName" /> </Style> <Style name="Restaurant" element="p"> <Attribute name="class" value="menuRestaurant" /> </Style>
The only time I can get it to do what I want is when I switch from a P style to an H1 style to an H2 style, etc. And while I could map 6 styles to H1 thru H6, we have way more than 6 styles to deal with, so I need a way to do this with id's or class's in P tags.
Am I missing something??
Thanks for help and opinions!