WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Front-end Editor
[resolved] Paragraphs gone (4 posts)

  1. Looimaster
    Member
    Posted 11 months ago #

    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/

  2. Janneke Van Dorpe
    Member
    Plugin Author

    Posted 9 months ago #

    Thanks, I'll look into this later.

  3. bhagwad
    Member
    Posted 8 months ago #

    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>

  4. Janneke Van Dorpe
    Member
    Plugin Author

    Posted 7 months ago #

    Is this fixed now for both of you? Thanks.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.