WordPress.org

Forums

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

  1. Marco
    Member
    Posted 1 year 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. Ella Iseulde Van Dorpe
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks, I'll look into this later.

  3. bhagwad
    Member
    Posted 1 year 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. Ella Iseulde Van Dorpe
    Member
    Plugin Author

    Posted 1 year ago #

    Is this fixed now for both of you? Thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Front-end Editor
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.