Hi Forum,
I use CKEditor in a CMS environment. I want to add/use my user-defined CSS stylesheets for the CMS output.
Unfortunately ckEditor outputs style-Tags instead class-Tag. So if you I assign a certain style to a text, the source says:
But what I need is
with the linked stylesheet containing
I know this feature from the RTE in TYPO3. How can I use this with ckEditor (and maybe a plugin)? ;=)
Thanks for any help
Regards
kk3003
I use CKEditor in a CMS environment. I want to add/use my user-defined CSS stylesheets for the CMS output.
Unfortunately ckEditor outputs style-Tags instead class-Tag. So if you I assign a certain style to a text, the source says:
<div style="font-size:12px;background-color:#00ff00;">test</p>for instance.
But what I need is
<p class="myStyle">test</p>
with the linked stylesheet containing
.myStyle { font-size:12px;background-color:#00ff00; }
I know this feature from the RTE in TYPO3. How can I use this with ckEditor (and maybe a plugin)? ;=)
Thanks for any help
Regards
kk3003
Re: User-defined CSS and style assignments
Please, read the FAQ
Re: User-defined CSS and style assignments
Before I read the section, it is generally possible, or?
Re: User-defined CSS and style assignments
I'm having a problem with this too...
I have this defined class
The 'Div smecher' appeared in styles section, but when using it, it does not have any style....
And I'm trying to edit and get the actual style of myClass right in the editor...
I'm loading it like this:
I added a class named myClass in contents.css
Is it possible to load the actual style of a class directly in the editor?
Thank you..