I'm looking to change the init of TinyMCE for Magento admin.
I'm just not satisfied with the default options and want to give my client a more user-friendly way of working with. So I want to remove some plugins, change some options and perhaps add some other plugins. But I want to keep the integrated Magento functionality.
I have not yet found a way to acomplish this without editing the js/mage/adminhtml/wysiwyg/tiny_mce/setup.js
directly.
Is there a working solution?
UPDATE
Tobias' solution works very well! As you can read below, I had some trouble getting it to work due to 403 forbidden
errors on my localhost. On my staging server however it worked as expected.
After some more testing, I found that the Fooman_Speedster
extension I had installed was the cause of the problem. After disabling that, everything works fine!
Best Answer
You can esily create your own module (depends on Mage_Adminhtml) which is extending that js file:
config.xml:
In your layout file you add a custom js to the header:
And in the new setup.js you can overwrite the prototype object: