Skip to content

BlockSuite API Documentation / @blocksuite/affine-block-surface / addNote

Function: addNote()

addNote(std, point, options, width, height): void

Defined in: packages/affine/blocks/block-surface/src/utils/add-note.ts:82

Parameters

std

BlockStdScope

point

Point

options

NoteOptions

width

number = DEFAULT_NOTE_WIDTH

height

number = DEFAULT_NOTE_HEIGHT

Returns

void