I have integrated WYSIWYG Editor using this tutorial. I can see it in my custom module, but when I try to insert variable it gives me following error in console
Error: ReferenceError: widgetTools is not defined
Source File: http://mywebsite.com/js/mage/adminhtml/wysiwyg/tiny_mce/plugins/magentowidget/editor_plugin.js
Line: 44
There is also another error when I try to insert widget,
Error: ReferenceError: widgetTools is not defined
Source File: http://mywebsite.com/js/mage/adminhtml/wysiwyg/tiny_mce/plugins/magentowidget/editor_plugin.js
Line: 44
Could anyone pls guide me on how to integrate WYSIWYG editor in backend custom module as well as frontend without having console errors.
Also how to add necessary WYSIWYG (TinyMCE) JS files to insert widgets, variables, images and other media types ?
Thanks.