@dile/editor 2.3.1 → 2.3.2
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/package.json +2 -2
- package/src/DileEditor.js +3 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dile/editor",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.2",
|
|
4
4
|
"description": "Webcomponent to create a user editor interface, configured on various ways",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"markdown",
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"prosemirror-state": "^1.4.2",
|
|
42
42
|
"prosemirror-view": "^1.30.1"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "ea951d488df2f6ae44dec2b4b4487549caca09e6"
|
|
45
45
|
}
|
package/src/DileEditor.js
CHANGED
|
@@ -192,6 +192,9 @@ export class DileEditor extends DileI18nMixin(DileEmmitChange(LitElement)) {
|
|
|
192
192
|
if(changedProperties.has('value') && this.isValueExternalyUpdated) {
|
|
193
193
|
this.updateEditorContent(this.value);
|
|
194
194
|
}
|
|
195
|
+
if(changedProperties.has('value')) {
|
|
196
|
+
this.emmitChange();
|
|
197
|
+
}
|
|
195
198
|
}
|
|
196
199
|
|
|
197
200
|
firstUpdated() {
|