Pregunta

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

¿Fue útil?

Solución

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;
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top