Hi community,
I 've the following problem:
I want to use p-tags for paragraphs not br. But I must change the style of these p tags. How can ckeditor create the following p-tags <p class="ckeditor">?
I tried it with
before CKEDITOR.replace -> no effect
I tried it with
in the CKEDITOR.replace besides other config-options-> no effect
Hmmm? How does it work?
Thanks for your help.
I 've the following problem:
I want to use p-tags for paragraphs not br. But I must change the style of these p tags. How can ckeditor create the following p-tags <p class="ckeditor">?
I tried it with
CKEDITOR.config.format_p= { element : 'p', attributes : { class : 'ckeditor' } }
before CKEDITOR.replace -> no effect
I tried it with
format_p: { element : 'p', attributes : { class : 'ckeditor' } }
in the CKEDITOR.replace besides other config-options-> no effect
Hmmm? How does it work?
Thanks for your help.
Re: format_p