Open FollowSteph opened 7 years ago
I have the same problem if i add config like this:
setup: function (editor) {
editor.addButton('mybutton', {
type: 'listbox',
text: 'My listbox',
icon: false,
onselect: function (e) {
editor.insertContent(this.value());
},
values: [
{ text: 'Menu item 1', value: ' <strong>Some bold text!</strong>' }
]
});
it seems that the setup overwrite the one used to initialise the events listeners into the class TinyMCEService.
setup: function(ed) {
Instead you can use this to initialise the event listeners:
init_instance_callback: function(ed)
Bye
The valueChangeListener is not being fired if there is a value change.