public void Paste() { var e = new PastingEventArgs(); Pasting?.Invoke(this, e); if (!e.Handled) { Document.ExecCommand("Paste", false, null); ExternalContentAdded?.Invoke(this); } }
/// <summary> /// This makes the editor dirty as opposed to setting HTML property /// </summary> /// <param name="html"></param> public void UpdateHtmlSource(string html) { Document.Body.InnerHtml = html; ExternalContentAdded?.Invoke(this); }