Skip to content

BlockSuite API Documentation / @blocksuite/blocks / createDefaultDoc

Function: createDefaultDoc()

createDefaultDoc(workspace, options): Doc

Parameters

workspace: Workspace

options: Object= {}

options.id?: string

options.title?: string

Returns

Doc

Source

packages/blocks/src/_common/utils/init.ts:3


Generated using TypeDoc and typedoc-plugin-markdown.