CKEditor v3 not wrapping text in <p> tags when pasting into the editor
-
11-06-2021 - |
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
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