/// <summary>Populates the editor with HTML</summary> private void LoadHtml() { string queryString = WebUtil.GetQueryString("hdl"); Assert.IsNotNullOrEmpty(queryString, "html value handle"); string sessionString = WebUtil.GetSessionString(queryString); WebUtil.RemoveSessionValue(queryString); LoadRichTextContentArgs richTextContentArgs = new LoadRichTextContentArgs(sessionString); using (new LongRunningOperationWatcher(250, "loadRichTextContent", new string[0])) CorePipeline.Run("loadRichTextContent", (PipelineArgs)richTextContentArgs); this.FieldText.InnerHtml = richTextContentArgs.Content; }
public void Process(LoadRichTextContentArgs args) { Assert.ArgumentNotNull(args, "args"); args.Content = _provider.AddContainerTags(args.Content); }