Example #1
0
 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);
 }
Example #2
0
 public void editableFieldTextChangedEventFire(string fieldName, string html)
 {
     EditableFieldTextChangedEvent?.Invoke(fieldName, html);
 }