Support » Plugin: Front-end Editor for WordPress » Paragraphs gone

  • Resolved Mal

    (@looimaster)


    In editing mode paragraphs are gone and hitting “enter” duplicates “div” instead of creating another paragraph.

    I think that it may be happening somewhere here:

    public function the_content( $content ) {
    
    	global $post;
    
    	$content = $post->post_content;
    	$content = str_replace( '<!--nextpage-->' , esc_html( '<!--nextpage-->' ) , $content );
    	$content = '<div id="fee-edit-content-' . $post->ID . '" class="contenteditable">' . $content . '</div>';
    
    	return $content;
    
    }

    http://wordpress.org/plugins/wp-front-end-editor/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ella Van Dorpe

    (@iseulde)

    Thanks, I’ll look into this later.

    Same problem here. If I want to edit an existing post, the paragraphs vanish.

    Though if I create the paragraphs again using the front end editor and edit the post again, the paras remain where they are. Changing it in the editor adds an extra <p></p>

    Plugin Author Ella Van Dorpe

    (@iseulde)

    Is this fixed now for both of you? Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Paragraphs gone’ is closed to new replies.