No line breaks inside WordPress MCE (editor)

Something that I have noticed is in the MCE editor in WordPress when using ENTER multiple times the editor doesn’t save this. It just is one line break.

What could be the cause of this and how do I resolve it?

Related posts

3 comments

  1. Shift+Enter(windows)/Shift+Return(mac) in WYSIWYG editor usually inserts one <br/> tag.

  2. set the following in the js/tinymce/tiny_mce.js file (if you are using Tiny MCE)

    this.defParam("force_br_newlines", true);
    this.defParam("force_p_newlines", false);
    this.defParam("convert_newlines_to_brs", true);
    
  3. Try going into the text editor (not WYSIWYG) and try a (br) tag. Look what happens otherwise try

    for two breaks.

Comments are closed.