I'm trying to dynamically instantiate the html editor in a module, and it mostly works, except the toolbar buttons are bugging out.
The code I'm using (phEditor is a placeholder control in the ascx):
EditorProvider editorProvider = new EditorProvider();
var control = editorProvider.HtmlEditorControl;
control.ID = "txtDescription";
phEditor.Controls.Add(control);
The result looks like this