AFFiNE/packages/frontend/core
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
..
public chore(core): replace ai onboarding videos (#6730) 2024-04-29 07:07:43 +00:00
src refactor(core): separate editor & doc mode (#7873) 2024-08-14 11:43:03 +00:00
package.json feat(core): use emoji as folder icon (#7842) 2024-08-14 10:35:22 +00:00
tsconfig.json chore: remove unused y-indexeddb (#6728) 2024-04-29 09:14:42 +00:00
tsconfig.node.json refactor(infra): directory structure (#4615) 2023-10-18 15:30:08 +00:00
tsconfig.server.json refactor(infra): directory structure (#4615) 2023-10-18 15:30:08 +00:00