• Resolved saramb2015

    (@saramb2015)


    Hi,

    I start my project with other visual editor that is visual composer.
    Now, I need modificated the style for excerpt and I recommended me that installed the rich text excerpts and tiny advanced plugin.

    My ask is… this plugin is compatible with this other plugins?
    – Visual composer
    – Rich text excerpts

    Thank

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Andrew Ozz

    (@azaozz)

    As far as I know Visual composer has problems when wpautop is turned off in WordPress (this is the part that replaces paragraph tags with line breaks).

    In TinyMCE Advanced you can do that with the “Keep paragraphs…” setting, so if you experience compatibility problems make sure to turn this option off.

    Hi Andrew.

    Is there’s a way to keep line breaks but not paragraph.
    I tried to use :

    
    function my_mce_before_init( $styles ) {
    	$styles['remove_linebreaks'] = false;
    	$styles['convert_newlines_to_brs'] = true;
    	$styles['remove_redundant_brs'] = false;
    	return $styles;
    }
    add_filter( 'tiny_mce_before_init', 'my_mce_before_init');
    

    in my “functions.php” but with no luck…

    I don’t want to keep paragraph because it “corrupt” my code, but will be happy to keep my “manuals” line break ;).

    TIA,

    Pierre.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Tiny advanced paragraph excerpt’ is closed to new replies.