Skip to content

BlockSuite API Documentation / @blocksuite/block-std / onlyContainImgElement

Function: onlyContainImgElement()

onlyContainImgElement(ast): "yes" | "no" | "maybe"

Parameters

ast

Comment | Doctype | Element | Text

Returns

"yes" | "no" | "maybe"

Defined in

packages/framework/block-std/src/clipboard/index.ts:33