From 0888864e292ee1c1915fe2c77382e64e2b23ccff Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Wed, 26 Oct 2016 22:00:07 +0000 Subject: [PATCH] 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 --- src/wp-includes/class-wp-editor.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/wp-includes/class-wp-editor.php b/src/wp-includes/class-wp-editor.php index b20126f53e..916be4d9d4 100644 --- a/src/wp-includes/class-wp-editor.php +++ b/src/wp-includes/class-wp-editor.php @@ -554,16 +554,6 @@ final class _WP_Editors { // Limit the preview styles in the menu/toolbar '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, 'wpeditimage_disable_captions' => $no_captions, 'wpeditimage_html5_captions' => current_theme_supports( 'html5', 'caption' ),