Type Editor / @type-editor/dom-util / has-block-desc
has-block-desc
Functions
| Function | Description |
|---|---|
Checks if a DOM node has a block-level ViewDesc associated with it. Traverses up the DOM tree to find a ViewDesc, then checks if it represents a block node and if the original DOM node is either the main DOM or content DOM of that ViewDesc. Example typescript |