@syncfusion/ej2-richtexteditor
Advanced tools
Comparing version 16.4.53 to 16.4.54
@@ -9,2 +9,14 @@ # Changelog | ||
- HTML 5 form reset behaviour has been corrected. | ||
- Editor content rendered twice in DOM when using `RichTextEditorFor`, that issue has been fixed. | ||
- EJ2 compatibility styles are not worked while component rendering with `textarea` element, that issue has been fixed. | ||
## 16.4.53 (2019-02-13) | ||
### RichTextEditor | ||
#### Bug Fixes | ||
- Console error is thrown in IE11 browser while using the SVG element style with transform and then render the RichTextEditor in an application, that issue has been fixed. | ||
@@ -11,0 +23,0 @@ |
/*! | ||
* filename: index.d.ts | ||
* version : 16.4.53 | ||
* version : 16.4.54 | ||
* Copyright Syncfusion Inc. 2001 - 2019. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
{ | ||
"name": "@syncfusion/ej2-richtexteditor", | ||
"version": "16.4.53", | ||
"version": "16.4.54", | ||
"description": "Essential JS 2 RichTextEditor component", | ||
@@ -12,4 +12,4 @@ "author": "Syncfusion Inc.", | ||
"@syncfusion/ej2-base": "~16.4.52", | ||
"@syncfusion/ej2-navigations": "~16.4.53", | ||
"@syncfusion/ej2-popups": "~16.4.53", | ||
"@syncfusion/ej2-navigations": "~16.4.54", | ||
"@syncfusion/ej2-popups": "~16.4.54", | ||
"@syncfusion/ej2-splitbuttons": "~16.4.53" | ||
@@ -16,0 +16,0 @@ }, |
@@ -163,8 +163,8 @@ var __extends = (this && this.__extends) || (function () { | ||
var rteOuterWrapper = this.createElement('div', { | ||
className: 'e-control e-richtexteditor' | ||
className: this.element.getAttribute('class') | ||
}); | ||
rteOuterWrapper.innerHTML = this.element.value; | ||
this.element.innerHTML = ''; | ||
this.element.parentElement.insertBefore(rteOuterWrapper, this.element); | ||
this.valueContainer = this.element; | ||
this.valueContainer.classList.remove('e-control', 'e-richtexteditor'); | ||
removeClass([this.valueContainer], this.element.getAttribute('class').split(' ')); | ||
this.element = rteOuterWrapper; | ||
@@ -179,5 +179,2 @@ } | ||
addClass([this.valueContainer], classes.CLS_RTE_HIDDEN); | ||
if (this.value !== null) { | ||
this.valueContainer.value = this.value; | ||
} | ||
this.element.appendChild(this.valueContainer); | ||
@@ -273,2 +270,5 @@ }; | ||
this.setContentHeight(); | ||
if (this.value !== null) { | ||
this.valueContainer.defaultValue = this.value; | ||
} | ||
(!this.enabled) ? this.unWireEvents() : this.eventInitializer(); | ||
@@ -1126,4 +1126,3 @@ }; | ||
RichTextEditor.prototype.resetHandler = function () { | ||
this.setProperties({ value: null }); | ||
this.invokeChangeEvent(); | ||
this.setProperties({ value: this.valueContainer.defaultValue === '' ? null : this.valueContainer.defaultValue }); | ||
}; | ||
@@ -1130,0 +1129,0 @@ /** |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9470083
81644