mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-23 05:42:30 +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') ``` |
||
---|---|---|
.. | ||
src | ||
package.json | ||
tsconfig.json | ||
tsconfig.node.json | ||
typedoc.json |