change default <div> after Carraige Return to <p> tag instead.

Last post 05-02-2011, 11:28 AM by Eric. 2 replies.
Sort Posts: Previous Next
  •  05-02-2011, 6:16 AM 67396

    change default <div> after Carraige Return to <p> tag instead.

    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

    Re: change default <div> after Carraige Return to <p> tag instead.

    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

    Re: change default <div> after Carraige Return to <p> tag instead.

    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
View as RSS news feed in XML