Skip to content

BlockSuite API Documentation / @blocksuite/blocks / createText

Function: createText()

createText(s): object

Parameters

s: string

Returns

object

$blocksuite:internal:text$

$blocksuite:internal:text$: boolean = true

delta

delta: object[]

Defined in

packages/blocks/src/_common/adapters/utils.ts:70