Support » Plugin: Preserved HTML Editor Markup » Best plugin ever !!

  • I would send this guy a million if I had! Best plugin ever ever!

    I was trying to solve that tinymce madness of removing all <p>s or adding <p>s everywhere ! This was driving me crazy!

    These codes didn’t do it! When I switched back from html to visual tab, bam, the html tags were messed again! Very annoying thing from tinymce!!

    remove_filter( 'the_content', 'wpautop' );
    remove_filter( 'the_excerpt', 'wpautop' );
    
    function tinymce_config( $init ) {
    
    	$init['force_br_newlines']       = 'false';
        $init['force_p_newlines']        = 'true';
        $init['convert_newlines_to_brs'] = 'false';
    	$init['forced_root_block']       = 'false';
    
       return $init;
    }
    //add_filter( 'tiny_mce_before_init', 'tinymce_config' );

    Only this plugin of yours solved the problem !

    Your code must be inserted in the core, mr marcuspope !! It’s a must have!

    I have no words to thank you for this plugin! I’d give you a million dollar if I could!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Just for the record, the code that mangles everything isn’t part of TinyMCE, it’s WordPress code giving TinyMCE a bad name. TinyMCE is innocent!

    Hi Yammy,

    I am using Preserved HTML Editor Marup as well as PS Disable Auto Formatting plugin in my site.
    The code to remove_filter that you have mentioned has to be there in function.php or not ?

    Thread Starter yammy

    (@yammy)

    yes, in my functions i have all the code above, including the remove filters.

    And you have both the above mentioned plugins enabled ?
    And whats your setting for Configure New Line Behavior Per Post Type under Settings > Writing

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Best plugin ever !!’ is closed to new replies.