Topbar
Topbar
Sign in
|
Join
|
Client Center
Home
Products
Client Center
Contact
Purchase
Support forums
»
Products
»
Cute Editor for PHP
»
Re: change default <div> after Carraige Return to <p> tag instead.
change default <div> after Carraige Return to <p> tag instead.
Last post 05-02-2011, 11:28 AM by
Eric
. 2 replies.
Sort Posts:
Oldest to newest
Newest to oldest
Previous
Next
05-02-2011, 6:16 AM
67396
northstjarna
Joined on 03-15-2011
Posts 10
change default <div> after Carraige Return to <p> tag instead.
Reply
Quote
Hi There,
Looked on documentation but couldn't see which file to edit to change the default <div> tag that WYSYWIG puts in to change to a <p> tag after you press return. Anyone know how to do this or which file it is?
Thanks
Andi
05-02-2011, 6:30 AM
67397
in reply to
67396
northstjarna
Joined on 03-15-2011
Posts 10
Re: change default <div> after Carraige Return to <p> tag instead.
Reply
Quote
Ok I found it with the break element property in the docs. But is there a way to set this by default in the main config files? If so which file do I amend?
Thanks
Andi
05-02-2011, 11:28 AM
67404
in reply to
67397
Eric
Joined on 08-05-2009
Posts 1,269
Re: change default <div> after Carraige Return to <p> tag instead.
Reply
Quote
Dear Andi,
Please open "\cuteeditor_files\include_CuteEditor.php", go to line 182, you will find:
$this->BreakElement="Div";
you can change it to $this->BreakElement="P";
Thank you for asking
[email protected]