Files
AFFiNE-Mirror/blocksuite/playground/examples/renderer/main.ts
doodlewind 0cd7868b3d refactor(editor): add mock notes creator (#10109)
Further features should be validated using multiple notes.

<img width="806" alt="image" src="https://github.com/user-attachments/assets/ad2bf934-bebe-479a-bec0-a0a28001b08d" />
2025-02-12 05:23:19 +00:00

11 lines
215 B
TypeScript

import { addSampleNotes } from './doc-generator.js';
import { doc, editor } from './editor.js';
function main() {
doc.load();
addSampleNotes(6);
}
main();
document.querySelector('#container')?.append(editor);