mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-04 19:11:57 +08:00
chore: merge blocksuite source code (#9213)
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import '../../../style.css';
|
||||
|
||||
import { createEmptyDoc, EdgelessEditor } from '@blocksuite/presets';
|
||||
|
||||
const doc = createEmptyDoc().init();
|
||||
const editor = new EdgelessEditor();
|
||||
editor.doc = doc;
|
||||
document.body.append(editor);
|
||||
Reference in New Issue
Block a user