I made a little plugin to change (for example) all
headings 1 in a document to headings 2.
I needed this one because people who edit the content
in my CMS should be able to easily add some valid
markup to documents.
I hope this one is of some use for anyone.
Furthermore (but this one isn't enclosed in the plugin) i
use myselve some changes to the fck_editorarea.css.
I added these lines:
h1 {
font-size: 100%;
background: #efefef url
(../FCKeditor/editor/images/h1.gif) 100% no-repeat;
}
h2 {
font-size: 100%;
background: #efefef url
(../FCKeditor/editor/images/h2.gif) 100% no-repeat;
}
h3 {
font-size: 100%;
background: #efefef url
(../FCKeditor/editor/images/h3.gif) 100% no-repeat;
}
h4 {
font-size: 100%;
background: #efefef url
(../FCKeditor/editor/images/h4.gif) 100% no-repeat;
}
h5 {
font-size: 100%;
background: #efefef url
(../FCKeditor/editor/images/h5.gif) 100% no-repeat;
}
h6 {
font-size: 100%;
background: #efefef url
(../FCKeditor/editor/images/h6.gif) 100% no-repeat;
}
Since in the editorscreen it is not visible which part is a
heading and which not, these lines provide all heading
with a little grey background and add a little image to it.
Those six images are enclosed is the zip-file. You can
find them in the folder called 'images'.
ChangeHeading