This project is read-only.

TinyMce not displaying in module editor

Topics: Troubleshooting, Writing modules
Aug 15, 2013 at 8:33 PM
Edited Aug 15, 2013 at 8:43 PM
In my EditorTemplates/Parts/Module.cshtml file I have these lines included:
@{ Script.Require("OrchardTinyMce"); }


@Html.TextAreaFor(model => model.Technologies, new { @class = "html tinymce" })
But in my module editor view only a normal textarea element is displayed. Is there an additional step to activating the TinyMce orchard plug in?

EDIT: Yes, I have the TinyMce module enabled.
Aug 16, 2013 at 5:31 AM
Compare your view with the one in the TinyMce module.
If all looks the same, perhaps a JavaScript error is occurring, preventing the initialization. You should be able to tell using the browser's console window.
If not error, and all look the same, inspect the script file associated with the OrchardTinyMce resource to see how it is supposed to work. You will find a clue there.