magiclabs/alchemy_cms — pull request #401 by wuservices (2013-09-28 00:13:21+00:00)
Title: Initialize Tinymce with custom settings when adding or unfolding elements

If you unfold or add a new element with RichtextEssence ingredient(s), the TinyMCE instance(s) will be initialized with the default settings and will ignore any custom initialization options.

I've run the custom inits before calling Alchemy.Tinymce.addEditor so that anything matching the customInit selector gets initialized first and everything else gets done afterwards. Perhaps there's a cleaner way but this fixes the issue.