Closed cod3rshotout closed 2 years ago
I added this line to tinymce.blade.php (async) folder, I'm not sure why there is the same content in the load folder but is not used.
registerAsset('tinymce', () => {
Then when I have to bind an event:
whenAssetIsLoaded('tinymce', function() {
tinyMCE.activeEditor.on('keyup', function(ed, e) {
console.log(true);
});
})
The component
tinyMCE
is binded to the window using:but could you please tell me how can I use that instance? Eg: suppose that I want bind the on change event, how can I do this?
Thanks