Skip to content

02 Examples

JuanMa edited this page Nov 3, 2023 · 11 revisions

Important Share your ideas for examples that should be on this repo or directly open a PR with your new example taking into account the conventions used in this repo.

The folder plugins contains all the plugins that register each one of the WP Block Development Examples (block and non-block examples). Each example has a unique ID that can be used to filter or find them.

The examples in this repo are listed in the following table:

  • Each one the tags assigned to each example, links to their description in the Tags section below.

Most of the examples in this repo are blocks for the Block Editor and their code use ESNext + JSX Syntax (as it's a general recommendation)

Most of the examples in this repo showcase a specific type of block that can be used in the Block Editor. Those examples that doesn't specifically register a block for the Block Editor are labelled with the tag NO-BLOCK.

The examples using ESNext or JSX need to run a Build process to get the final version of the block ready to use.

There are some examples in this repo that doesn't use ESNext or JSX Syntax so they don't need to run any build process. These examples are labeled with the tag NO-BUILD

Clone this wiki locally