From 81eb47ebebef144199f98ae0269f694744fcec0e Mon Sep 17 00:00:00 2001 From: Tugdual de Kerviler Date: Tue, 6 Aug 2019 14:10:23 +0200 Subject: [PATCH 01/15] Update gutenberg ref --- gutenberg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gutenberg b/gutenberg index 088b1bb0d3..bc94b51f1e 160000 --- a/gutenberg +++ b/gutenberg @@ -1 +1 @@ -Subproject commit 088b1bb0d3c72ac67e3f9ec28f09ebbcd02684ad +Subproject commit bc94b51f1e06e3e0186cf4704115cea55d7483fb From 50b87ca1d926445485596b5a84b4956ebd525323 Mon Sep 17 00:00:00 2001 From: Tugdual de Kerviler Date: Tue, 6 Aug 2019 14:10:57 +0200 Subject: [PATCH 02/15] REMOVE ME: MediaText template for testing --- src/initial-html.js | 207 ++++---------------------------------------- 1 file changed, 17 insertions(+), 190 deletions(-) diff --git a/src/initial-html.js b/src/initial-html.js index c71e92762a..702ff1d3be 100644 --- a/src/initial-html.js +++ b/src/initial-html.js @@ -4,206 +4,33 @@ */ export default ` - -
- - - -
- - - -Hello World - - - -

What is Gutenberg?

- - -

Hello World!

- - - - - - - -

-Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer tempor tincidunt sapien, quis dictum orci sollicitudin quis. Proin sed elit id est pulvinar feugiat vitae eget dolor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

- - - - -
if name == "World":
-    return "Hello World"
-else:
-    return "Hello Pony"
- - - - - - - -Лорем ипсум долор сит амет, адиписци трацтатос еа еум. Меа аудиам малуиссет те, хас меис либрис елеифенд ин. Нец ех тота деленит сусципит. Яуас порро инструцтиор но нец. - - - -

It’s a whole new way to use WordPress. Try it right here!

- - - -
- - - -
- - - -

We call the new editor Gutenberg. The entire editing experience has been rebuilt for media rich pages and posts. Experience the flexibility that blocks will bring, whether you are building your first site, or write code for a living.

- - - - - - - - - - - - - - - -

Gutenberg is available as a plugin now, and soon by default in version 5.0 of WordPress. The classic editor will be available as a plugin if needed.

- - - - - - - -

Meet your new best friends, Blocks

- - - -

Blocks are a great new tool for building engaging content. With blocks, you can insert, rearrange, and style multimedia content with very little technical knowledge. Instead of using custom code, you can add a block and focus on your content.

- - - -
- - - -

Without being an expert developer, you can build your own custom posts and pages. Here’s a selection of the default blocks included with Gutenberg:

- - - - - - - - - - - -

Be your own builder

- - - -

A single block is nice—reliable, clear, distinct. Discover the flexibility to use media and content, side by side, driven by your vision.

+

This is an example page. It's different from a blog post because it will stay in one place and will show up in your site navigation (in most themes). Most people start with an About page that introduces them to potential site visitors. It might say something like this:

- -
- - - - - - - -

Gutenberg ❤️ Developers

- - - -
-
-

Built with modern technology.

+ +
+

Hello World

- -

Gutenberg was developed on GitHub using the WordPress REST API, JavaScript, and React.

- - - -

Learn more

-
- - - -
-

Designed for compatibility.

- - - -

We recommend migrating features to blocks, but support for existing WordPress functionality remains. There will be transition paths for shortcodes, meta-boxes, and Custom Post Types.

- - - -

Learn more

-
-
- - - - - - - -

The editor is just the beginning

- - - -

Gutenberg is more than an editor. It’s also the foundation that’ll revolutionize customization and site building in WordPress.

+ +

Bla bla bla Bla bla bla Bla bla bla Bla bla bla Bla bla bla Bla bla bla Bla bla bla Bla bla bla

- -

"This will make running your own blog a viable alternative again."

Adrian Zumbrunnen
- + +
  • Item 1
  • Item 2
  • Item 3
+ - -

"The web up until this point has been confined to some sort of rectangular screen. But that is not how it’s going to be. Gutenberg has the potential of moving us into the next time."

Morten Rand-Hendriksen
- + + +
+ - -

"The Gutenberg editor has some great assets that could genuinely help people to write better texts."

Marieke van de Rakt
+ +

Hi there! I'm a bike messenger by day, aspiring actor by night, and this is my website. I live in Los Angeles, have a great dog named Jack, and I like piña coladas. (And gettin' caught in the rain.)

- - - - - - - - - -

Gutenberg is available as a plugin today, and will be included in version 5.0 of WordPress. The classic editor will be available as a plugin if needed.

+ +

...or something like this:

- - - - - - -

Dig in deeper

- - - - - `; From 636b8222a46e0dc095a969e167962303498fe72c Mon Sep 17 00:00:00 2001 From: Tugdual de Kerviler Date: Thu, 8 Aug 2019 16:35:51 +0200 Subject: [PATCH 03/15] Update gutenberg ref after rebase --- gutenberg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gutenberg b/gutenberg index bc94b51f1e..02f9bb7bfc 160000 --- a/gutenberg +++ b/gutenberg @@ -1 +1 @@ -Subproject commit bc94b51f1e06e3e0186cf4704115cea55d7483fb +Subproject commit 02f9bb7bfc191f7cb8f7e2164f157c1118b155af From 8ce33f0bae67079a8687fc9923f3efd549475b5a Mon Sep 17 00:00:00 2001 From: Tugdual de Kerviler Date: Wed, 14 Aug 2019 14:02:27 +0200 Subject: [PATCH 04/15] Update gutenberg --- gutenberg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gutenberg b/gutenberg index 2ef9cff6f7..7dc86a44b0 160000 --- a/gutenberg +++ b/gutenberg @@ -1 +1 @@ -Subproject commit 2ef9cff6f77941d787795d9489548450bc5fb442 +Subproject commit 7dc86a44b0a11b3cd077c5b29049c054a61ed0bf From d01a6549fd70f6e534984d15b6ff023d2cc7fc95 Mon Sep 17 00:00:00 2001 From: Tugdual de Kerviler Date: Wed, 14 Aug 2019 16:39:57 +0200 Subject: [PATCH 05/15] Update gutenberg ref --- gutenberg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gutenberg b/gutenberg index 7dc86a44b0..f6df91a6e9 160000 --- a/gutenberg +++ b/gutenberg @@ -1 +1 @@ -Subproject commit 7dc86a44b0a11b3cd077c5b29049c054a61ed0bf +Subproject commit f6df91a6e914e28f5463ee830936ed1823aa9ed1 From d40f99f04388dd774a28a42195a0cfe6b366cc6d Mon Sep 17 00:00:00 2001 From: Pinar Olguc Date: Fri, 23 Aug 2019 11:43:05 +0300 Subject: [PATCH 06/15] Update subrepo ref --- gutenberg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gutenberg b/gutenberg index f6df91a6e9..f91fd8a0da 160000 --- a/gutenberg +++ b/gutenberg @@ -1 +1 @@ -Subproject commit f6df91a6e914e28f5463ee830936ed1823aa9ed1 +Subproject commit f91fd8a0dadc66a09bdf35bf00f28c74812af148 From 4da1068a8fffa9065ce5766fde5873d2a55d65b0 Mon Sep 17 00:00:00 2001 From: etoledom Date: Wed, 28 Aug 2019 15:18:38 +0200 Subject: [PATCH 07/15] Update gutenberg ref --- gutenberg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gutenberg b/gutenberg index f91fd8a0da..cba09ece3e 160000 --- a/gutenberg +++ b/gutenberg @@ -1 +1 @@ -Subproject commit f91fd8a0dadc66a09bdf35bf00f28c74812af148 +Subproject commit cba09ece3ef4b5fc91db74838a3019c81cef4a72 From d5c345db42e965e29483f03e568f14058ba5517c Mon Sep 17 00:00:00 2001 From: etoledom Date: Wed, 28 Aug 2019 19:03:50 +0200 Subject: [PATCH 08/15] Update gutenberg ref --- gutenberg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gutenberg b/gutenberg index cba09ece3e..bb550ac703 160000 --- a/gutenberg +++ b/gutenberg @@ -1 +1 @@ -Subproject commit cba09ece3ef4b5fc91db74838a3019c81cef4a72 +Subproject commit bb550ac7033de07ad76c32d61389ef965e2bf067 From 7ec1b8afa42865ca7772a051a02eddd30eeccb4e Mon Sep 17 00:00:00 2001 From: etoledom Date: Wed, 28 Aug 2019 19:19:50 +0200 Subject: [PATCH 09/15] Update gutenberg ref --- gutenberg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gutenberg b/gutenberg index bb550ac703..7818564711 160000 --- a/gutenberg +++ b/gutenberg @@ -1 +1 @@ -Subproject commit bb550ac7033de07ad76c32d61389ef965e2bf067 +Subproject commit 7818564711ab38ee15eee9fb561bba993d732955 From 43ae9ca8fc0c3836538c7306bec15274f6175509 Mon Sep 17 00:00:00 2001 From: etoledom Date: Thu, 29 Aug 2019 12:29:02 +0200 Subject: [PATCH 10/15] Update gutenberg ref --- gutenberg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gutenberg b/gutenberg index 7818564711..7794404003 160000 --- a/gutenberg +++ b/gutenberg @@ -1 +1 @@ -Subproject commit 7818564711ab38ee15eee9fb561bba993d732955 +Subproject commit 779440400381d9f21262816fa585bcc1dd7e6236 From b1c8a6e697a83d7cf7aafec4f82942650e425e66 Mon Sep 17 00:00:00 2001 From: etoledom Date: Thu, 29 Aug 2019 13:05:10 +0200 Subject: [PATCH 11/15] Revert "REMOVE ME: MediaText template for testing" This reverts commit 50b87ca1d926445485596b5a84b4956ebd525323. --- src/initial-html.js | 207 ++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 190 insertions(+), 17 deletions(-) diff --git a/src/initial-html.js b/src/initial-html.js index 702ff1d3be..c71e92762a 100644 --- a/src/initial-html.js +++ b/src/initial-html.js @@ -4,33 +4,206 @@ */ export default ` + +
+ + + +
+ + + +Hello World + + + +

What is Gutenberg?

+ + -

This is an example page. It's different from a blog post because it will stay in one place and will show up in your site navigation (in most themes). Most people start with an About page that introduces them to potential site visitors. It might say something like this:

+

Hello World!

- -
-

Hello World

+ + + + + +

+Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer tempor tincidunt sapien, quis dictum orci sollicitudin quis. Proin sed elit id est pulvinar feugiat vitae eget dolor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

- -

Bla bla bla Bla bla bla Bla bla bla Bla bla bla Bla bla bla Bla bla bla Bla bla bla Bla bla bla

+ + +
if name == "World":
+    return "Hello World"
+else:
+    return "Hello Pony"
+ + + + + + + +Лорем ипсум долор сит амет, адиписци трацтатос еа еум. Меа аудиам малуиссет те, хас меис либрис елеифенд ин. Нец ех тота деленит сусципит. Яуас порро инструцтиор но нец. + + + +

It’s a whole new way to use WordPress. Try it right here!

- -
  • Item 1
  • Item 2
  • Item 3
- + +
+ + + +
+ + + +

We call the new editor Gutenberg. The entire editing experience has been rebuilt for media rich pages and posts. Experience the flexibility that blocks will bring, whether you are building your first site, or write code for a living.

+ + + + + + + + + + + + + + + +

Gutenberg is available as a plugin now, and soon by default in version 5.0 of WordPress. The classic editor will be available as a plugin if needed.

+ + + + + + + +

Meet your new best friends, Blocks

+ + + +

Blocks are a great new tool for building engaging content. With blocks, you can insert, rearrange, and style multimedia content with very little technical knowledge. Instead of using custom code, you can add a block and focus on your content.

+ + + +
+ + + +

Without being an expert developer, you can build your own custom posts and pages. Here’s a selection of the default blocks included with Gutenberg:

+ + + + + + + + + + + +

Be your own builder

+ - - -
- + +

A single block is nice—reliable, clear, distinct. Discover the flexibility to use media and content, side by side, driven by your vision.

+ + + +
+ + + + + + + +

Gutenberg ❤️ Developers

+ + + +
+
+

Built with modern technology.

+ + + +

Gutenberg was developed on GitHub using the WordPress REST API, JavaScript, and React.

+ + + +

Learn more

+
+ + + +
+

Designed for compatibility.

+ + + +

We recommend migrating features to blocks, but support for existing WordPress functionality remains. There will be transition paths for shortcodes, meta-boxes, and Custom Post Types.

+ + + +

Learn more

+
+
+ + + + + - -

Hi there! I'm a bike messenger by day, aspiring actor by night, and this is my website. I live in Los Angeles, have a great dog named Jack, and I like piña coladas. (And gettin' caught in the rain.)

+ +

The editor is just the beginning

+ + + +

Gutenberg is more than an editor. It’s also the foundation that’ll revolutionize customization and site building in WordPress.

+ + + +

"This will make running your own blog a viable alternative again."

Adrian Zumbrunnen
- -

...or something like this:

+ +

"The web up until this point has been confined to some sort of rectangular screen. But that is not how it’s going to be. Gutenberg has the potential of moving us into the next time."

Morten Rand-Hendriksen
+ + + +

"The Gutenberg editor has some great assets that could genuinely help people to write better texts."

Marieke van de Rakt
+ + + + + + + + + + + +

Gutenberg is available as a plugin today, and will be included in version 5.0 of WordPress. The classic editor will be available as a plugin if needed.

+ + + + + + +

Dig in deeper

+ + + + + `; From 75e27d103069c932f1bdbab2b90da478d85aa378 Mon Sep 17 00:00:00 2001 From: etoledom Date: Thu, 29 Aug 2019 13:14:22 +0200 Subject: [PATCH 12/15] Initial html as on develp --- src/initial-html.js | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/src/initial-html.js b/src/initial-html.js index c71e92762a..411cc19f16 100644 --- a/src/initial-html.js +++ b/src/initial-html.js @@ -54,15 +54,15 @@ else: -
+
Gutenberg on web
-
+
Videos too!
-

We call the new editor Gutenberg. The entire editing experience has been rebuilt for media rich pages and posts. Experience the flexibility that blocks will bring, whether you are building your first site, or write code for a living.

+

We call the new editor Gutenberg. The entire editing experience has been rebuilt for media rich pages and posts. Experience the flexibility that blocks will bring, whether you are building your first site, or write code for a living.

@@ -78,7 +78,7 @@ else: -

Gutenberg is available as a plugin now, and soon by default in version 5.0 of WordPress. The classic editor will be available as a plugin if needed.

+

Gutenberg is available as a plugin now, and soon by default in version 5.0 of WordPress. The classic editor will be available as a plugin if needed.

@@ -90,7 +90,7 @@ else: -

Blocks are a great new tool for building engaging content. With blocks, you can insert, rearrange, and style multimedia content with very little technical knowledge. Instead of using custom code, you can add a block and focus on your content.

+

Blocks are a great new tool for building engaging content. With blocks, you can insert, rearrange, and style multimedia content with very little technical knowledge. Instead of using custom code, you can add a block and focus on your content.

@@ -98,7 +98,7 @@ else: -

Without being an expert developer, you can build your own custom posts and pages. Here’s a selection of the default blocks included with Gutenberg:

+

Without being an expert developer, you can build your own custom posts and pages. Here’s a selection of the default blocks included with Gutenberg:

@@ -114,7 +114,7 @@ else: -

A single block is nice—reliable, clear, distinct. Discover the flexibility to use media and content, side by side, driven by your vision.

+

A single block is nice—reliable, clear, distinct. Discover the flexibility to use media and content, side by side, driven by your vision.

@@ -132,29 +132,29 @@ else:
-

Built with modern technology.

+

Built with modern technology.

-

Gutenberg was developed on GitHub using the WordPress REST API, JavaScript, and React.

+

Gutenberg was developed on GitHub using the WordPress REST API, JavaScript, and React.

-

Learn more

+

Learn more

-

Designed for compatibility.

+

Designed for compatibility.

-

We recommend migrating features to blocks, but support for existing WordPress functionality remains. There will be transition paths for shortcodes, meta-boxes, and Custom Post Types.

+

We recommend migrating features to blocks, but support for existing WordPress functionality remains. There will be transition paths for shortcodes, meta-boxes, and Custom Post Types.

-

Learn more

+

Learn more

@@ -168,19 +168,19 @@ else: -

Gutenberg is more than an editor. It’s also the foundation that’ll revolutionize customization and site building in WordPress.

+

Gutenberg is more than an editor. It’s also the foundation that’ll revolutionize customization and site building in WordPress.

-

"This will make running your own blog a viable alternative again."

Adrian Zumbrunnen
+

"This will make running your own blog a viable alternative again."

Adrian Zumbrunnen
-

"The web up until this point has been confined to some sort of rectangular screen. But that is not how it’s going to be. Gutenberg has the potential of moving us into the next time."

Morten Rand-Hendriksen
+

"The web up until this point has been confined to some sort of rectangular screen. But that is not how it’s going to be. Gutenberg has the potential of moving us into the next time."

Morten Rand-Hendriksen
-

"The Gutenberg editor has some great assets that could genuinely help people to write better texts."

Marieke van de Rakt
+

"The Gutenberg editor has some great assets that could genuinely help people to write better texts."

Marieke van de Rakt
@@ -192,7 +192,7 @@ else: -

Gutenberg is available as a plugin today, and will be included in version 5.0 of WordPress. The classic editor will be available as a plugin if needed.

+

Gutenberg is available as a plugin today, and will be included in version 5.0 of WordPress. The classic editor will be available as a plugin if needed.

From e1ed25997d3c786faa0174413595b3ca5411f287 Mon Sep 17 00:00:00 2001 From: etoledom Date: Thu, 29 Aug 2019 16:51:54 +0200 Subject: [PATCH 13/15] Temporarely deactivate paste ui test Due to unexpected errors on CI --- __device-tests__/gutenberg-editor-paste.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__device-tests__/gutenberg-editor-paste.test.js b/__device-tests__/gutenberg-editor-paste.test.js index 67532c56a7..d46ef7e7ac 100644 --- a/__device-tests__/gutenberg-editor-paste.test.js +++ b/__device-tests__/gutenberg-editor-paste.test.js @@ -20,7 +20,7 @@ import testData from './helpers/test-data'; jasmine.DEFAULT_TIMEOUT_INTERVAL = 300000; -describe( 'Gutenberg Editor paste tests', () => { +xdescribe( 'Gutenberg Editor paste tests', () => { // skip iOS for now if ( ! isAndroid() ) { it( 'skips the tests on any platform other than Android', async () => { From a64772bbbbdf154d2b1618bfaacb9d80e910d411 Mon Sep 17 00:00:00 2001 From: etoledom Date: Thu, 29 Aug 2019 16:54:00 +0200 Subject: [PATCH 14/15] Update gutenberg ref to rnmobile/master --- gutenberg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gutenberg b/gutenberg index 7794404003..a78f204df6 160000 --- a/gutenberg +++ b/gutenberg @@ -1 +1 @@ -Subproject commit 779440400381d9f21262816fa585bcc1dd7e6236 +Subproject commit a78f204df645ce86890814796b41498248f70dad From 16f812a8cd3fc1df19baccf88eb506f630e270e4 Mon Sep 17 00:00:00 2001 From: etoledom Date: Thu, 29 Aug 2019 20:13:17 +0200 Subject: [PATCH 15/15] Revert "Temporarely deactivate paste ui test" This reverts commit e1ed25997d3c786faa0174413595b3ca5411f287. --- __device-tests__/gutenberg-editor-paste.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__device-tests__/gutenberg-editor-paste.test.js b/__device-tests__/gutenberg-editor-paste.test.js index d46ef7e7ac..67532c56a7 100644 --- a/__device-tests__/gutenberg-editor-paste.test.js +++ b/__device-tests__/gutenberg-editor-paste.test.js @@ -20,7 +20,7 @@ import testData from './helpers/test-data'; jasmine.DEFAULT_TIMEOUT_INTERVAL = 300000; -xdescribe( 'Gutenberg Editor paste tests', () => { +describe( 'Gutenberg Editor paste tests', () => { // skip iOS for now if ( ! isAndroid() ) { it( 'skips the tests on any platform other than Android', async () => {