mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-07 01:09:54 +08:00
feat: bump blocksuite (#5286)
Co-authored-by: donteatfriedrice <huisheng.chen7788@outlook.com>
This commit is contained in:
@@ -22,11 +22,11 @@
|
||||
"dist"
|
||||
],
|
||||
"dependencies": {
|
||||
"@blocksuite/block-std": "0.11.0-nightly-202312120309-2b3d2ba",
|
||||
"@blocksuite/blocks": "0.11.0-nightly-202312120309-2b3d2ba",
|
||||
"@blocksuite/global": "0.11.0-nightly-202312120309-2b3d2ba",
|
||||
"@blocksuite/presets": "0.11.0-nightly-202312120309-2b3d2ba",
|
||||
"@blocksuite/store": "0.11.0-nightly-202312120309-2b3d2ba",
|
||||
"@blocksuite/block-std": "0.11.0-nightly-202312150424-f13b992",
|
||||
"@blocksuite/blocks": "0.11.0-nightly-202312150424-f13b992",
|
||||
"@blocksuite/global": "0.11.0-nightly-202312150424-f13b992",
|
||||
"@blocksuite/presets": "0.11.0-nightly-202312150424-f13b992",
|
||||
"@blocksuite/store": "0.11.0-nightly-202312150424-f13b992",
|
||||
"jotai": "^2.5.1",
|
||||
"zod": "^3.22.4"
|
||||
},
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import type { BaseSelection } from '@blocksuite/block-std';
|
||||
import type { EditorContainer } from '@blocksuite/presets';
|
||||
import type { AffineEditorContainer } from '@blocksuite/presets';
|
||||
import type { Page } from '@blocksuite/store';
|
||||
import type { Workspace } from '@blocksuite/store';
|
||||
import type { Atom, getDefaultStore } from 'jotai/vanilla';
|
||||
@@ -10,7 +10,7 @@ export type Part = 'headerItem' | 'editor' | 'setting' | 'formatBar';
|
||||
|
||||
export type CallbackMap = {
|
||||
headerItem: (root: HTMLElement) => () => void;
|
||||
editor: (root: HTMLElement, editor: EditorContainer) => () => void;
|
||||
editor: (root: HTMLElement, editor: AffineEditorContainer) => () => void;
|
||||
setting: (root: HTMLElement) => () => void;
|
||||
formatBar: (
|
||||
root: HTMLElement,
|
||||
|
||||
Reference in New Issue
Block a user