API
Node Types
Text
5min
Text objects represent the nodes that contain the actual text content of a Slate document along with any formatting properties. They are always leaf nodes in the document tree as they cannot contain any children.
Check if a text matches a set of props.
Get the leaves for a text node, given decorations.
Check if two text nodes are equal.
Options: {loose?: boolean}
Check if a value implements the Text interface.
🤔
Have a question?
Our super-smart AI,knowledgeable support team and an awesome community will get you an answer in a flash.
To ask a question or participate in discussions, you'll need to authenticate first.