From d1f43409f7c288b908e99ecde0468defbb9aa4bd Mon Sep 17 00:00:00 2001 From: Andrew Duthie Date: Fri, 5 May 2017 13:59:59 -0400 Subject: [PATCH 1/4] Remove paragraphs from captioned content --- post-content.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/post-content.js b/post-content.js index e55d831dc6bbb..6453504581fba 100644 --- a/post-content.js +++ b/post-content.js @@ -30,7 +30,7 @@ window._wpGutenbergPost = { '', '', - '

Give it a try. Press the "really wide" button on the image toolbar.

', + '
Give it a try. Press the "really wide" button on the image toolbar.
', '', '', @@ -38,7 +38,7 @@ window._wpGutenbergPost = { '', '', - '

State of the Word 2016

', + '
State of the Word 2016
', '', '', From 745aaf0d57b248ac4664b16776fdccb95796fa28 Mon Sep 17 00:00:00 2001 From: Andrew Duthie Date: Fri, 5 May 2017 14:00:34 -0400 Subject: [PATCH 2/4] Test caption length when considering to show editable --- blocks/library/embed/index.js | 2 +- blocks/library/image/index.js | 2 +- blocks/library/quote/index.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/blocks/library/embed/index.js b/blocks/library/embed/index.js index 20cbf22484ffb..986e87b37e0df 100644 --- a/blocks/library/embed/index.js +++ b/blocks/library/embed/index.js @@ -48,7 +48,7 @@ registerBlock( 'core/embed', {