This project is read-only.

Creating TinyMce form in custom Module

Topics: Customizing Orchard, Writing modules
Jun 27, 2013 at 8:26 PM
I have a custom module that collects various information as HTML and stores it to custom table structure defined via the Migrations.cs file. This works great, the only issue is that I need a WYSIWYG editor like when creating the Body markup that is default to Orchard. I cannot seem to get this added to my EditView:
@{ Script.Require("OrchardTinyMce"); }
    @Html.LabelFor(m => m.DrawStations, T("Draw Station"))
    @Html.TextAreaFor(m => m.DrawStations, new { @class = "html tinymce" })
Not sure what I am missing and any help appreciated.