import { shortcut, Widget } from "@/core"; @shortcut() export class CodeEditor extends Widget { static xtype = "demo.multifile_editor"; props = { baseCls: "demo-editor" }; render() { return { type: "bi.absolute", items: [ { el: { type: "bi.adaptive", cls: "layout-bg1", items: [ { type: "bi.multifile_editor", width: 400, height: 300, } ], width: 400, height: 300, }, top: 50, left: 50, } ], }; } }