Skip to content

Commit

Permalink
Update the selector docs
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Oct 15, 2018
1 parent 3d4c28f commit 5779576
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/data/data-core-editor.md
Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,20 @@ exist.

Root client ID, if exists

### getBlockHierarchyRootClientId

Given a block client ID, returns the root of the hierarchy from which the block is
nested, return the block itself for root level blocks.

*Parameters*

* state: Editor state.
* clientId: Block from which to find root client ID.

*Returns*

Root client ID

### getAdjacentBlockClientId

Returns the client ID of the block adjacent one at the given reference
Expand Down

0 comments on commit 5779576

Please sign in to comment.