Question

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

Was it helpful?

Solution

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;
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top