@node-projects/web-component-designer-codeview-monaco 0.1.22 → 0.1.23

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.
@@ -184,6 +184,7 @@ export class CodeViewMonaco extends BaseCustomWebComponentLazyAppend {
184
184
  disableCursorChange = false;
185
185
  }, 50);
186
186
  this.onTextChanged.emit(this._monacoEditor.getValue());
187
+ this.dispatchEvent(new CustomEvent('code-changed'));
187
188
  });
188
189
  this._monacoEditor.onDidChangeModel(e => {
189
190
  changeContentListener.dispose();
@@ -197,6 +198,7 @@ export class CodeViewMonaco extends BaseCustomWebComponentLazyAppend {
197
198
  disableCursorChange = false;
198
199
  }, 50);
199
200
  this.onTextChanged.emit(this._monacoEditor.getValue());
201
+ this.dispatchEvent(new CustomEvent('code-changed'));
200
202
  });
201
203
  });
202
204
  this._monacoEditor.onDidChangeCursorPosition(e => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "description": "web-component-designer addon: Code Editor using Monaco",
3
3
  "name": "@node-projects/web-component-designer-codeview-monaco",
4
- "version": "0.1.22",
4
+ "version": "0.1.23",
5
5
  "type": "module",
6
6
  "main": "./dist/widgets/codeView/code-view-monaco.js",
7
7
  "author": "jochen.kuehner@gmx.de",