Skip to main content

$isBlockElementNode

function

Returns true if the given node is a non-inline ElementNode.

function $isBlockElementNode(node: LexicalNode | null | undefined): node is ElementNode

Import

import { $isBlockElementNode } from '@modular/sdk/editor';