2011-09-30, 00:23:42
Hallo mvlcek,
once more many thanks for your posting.
I'm in the process of working through it and there are three things I don't understand:
Many thanks in advance,
Alan
once more many thanks for your posting.
I'm in the process of working through it and there are three things I don't understand:
- Are you combining the default styles from the CKEditor 'contents.css' file with your own theme styles in your default.css file?
- What is the significance of the declaration of the "content" ID in the 'template.php' file?
As far as I can see, CKEditor uses its 'bodyId' parameter to set the ID of the HTML file in the editor's iframe. I would have thought that I could use this ID to make sure that the default CKEditor styles don't get applied to elements that are outside the editing window. However for this to happen the default CKEditor styles really need to have a prefix (or in the case of the body tag itself, a suffix as you show). As this works without the declaration in the template file, I'm puzzled as to what it is for.
- Do you manage to get the name of your class (in your example, that would be "Code") formatted, when it's shown in the editors "Styles box?" I'm only getting my browser's default formatting.
Many thanks in advance,
Alan
Web Developer and Translator (German > English)