AFFiNE/packages/common/infra
EYHN 89537e6892
refactor(core): separate editor & doc mode (#7873)
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')
```
2024-08-14 11:43:03 +00:00
..
src refactor(core): separate editor & doc mode (#7873) 2024-08-14 11:43:03 +00:00
package.json feat: bump bs (#7866) 2024-08-14 04:42:20 +00:00
tsconfig.json refactor(infra): no bundle infra (#5414) 2023-12-27 06:54:24 +00:00
tsconfig.node.json refactor(infra): directory structure (#4615) 2023-10-18 15:30:08 +00:00
typedoc.json docs: initial api reference docs (#5352) 2024-01-02 12:46:27 +00:00