简体   繁体   中英

CKEditor v3 not wrapping text in <p> tags when pasting into the editor

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

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;

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM