In FCKeditor Developer's Guide, there is a page explaining how to custom the styles.
Any new styles I added to fckstyles.xml will be added to the "Style" dropdown menu, even if they are block level styles.
Say, I want to add an indented paragraph with borders, I add this to the fckstyles.xml:
<Style name="Boxed Paragraph" element="p">
<Attribute name="class" value="boxed" />
</Style>
Then I add the follow css to my style.css:
p.boxed {
padding:5px 20px;
margin-right:10px;
border:1px dashed;
}
Then refresh your browser cache to see the new style in the FCKeditor's "Style" dropdown.
Recent comments
2 weeks 5 days ago
3 weeks 6 days ago
7 weeks 4 days ago
32 weeks 4 days ago
33 weeks 3 days ago
44 weeks 3 days ago
45 weeks 6 days ago
1 year 2 weeks ago
1 year 2 weeks ago
1 year 3 weeks ago