Text
interface:text
property with a string of content.Element
node interface in Slate is:children
property gets defined containing the element's child nodes.type
and url
properties are your custom API. Slate sees that they exist, but doesn't use them. However, when Slate renders a link element, you'll receive an object with the custom properties attached so that you can render it as: