Frage

Is it possible to force CKEditor HTML Editor to wrap Paragraph tags around content when pasting in text into the editor?

I am running version 3.6.1

War es hilfreich?

Lösung

Well that's different. Usually people want to turn off forced <p> tags, not turn them on, because they are turned on by default in CKEditor. Try using this code in config.js:

config.enterMode = CKEDITOR.ENTER_P;
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top