From d50145db31fe71f02f12d08d208b5892e8d90181 Mon Sep 17 00:00:00 2001 From: Rosa Maggi Date: Mon, 11 Nov 2024 16:14:28 +0100 Subject: [PATCH] [fix] `tagName="div" multiline="p"` --> `tagName="p"` As per documentation here, ` multiline="p"` has been deprecated. We should change the RichText into InnerBlock: - https://github.com/WordPress/gutenberg/issues/59318 - https://dlxplugins.com/tutorials/say-goodbye-to-richtext-multiline-how-to-use-innerblocks-instead/ - https://github.com/DLXPlugins/DLXRichText/blob/innerblocks/src/blocks/dlxrichtext/edit.js --- src/epfl-contact/index.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/epfl-contact/index.js b/src/epfl-contact/index.js index 8b990ab7..959e0f06 100644 --- a/src/epfl-contact/index.js +++ b/src/epfl-contact/index.js @@ -145,8 +145,7 @@ registerBlockType( 'epfl/contact', {