Overview
ThegetElements method retrieves all elements of a specific type or matching a condition from a block.
Signature
Parameters
Return Value
Returns an array ofSlateElement[]. Returns empty array if no elements found.
Retrieve multiple elements from a block
getElements method retrieves all elements of a specific type or matching a condition from a block.
SlateElement[]. Returns empty array if no elements found.