feat: add blocksuit

This commit is contained in:
QiShaoXuan
2022-10-12 18:44:11 +08:00
parent 17386a4ad7
commit 379ded3fb4
10 changed files with 353 additions and 42 deletions

View File

@@ -3,13 +3,14 @@ import '@blocksuite/blocks';
import '@blocksuite/editor';
import '@blocksuite/blocks/style';
declare global {
interface Window {
editor: EditorContainer;
}
}
export const Editor = () => {
return (
<div>
Editor
<editor-container />
</div>
);
return <editor-container />;
};
declare global {