Skip to main content

getDOMTextNode

function

Returns the first DOM Text node found by descending the firstChild chain from the given node, or null.

function getDOMTextNode(element: Node | null): Text | null

Import

import { getDOMTextNode } from '@modular/sdk/editor';