// import "@tandem/uikit/scss/themes/monokai"; import "reflect-metadata"; import React = require("react"); import ReactDOM = require("react-dom"); import { TreeNode } from "@tandem/common/tree"; import { TreeComponent, GutterComponent } from "@tandem/uikit"; import "./editor.scss"; class ElementNode extends TreeNode { constructor(readonly name: string, readonly attributes: any, children: TreeNode[] = []) { super(); children.forEach((child) => this.appendChild(child)); } } class TextNode extends TreeNode { constructor(readonly value: string) { super(); this.value = value; } } // CSS tab const renderHTMLLayers = () => { return null; } const renderCSSPane = () => { return
} export const createBodyElement = () => { const element = document.createElement("div"); ReactDOM.render(
{renderHTMLLayers()} {renderCSSPane()}
CSS
animations
Attributes

.container

, element); return element; }