@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.
- package/.eslintrc.json +25 -2
- package/CHANGELOG.md +6 -0
- package/dist/ej2-inplace-editor.min.js +2 -2
- package/dist/ej2-inplace-editor.umd.min.js +2 -2
- package/dist/ej2-inplace-editor.umd.min.js.map +1 -1
- package/dist/es6/ej2-inplace-editor.es2015.js +7 -0
- package/dist/es6/ej2-inplace-editor.es2015.js.map +1 -1
- package/dist/es6/ej2-inplace-editor.es5.js +7 -0
- package/dist/es6/ej2-inplace-editor.es5.js.map +1 -1
- package/dist/global/ej2-inplace-editor.min.js +2 -2
- package/dist/global/ej2-inplace-editor.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +16 -16
- package/src/inplace-editor/base/inplace-editor-model.d.ts +1 -1
- package/src/inplace-editor/base/inplace-editor.js +7 -0
- package/tslint.json +111 -0
|
@@ -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 = {
|