mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-16 05:47:09 +08:00
chore: merge blocksuite source code (#9213)
This commit is contained in:
8
blocksuite/playground/examples/basic/edgeless/main.ts
Normal file
8
blocksuite/playground/examples/basic/edgeless/main.ts
Normal file
@@ -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