mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-22 16:31:43 +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') ``` |
||
---|---|---|
.. | ||
public | ||
src | ||
package.json | ||
tsconfig.json | ||
tsconfig.node.json | ||
tsconfig.server.json |