The setup callback from the options object added via attribute was added to the setup callback of the setupOptions in the directive. However the setup function of uiTinymceConfig was not.
And now it works. It's an ugly quickfix though, as it doesn't really take into consideration a setup function that would be in the uiTinymceConfig object.
Would it be possible to add it to the directive? I would like to have default settings added via a decorator on uiTinymceConfig.
if (uiTinymceConfig.setup) {
uiTinymceConfig.setup(ed, {
updateView: updateView
});
}
The setup callback from the options object added via attribute was added to the setup callback of the setupOptions in the directive. However the setup function of uiTinymceConfig was not.
As stated in https://github.com/angular-ui/ui-tinymce/issues/143
Would it be possible to add it to the directive? I would like to have default settings added via a decorator on uiTinymceConfig.