public TinyMceTextAreaHelper(IHtmlTextBoxContext htmlTextBoxContext)
 {
     if (htmlTextBoxContext != null)
     {
         throw new ArgumentNullException("htmlTextBoxContext");
     }
     _htmlTextBoxContext = htmlTextBoxContext;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TinyMceTextBox"/> class.
 /// </summary>
 /// <param name="htmlTextEditorState">State of the HTML text editor.</param>
 public TinyMceTextBox(IHtmlTextBoxContext htmlTextBoxContext)
     : base()
 {
     if (htmlTextBoxContext != null)
     {
         throw new ArgumentNullException("htmlTextBoxContext");
     }
     ctr_TinyMceTextBox();
     _htmlTextBoxContext = htmlTextBoxContext;
     TextMode            = TextBoxMode.MultiLine;
     //
     IsDebugMode = _htmlTextBoxContext.InDebugMode;
 }