Hi Darkimmortal,
I have found an issue with your code that causes the minorin toolbar to throw errors in loop when the 'editor' template is called by another addon. In my case, it is with the Waindigo Library addon, which pops up an editor overlay for editing article pages.
The following lines in
minorin.js cause a rapidly growing number of
Uncaught: TypeError: Object [object Object] has no method 'minorinSetup'.
PHP:
if($("#QuickReply > div:first > textarea").minorinSetup(true).length == 0)
$("#ctrl_message").minorinSetup(true)
Eventually, the toolbar doesn't even show up.
There is no quick reply textarea on Waindigo Library article edition pages. I believe this happens because the jQuery selector does not return any element. Maybe you should modify your code and add a foolproof test for the selector output?