From 2cf68463e9bcf7a37475ffffb0b2a5eb8c7bb308 Mon Sep 17 00:00:00 2001 From: Andrew Duthie Date: Mon, 10 Apr 2017 19:41:10 -0400 Subject: [PATCH] Suppress freeform block contenteditable warning --- editor/blocks/freeform/index.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/editor/blocks/freeform/index.js b/editor/blocks/freeform/index.js index 3b442c187e34d2..0de794755a0763 100644 --- a/editor/blocks/freeform/index.js +++ b/editor/blocks/freeform/index.js @@ -12,7 +12,14 @@ wp.blocks.registerBlock( 'core/freeform', { }, edit( { attributes } ) { - return
{ attributes.html }
; + return ( +
+ { attributes.html } +
+ ); }, save( { attributes } ) {