(data: any, key?: IPublicTypeEditorValueKey)
| 243 | } |
| 244 | |
| 245 | register(data: any, key?: IPublicTypeEditorValueKey): void { |
| 246 | this.context.set(key || data, data); |
| 247 | this.notifyGot(key || data); |
| 248 | } |
| 249 | |
| 250 | async init(config?: EditorConfig, components?: PluginClassSet): Promise<any> { |
| 251 | this.config = config || {}; |