Answer the question
In order to leave comments, you need to log in
Why does the paragraph button not work in the TinyMCE (Wordpress) editor?
Why does nothing happen when I click on the Paragraph button in the header of the standard wordpress editor?
Killed 4 hours of time, and could not understand why it does not work.
I checked that it does not work - in text mode. Checked on 2 sites. Gutenberg disabled by hand and plugin.
Headings are inserted.
WP 5.0.3.
functions.php:
add_filter( 'tiny_mce_before_init', 'my_format_TinyMCE' );
function my_format_TinyMCE( $in ) {
$in['extended_valid_elements'] = 'p[*]';
return $in;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question