From ea1f617e205b8fcc550c125c63043085c9069cc6 Mon Sep 17 00:00:00 2001 From: Marcus Kazmierczak Date: Sat, 12 Jan 2019 09:48:06 -0800 Subject: [PATCH 1/4] Update meta box link to new tutorial --- docs/designers-developers/developers/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/designers-developers/developers/README.md b/docs/designers-developers/developers/README.md index 860e6f3b07310a..da63520ae05dd8 100644 --- a/docs/designers-developers/developers/README.md +++ b/docs/designers-developers/developers/README.md @@ -26,7 +26,7 @@ You can also filter certain aspects of the editor; this is documented on the [Ed **Porting PHP meta boxes to blocks or sidebar plugins is highly encouraged!** -Discover how [Meta Box](../../../docs/designers-developers/developers/backward-compatibility/meta-box.md) support works in the new editor. +Discover how to work with [Meta Boxes](/docs/designers-developers/developers/tutorials/metabox/) in the new editor. ## Theme Support From b0f036484297000094a1af3b60cf651d196a56aa Mon Sep 17 00:00:00 2001 From: Marcus Kazmierczak Date: Thu, 17 Jan 2019 07:01:09 -0800 Subject: [PATCH 2/4] Update README.md Fix link. Simplify URLs. --- docs/designers-developers/developers/README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/designers-developers/developers/README.md b/docs/designers-developers/developers/README.md index da63520ae05dd8..ad1569ee0285c7 100644 --- a/docs/designers-developers/developers/README.md +++ b/docs/designers-developers/developers/README.md @@ -6,13 +6,13 @@ The new editor is highly flexible, like most of WordPress. You can build custom The editor is about blocks, and the main extensibility API is the Block API. It allows you to create your own static blocks, dynamic blocks rendered on the server and also blocks capable of saving data to Post Meta for more structured content. -If you want to learn more about block creation, the [Blocks Tutorial](../../../docs/designers-developers/developers/tutorials/block-tutorial/readme.md) is the best place to start. +If you want to learn more about block creation, the [Blocks Tutorial](/docs/designers-developers/developers/tutorials/block-tutorial/readme.md) is the best place to start. ## Extending Blocks It is also possible to modify the behavior of existing blocks or even remove them completely using filters. -Learn more in the [Block Filters](../../../docs/designers-developers/developers/reference/hooks/block-filters.md) section. +Learn more in the [Block Filters](/docs/designers-developers/developers/reference/hooks/block-filters.md) section. ## Extending the Editor UI @@ -20,26 +20,26 @@ Extending the editor UI can be accomplished with the `registerPlugin` API, allow Refer to the [Plugins](https://github.com/WordPress/gutenberg/blob/master/packages/plugins/README.md) and [Edit Post](https://github.com/WordPress/gutenberg/blob/master/packages/edit-post/README.md) section for more information. -You can also filter certain aspects of the editor; this is documented on the [Editor Filters](../../../docs/designers-developers/developers/reference/hooks/editor-filters.md) page. +You can also filter certain aspects of the editor; this is documented on the [Editor Filters](/docs/designers-developers/developers/reference/hooks/editor-filters.md) page. ## Meta Boxes **Porting PHP meta boxes to blocks or sidebar plugins is highly encouraged!** -Discover how to work with [Meta Boxes](/docs/designers-developers/developers/tutorials/metabox/) in the new editor. +Discover how to work with [Meta Boxes](/docs/designers-developers/developers/tutorials/metabox/readme.md) in the new editor. ## Theme Support By default, blocks provide their styles to enable basic support for blocks in themes without any change. Themes can add/override these styles, or rely on defaults. -There are some advanced block features which require opt-in support in the theme. See [theme support](../../../docs/designers-developers/developers/themes/theme-support.md). +There are some advanced block features which require opt-in support in the theme. See [theme support](/docs/designers-developers/developers/themes/theme-support.md). ## Autocomplete -Autocompleters within blocks may be extended and overridden. Learn more about the [autocomplete](../../../docs/designers-developers/developers/filters/autocomplete-filters.md) filters. +Autocompleters within blocks may be extended and overridden. Learn more about the [autocomplete](/docs/designers-developers/developers/filters/autocomplete-filters.md) filters. ## Block Parsing and Serialization Posts in the editor move through a couple of different stages between being stored in `post_content` and appearing in the editor. Since the blocks themselves are data structures that live in memory it takes a parsing and serialization step to transform out from and into the stored format in the database. -Customizing the parser is an advanced topic that you can learn more about in the [Extending the Parser](../../../docs/designers-developers/developers/filters/parser-filters.md) section. +Customizing the parser is an advanced topic that you can learn more about in the [Extending the Parser](/docs/designers-developers/developers/filters/parser-filters.md) section. From 1afe88951f8909a1045ff3db81a50ac7a1b64f48 Mon Sep 17 00:00:00 2001 From: Marcus Kazmierczak Date: Thu, 17 Jan 2019 09:50:54 -0800 Subject: [PATCH 3/4] Update with both links for working with meta data --- docs/designers-developers/developers/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/designers-developers/developers/README.md b/docs/designers-developers/developers/README.md index ad1569ee0285c7..3bbb8c4e2666dc 100644 --- a/docs/designers-developers/developers/README.md +++ b/docs/designers-developers/developers/README.md @@ -24,9 +24,9 @@ You can also filter certain aspects of the editor; this is documented on the [Ed ## Meta Boxes -**Porting PHP meta boxes to blocks or sidebar plugins is highly encouraged!** +Porting PHP meta boxes to blocks or sidebar plugins is highly encouraged, learn how through these [meta data tutorials](/docs/designers-developers/developers/tutorials/metabox/readme.md). -Discover how to work with [Meta Boxes](/docs/designers-developers/developers/tutorials/metabox/readme.md) in the new editor. +See how the new editor [supports existing Meta Boxes](/docs/designers-developers/developers/backward-compatibility/meta-box.md). ## Theme Support From 7acf8fd5ed81e055e3986bdf5512c8a47c9b4f82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Grzegorz=20=28Greg=29=20Zi=C3=B3=C5=82kowski?= Date: Tue, 22 Jan 2019 09:48:48 +0100 Subject: [PATCH 4/4] Fixed links --- docs/designers-developers/developers/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/designers-developers/developers/README.md b/docs/designers-developers/developers/README.md index 3bbb8c4e2666dc..162c45fbcfa4eb 100644 --- a/docs/designers-developers/developers/README.md +++ b/docs/designers-developers/developers/README.md @@ -12,15 +12,15 @@ If you want to learn more about block creation, the [Blocks Tutorial](/docs/desi It is also possible to modify the behavior of existing blocks or even remove them completely using filters. -Learn more in the [Block Filters](/docs/designers-developers/developers/reference/hooks/block-filters.md) section. +Learn more in the [Block Filters](/docs/designers-developers/developers/filters/block-filters.md) section. ## Extending the Editor UI Extending the editor UI can be accomplished with the `registerPlugin` API, allowing you to define all your plugin's UI elements in one place. -Refer to the [Plugins](https://github.com/WordPress/gutenberg/blob/master/packages/plugins/README.md) and [Edit Post](https://github.com/WordPress/gutenberg/blob/master/packages/edit-post/README.md) section for more information. +Refer to the [Plugins](/packages/plugins/README.md) and [Edit Post](/packages/edit-post/README.md) section for more information. -You can also filter certain aspects of the editor; this is documented on the [Editor Filters](/docs/designers-developers/developers/reference/hooks/editor-filters.md) page. +You can also filter certain aspects of the editor; this is documented on the [Editor Filters](/docs/designers-developers/developers/filters/editor-filters.md) page. ## Meta Boxes