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

    (@emarket-design)

    We’re not aware of this issue and can not replicate it. The plugin does not have specific functionality to minimize code either.

    It’s happening to me too. I narrowed down 32 plugins to this one.
    Naturally it was the last one, seeing as the name begins with a “Y”.
    ..had to laugh.

    Could it be any of these?

    class-install-deactivate.php

    
    public function tinymce_fix($init) {
    	$init['wpautop'] = false;
    	return $init;
    }
    

    wysiwyg.php

    
    static function value( $new, $old, $post_id, $field )	{
    	if($field['raw']) {
    		$meta = $new;
    	} else if( $field['clone'] ) {
    		$meta = array_map( 'wpautop', $new );
    	} else {
    		$meta = wpautop( $new );
    	}
    	return $meta;
    }
    
    Plugin Author emarket-design

    (@emarket-design)

    Thanks for reporting the issue.

    I think wpautop was introduced to minimize white space when the text is saved with a hope that it will improve page loads. It looks like it messed up the readability of HTML in text mode. We will remove it in the next release.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘This plugin enabled breaks text editor’ is closed to new replies.