/// <summary> /// Initialize the DNN editor. /// </summary> /// <returns> /// Returns if the DNN Editor was initialized. /// </returns> private bool InitDnnEditor() { if (!Config.IsDotNetNuke) { return(false); } try { this._editor = HtmlEditorProvider.Instance(); return(true); } catch (Exception ex) { YafContext.Current.Get <ILogger>().Error(ex, "Error in the DNN RichEditor"); } return(false); }