AFFiNE/packages/common
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
..
debug chore: bump base version to 0.16.0 2024-08-09 18:30:07 +08:00
env feat: bump bs (#7866) 2024-08-14 04:42:20 +00:00
infra refactor(core): separate editor & doc mode (#7873) 2024-08-14 11:43:03 +00:00
theme refactor(infra): directory structure (#4615) 2023-10-18 15:30:08 +00:00