@syncfusion/ej2-inplace-editor 20.4.40 → 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 +16 -1
- package/CHANGELOG.md +6 -0
- package/README.md +1 -1
- 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 +18 -16
- package/src/inplace-editor/base/inplace-editor-model.d.ts +1 -1
- package/src/inplace-editor/base/inplace-editor.js +7 -0
- package/styles/bootstrap4.css +1 -1
- package/styles/inplace-editor/bootstrap4.css +1 -1
|
@@ -1061,6 +1061,13 @@ var InPlaceEditor = /** @__PURE__ @class */ (function (_super) {
|
|
|
1061
1061
|
var count_1 = 0;
|
|
1062
1062
|
this.formValidate = new FormValidator(this.formEle, {
|
|
1063
1063
|
rules: this.validationRules,
|
|
1064
|
+
validationBegin: function (e) {
|
|
1065
|
+
if (_this.type === 'RTE') {
|
|
1066
|
+
var ele = document.createElement('div');
|
|
1067
|
+
ele.innerHTML = e.value;
|
|
1068
|
+
e.value = ele.innerText;
|
|
1069
|
+
}
|
|
1070
|
+
},
|
|
1064
1071
|
validationComplete: function (e) {
|
|
1065
1072
|
count_1 = count_1 + 1;
|
|
1066
1073
|
args = {
|