mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-22 15:41:48 +03:00
89537e6892
doc.mode -> primaryMode (*new) editor.mode New Service: editor service Change Mode: ``` const editor = useService(EditorService).editor; editor.setMode('page') ``` Change primary mode ``` const editor = useService(EditorService).editor; editor.doc.setPrimaryMode('page') ``` |
||
---|---|---|
.. | ||
.storybook | ||
src | ||
package.json | ||
tsconfig.json |