protected virtual void EditableFieldTextChangedEventHandler(string fieldName, string html) { IsContentCheckOnce = true; //TODO: Considered changing the way we detect if a field do note have content // vs a field has content changed if (IsModified == false) { var text = RemoveDivWrap(html).Replace(" ", " "); if (!String.IsNullOrWhiteSpace(text)) { IsModified = true; } } EditableFieldTextChangedEvent?.Invoke(fieldName, html); }
public void editableFieldTextChangedEventFire(string fieldName, string html) { EditableFieldTextChangedEvent?.Invoke(fieldName, html); }