Open felixbaral opened 7 years ago
Passing parameters to a custom widget doesn't work for me.
I tried the example with tineMCE and created my own widget.
"properties": { "pageContent": { "type": "string", "description": "Page content", "widget": { "id": "richtext", "plugins": "textcolor colorpicker", "toolbar": "forecolor backcolor" } } }
I've put a @Input() options : any: in the the Widget's Component. As done by tinyMCE.
@Input() options : any:
Both didn't work. TinyMCE semmes inconfigurable. Could you point out the code where the parameters are assigned? Am I missing something?
Options should be accessible through the schema.widget property of your widget.
schema.widget
Passing parameters to a custom widget doesn't work for me.
I tried the example with tineMCE and created my own widget.
I've put a
@Input() options : any:
in the the Widget's Component. As done by tinyMCE.Both didn't work. TinyMCE semmes inconfigurable. Could you point out the code where the parameters are assigned? Am I missing something?