Log in or register to post comments
Last post
Where to config output format?
Hi

I'm using CKEditor 3.2.1 in Pulse CMS. Found a lot of tipps in the docs.
But now I like to change the look of the source code.
My code looks like this (with a lot of space):
<p class="termine">
   Kurs L001</p>


So I understand, it's possible to change this with "html writer"
Like to get my source like this:
<p class="termine">Kurs L001</p>


But I don't understand, how and where to do this configuration.
Could anyone explain this, please?

Thanks Manfred
Re: Where to config output format?
The page you linked to explains in "Setting Writer Rules"

If that explanation doesn't make sense, read up on ckeditor's event system. You wait until the instanceReady event fires so all the default rules are in place, then modify them to suit your liking.