diff --git a/docs/data/data-core-editor.md b/docs/data/data-core-editor.md index 5cc8768992fe72..b72ef2ad70c176 100644 --- a/docs/data/data-core-editor.md +++ b/docs/data/data-core-editor.md @@ -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