public override bool delete(Element element, RmlElementEditor editor, RmlWysiwygComponent component) { String src = element.GetAttributeString("src"); if (String.IsNullOrEmpty(src)) { component.deleteElement(element); return(true); } return(false); }
public override bool delete(Element element, RmlElementEditor editor, RmlWysiwygComponent component) { String text = element.InnerRml; if (String.IsNullOrEmpty(text)) { component.deleteElement(element); return(true); } return(false); }