From 1ad0cff9430c4db7bc6ebbeabe0bac76ad3541ad Mon Sep 17 00:00:00 2001 From: Mario Zorz Date: Fri, 30 Oct 2020 11:55:56 -0300 Subject: [PATCH 1/3] move the setupJetpackEditor() call fr om to action --- src/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/index.js b/src/index.js index c7051c9c86..ae8211544d 100644 --- a/src/index.js +++ b/src/index.js @@ -17,6 +17,9 @@ import initialHtml from './initial-html'; addAction( 'native.pre-render', 'gutenberg-mobile', ( props ) => { require( './strings-overrides' ); correctTextFontWeight(); +} ); + +addAction( 'native.render', 'gutenberg-mobile', ( props ) => { setupJetpackEditor( props.jetpackState || { blogId: 1, isJetpackActive: true } ); From 67d6fc3687595ec353a7e0ff3af5b249f34b9aa5 Mon Sep 17 00:00:00 2001 From: Mario Zorz Date: Fri, 30 Oct 2020 12:24:25 -0300 Subject: [PATCH 2/3] updated gutenberg commit hash --- gutenberg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gutenberg b/gutenberg index 520d6491d0..5ea6a7e33e 160000 --- a/gutenberg +++ b/gutenberg @@ -1 +1 @@ -Subproject commit 520d6491d032d30dbc6dff874758bf770060e254 +Subproject commit 5ea6a7e33e13b1ea507bd7b47e49e94295b11420 From 4d378dcbab283f30c19211c299dfa8d873a54cf6 Mon Sep 17 00:00:00 2001 From: Mario Zorz Date: Tue, 3 Nov 2020 17:51:04 -0300 Subject: [PATCH 3/3] removed unused param --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index ae8211544d..082bcea445 100644 --- a/src/index.js +++ b/src/index.js @@ -14,7 +14,7 @@ import correctTextFontWeight from './text-font-weight-correct'; import setupJetpackEditor from './jetpack-editor-setup'; import initialHtml from './initial-html'; -addAction( 'native.pre-render', 'gutenberg-mobile', ( props ) => { +addAction( 'native.pre-render', 'gutenberg-mobile', () => { require( './strings-overrides' ); correctTextFontWeight(); } );