MCPcopy
hub / github.com/alibaba/lowcode-engine / buildFromConfig

Method buildFromConfig

packages/editor-skeleton/src/skeleton.ts:299–304  ·  view source on GitHub ↗
(config?: EditorConfig, components: PluginClassSet = {})

Source from the content-addressed store, hash-verified

297 }
298
299 buildFromConfig(config?: EditorConfig, components: PluginClassSet = {}) {
300 if (config) {
301 this.editor.init(config, components);
302 }
303 this.setupPlugins();
304 }
305
306 private setupPlugins() {
307 const { config, components = {} } = this.editor;

Callers

nothing calls this directly

Calls 2

setupPluginsMethod · 0.95
initMethod · 0.65

Tested by

no test coverage detected