ckeditor options
ckeditor options
I am using ckeditor plugin within editor, but for a particular instance of it, i do not want to wrap the content in <paragraph> tags, which it does by default.
is there a way of setting this ie config.autoParagraph = false; on a specific instance ?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Currently no the existing plug-in. It looks like it would need an extra option which would be passed into CKEditor. It looks like you could add a second parameter into the
CKEDITOR.replace()
call which would give the required options (from quickly scanning the CKEditor documentation).Allan
Adding:
will do it.
opts
isundefined
by default, so you could then just add the options object with parameter that match the CKEditor documentation. I'll include that in the next site update for that plug-in. Thanks for flagging it up.Allan
Cheers for the fast response allan.