Skip to content

Commit

Permalink
Docs: mention how block name is used in comment delimiters. (#3004)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtias authored Oct 18, 2017
1 parent 285df53 commit d271c8c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/block-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ The name for a block is a unique string that identifies a block. Names have to b
registerBlockType( 'my-plugin/book', {} );
```

*Note:* this name is used on the comment delimiters as `<!-- wp:my-plugin/book -->`. Those blocks provided by core don't include a namespace when serialized.

### Block Configuration

* **Type:** `{ key: value }`
Expand Down

0 comments on commit d271c8c

Please sign in to comment.