TinyMCE: after chats in #core-editor and #desing on Slack, the decision is to not remove Heading 1 for beta1.
See #38049. git-svn-id: https://develop.svn.wordpress.org/trunk@38970 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
0beb2ef213
commit
0888864e29
@ -554,16 +554,6 @@ final class _WP_Editors {
|
|||||||
// Limit the preview styles in the menu/toolbar
|
// Limit the preview styles in the menu/toolbar
|
||||||
'preview_styles' => 'font-family font-size font-weight font-style text-decoration text-transform',
|
'preview_styles' => 'font-family font-size font-weight font-style text-decoration text-transform',
|
||||||
|
|
||||||
// Disable H1 in the drop-down and the menu.
|
|
||||||
'block_formats' =>
|
|
||||||
'Paragraph=p;' .
|
|
||||||
'Heading 2=h2;' .
|
|
||||||
'Heading 3=h3;' .
|
|
||||||
'Heading 4=h4;' .
|
|
||||||
'Heading 5=h5;' .
|
|
||||||
'Heading 6=h6;' .
|
|
||||||
'Preformatted=pre',
|
|
||||||
|
|
||||||
'end_container_on_empty_block' => true,
|
'end_container_on_empty_block' => true,
|
||||||
'wpeditimage_disable_captions' => $no_captions,
|
'wpeditimage_disable_captions' => $no_captions,
|
||||||
'wpeditimage_html5_captions' => current_theme_supports( 'html5', 'caption' ),
|
'wpeditimage_html5_captions' => current_theme_supports( 'html5', 'caption' ),
|
||||||
|
Loading…
Reference in New Issue
Block a user