BlockSuite API Documentation / @blocksuite/inline / findDocumentOrShadowRoot
Function: findDocumentOrShadowRoot() ​
findDocumentOrShadowRoot<
TextAttributes>(editor):Document
Type parameters ​
• TextAttributes extends Object
Parameters ​
• editor: InlineEditor<TextAttributes>
Returns ​
Document
Source ​
packages/inline/src/utils/query.ts:7
Generated using typedoc-plugin-markdown and TypeDoc