Hi, I'm encountering some issues with the TinyMCE plugin.
I'm using Ajax to submit the form, but in this case, the underlying textarea is never updated. Additionally, I created a tinymce.yaml file in the packages folder, but the configurations there seem to be completely ignored.
How can I update the plugin configuration to ensure it's applied properly?
How can I modify the TinyMCE JavaScript initialization to customize its behavior, such as ensuring the content is saved to the textarea on change? For example, I want to do something like this:
tinymce.init({
setup: function(editor) {
editor.on('change', function() {
editor.save(); // This ensures the content of TinyMCE is saved to the textarea
});
},
});