How to get Custom Editor Instance
- Langage dominant
- TypeScript
- Étoiles
- 1.6k
- Forks
- 867
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
I having an issue with the custom editor on how to pass the instance parameters, though it's working as expected in the render mode.
renderComponent: CustomComponent,
onComponentInitFunction(instance) {
console.log(`instance: `, instance);
instance.xyz = 'xzy'
instance.xx= 'xx'
},
editor: {
type: 'custom',
component: CustomEditorComponent,
/* issue is here, is there is anyway we can get the current instance and set some extra parameter? */
onComponentInitFunction(instace) {
instance.xyz = 'xzy'
instance.xx= 'xx'
}
Can we get the custom editor instance as it does for rendering?
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.