Hey you guys, first of all, thank you very much for the great work.!!!
Now to my question. I just installed FCKEditor 2.6.6 as the Mediawiki extension. I edited fckstyles.xml and added this
The Style now shows up in the dropdown styles menu and is rendered correctly in the editor:
When I save the file the information is lost and the div is not saved. The "Test"-String is saved but the surrounding div gets lost. It also gets lost when I preview my changes. Do you have an idea how I can solve the problem? What am I doing wrong?
Thanks a lot.
Martin
Now to my question. I just installed FCKEditor 2.6.6 as the Mediawiki extension. I edited fckstyles.xml and added this
<Style name="Infobox 3" element="div"> <Style name="background-color" value="#A7C1F2" /> <Style name="border" value="solid 2px #99B3FF" /> <Style name="width" value="200px" /> <Style name="padding-left" value="50px" /> <Style name="background" value="url('css/images/fck_flashlogo.gif') #A7C1F2 no-repeat" /> </Style>.
The Style now shows up in the dropdown styles menu and is rendered correctly in the editor:
<div style="border: 2px solid rgb(153, 179, 255); width: 200px; padding-left: 50px; background: url("css/images/fck_flashlogo.gif") no-repeat scroll 0% 0% rgb(167, 193, 242);"> <span style="font-weight: bold;">Test</span> </div>
When I save the file the information is lost and the div is not saved. The "Test"-String is saved but the surrounding div gets lost. It also gets lost when I preview my changes. Do you have an idea how I can solve the problem? What am I doing wrong?
Thanks a lot.
Martin