From 95720f3b7cf62b5a275499f41bb967a30b3c8944 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Wed, 26 Oct 2016 22:01:33 +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. Built from https://develop.svn.wordpress.org/trunk@38970 git-svn-id: http://core.svn.wordpress.org/trunk@38913 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-editor.php | 10 ---------- wp-includes/version.php | 2 +- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/wp-includes/class-wp-editor.php b/wp-includes/class-wp-editor.php index b20126f53e..916be4d9d4 100644 --- a/wp-includes/class-wp-editor.php +++ b/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' ), diff --git a/wp-includes/version.php b/wp-includes/version.php index b2a58efc70..cec45083bb 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.7-alpha-38969'; +$wp_version = '4.7-alpha-38970'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.