Hi again!
As I got such a good help last time, I just try again:
The Problem:
I edited the fckstyles.xml to add some custon style-classes like ".meinstyle" for example.
I added the following code to the *.xml-File:
==
<Style name="MeinStyle" element="span">
<Attribute name="class" value="meinstyle" />
</Style>
==
Then I added
==
.meinstyle {
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 24px;
}
==
to the "fck_editorarea.css" where I found the Style-Definitions of ".Code".
After I refreshed the xml-file the "meinstyle" appeared in the Styles-List of Sample01-Editor.
After choosing "meinstyle" the editor adds "<span style="meinstyle">text</span>" to the Source, but the style doesn't change.
Where do I have to add the values for ".meinstyle"-class?
Thank You!
As I got such a good help last time, I just try again:
The Problem:
I edited the fckstyles.xml to add some custon style-classes like ".meinstyle" for example.
I added the following code to the *.xml-File:
==
<Style name="MeinStyle" element="span">
<Attribute name="class" value="meinstyle" />
</Style>
==
Then I added
==
.meinstyle {
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 24px;
}
==
to the "fck_editorarea.css" where I found the Style-Definitions of ".Code".
After I refreshed the xml-file the "meinstyle" appeared in the Styles-List of Sample01-Editor.
After choosing "meinstyle" the editor adds "<span style="meinstyle">text</span>" to the Source, but the style doesn't change.
Where do I have to add the values for ".meinstyle"-class?
Thank You!
RE: Edit CSS-Styles
RE: Edit CSS-Styles
Thank you.
RE: Edit CSS-Styles
RE: Edit CSS-Styles
Frederico Knabben
CKEditor Project Lead and CKSource Owner
--
Follow us on: Twitter | Facebook | Google+ | LinkedIn
RE: Edit CSS-Styles
RE: Edit CSS-Styles