mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-11-30 04:05:07 +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') ``` |
||
---|---|---|
.. | ||
backend | ||
common | ||
frontend |