@syncfusion/ej2-inplace-editor 20.4.42 → 20.4.48

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1022,6 +1022,13 @@ let InPlaceEditor = class InPlaceEditor extends Component {
1022
1022
  let count = 0;
1023
1023
  this.formValidate = new FormValidator(this.formEle, {
1024
1024
  rules: this.validationRules,
1025
+ validationBegin: (e) => {
1026
+ if (this.type === 'RTE') {
1027
+ let ele = document.createElement('div');
1028
+ ele.innerHTML = e.value;
1029
+ e.value = ele.innerText;
1030
+ }
1031
+ },
1025
1032
  validationComplete: (e) => {
1026
1033
  count = count + 1;
1027
1034
  args = {