(config?: EditorConfig, components: PluginClassSet = {})
| 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; |
nothing calls this directly
no test coverage detected