@MarkAHershberger and I spent a great deal of time trying to get the edit page on a business wiki to display CodeEditor.
Even after various iterations of code scrutinization; interweb research; and function tests within the code, it refused to display. It was only upon finding an error message about wikiEditor that we had a tangible clue to the solution, which involved commenting out a preference check and then installing wikiEditor.
Instead of quietly failing, code should prompt the user to install wikiEditor.