Thread Starter
q3dm0
(@q3dm0)
function change_mce_options($init){
$init[“forced_root_block”] = false;
$init[“force_br_newlines”] = true;
$init[“force_p_newlines”] = false;
$init[“convert_newlines_to_brs”] = true;
return $init;
}
add_filter(‘tiny_mce_before_init’,’change_mce_options’);
this fix lets work, but it don`t work anymore in wordpress version 5.7.2
how i fixit this problem???????????????????????????????????
Hi @q3dm0
The < p > tags and & nbsp characters are added during the TinyMCE init with a filter called wpautop.
Try adding this to your filter:
$init['wpautop'] = false;
Thread Starter
q3dm0
(@q3dm0)
Very interesting, whata f…??? now I want add my text with tag <p>dsfdfsds</p>, but switch visual/text, my text transforms to dsfdfsds! can I insert text with tags normally and it doesn’t change when switching? it very pissed off
Thread Starter
q3dm0
(@q3dm0)
this stupid tiny mce/wordpress editor spoils everything
Thread Starter
q3dm0
(@q3dm0)
I think that the topic can be closed, thanks to normal developers, not like wordpress developers who cannot solve this problem, swinging from version to version for example in version 5.7.2 this problem stayed, I can call their ass-hands (рукожопы)
this plugin all fix it bugs wysiwig full shit editor
Preserved HTML Editor Markup Plus
Thread Starter
q3dm0
(@q3dm0)
thanks to support who cannot advise a normal solution!