public void AddCreationType(string mode) { // RemoveModeStyleSheets() should have already removed any editMode attribute on the body element Body.SetAttribute("bookcreationtype", mode); }
private void AddCreationTypeAttribute(HtmlDom htmlDom) { htmlDom.AddCreationType(LockedDown ? "translation" : "original"); }