refactor(editor): reorg block specs (#9421)

This commit is contained in:
Saul-Mirone
2024-12-30 05:59:25 +00:00
parent 87331b49b7
commit e3b6841944
16 changed files with 121 additions and 173 deletions
@@ -1892,7 +1892,7 @@ export async function createNote(
content?: string
) {
const start = await toViewCoord(page, coord1);
return addNote(page, content || 'note', start[0], start[1]);
return addNote(page, content ?? 'note', start[0], start[1]);
}
export async function hoverOnNote(page: Page, id: string, offset = [0, 0]) {