AFFiNE/packages/frontend/component
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
..
.storybook chore: clean up runtime flags and envs (#7454) 2024-07-11 02:05:31 +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): migrate to new infra (#5565) 2024-01-30 07:16:39 +00:00