• 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;
    
    }

    https://www.ads-software.com/plugins/wp-front-end-editor/

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

    (@ellatrix)

    Thanks, I’ll look into this later.

    bhagwad

    (@bhagwad)

    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

    (@ellatrix)

    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.