Skip to content

Commit

Permalink
Update data docs
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Nov 27, 2018
1 parent 0f00935 commit 0d69dc8
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/designers-developers/developers/data/data-core-editor.md
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,20 @@ Returns whether a block is valid or not.

Is Valid.

### getBlockAttributes

Returns a block's attributes given its client ID, or null if no block exists with
the client ID.

*Parameters*

* state: Editor state.
* clientId: Block client ID.

*Returns*

Block attributes.

### getBlock

Returns a block given its client ID. This is a parsed copy of the block,
Expand Down

0 comments on commit 0d69dc8

Please sign in to comment.