Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Dec 04, 2011 09:28 AM by yadiermolina
Member
380 Points
204 Posts
Dec 03, 2011 12:20 PM|LINK
Hi Guys,
I am working with CKEditor, however when clients use the editor the output frequently contains <div> tags instead of <p>. Which is a problem with my CSS. Do you know how to solve this? Thanks!
All-Star
16320 Points
2773 Posts
Dec 03, 2011 02:25 PM|LINK
Hi
http://dev.ckeditor.com/ticket/1464
http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.enterMode
Participant
1663 Points
320 Posts
Dec 03, 2011 03:35 PM|LINK
USe the enterMode config property
CKEDITOR.config.enterMode = CKEDITOR.ENTER_P
Read below more
http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html
http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.shiftEnterMode
Dec 04, 2011 09:28 AM|LINK
thanks Guys!
yadiermolina
Member
380 Points
204 Posts
Working with CKeditor
Dec 03, 2011 12:20 PM|LINK
Hi Guys,
I am working with CKEditor, however when clients use the editor the output frequently contains <div> tags instead of <p>. Which is a problem with my CSS.
Do you know how to solve this?
Thanks!
abiruban
All-Star
16320 Points
2773 Posts
Re: Working with CKeditor
Dec 03, 2011 02:25 PM|LINK
Hi
http://dev.ckeditor.com/ticket/1464
http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.enterMode
***DON'T FORGET TO CLICK “MARK AS ANSWER” ON THE POST IF HELPED YOU.
Rohit Kukret...
Participant
1663 Points
320 Posts
Re: Working with CKeditor
Dec 03, 2011 03:35 PM|LINK
USe the enterMode config property
Hope this helps, if it does then mark it as answer
Rohit
blog sweet blog
yadiermolina
Member
380 Points
204 Posts
Re: Working with CKeditor
Dec 04, 2011 09:28 AM|LINK
thanks Guys!