Skip to content
Snippets Groups Projects
backend.tsx 318 B
Newer Older
  • Learn to ignore specific revisions
  • import { Editor } from "./editor/components/editor";
    
    Maximilian Giller's avatar
    Maximilian Giller committed
    import * as Config from "./config";
    
    import { createRoot } from "react-dom/client";
    import React from "react";
    
    const container = document.getElementById("knowledge-space-editor");
    const root = createRoot(container);
    root.render(<Editor spaceId={Config.SPACE} />);