@node-projects/web-component-designer 0.0.224 → 0.0.226

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.
@@ -124,7 +124,7 @@ class CodeViewMonaco extends BaseCustomWebComponentLazyAppend {
124
124
  //wordWrap: 'wordWrapColumn',
125
125
  fontLigatures: '',
126
126
  value: this.code,
127
- language: 'html',
127
+ language: this.language,
128
128
  minimap: {
129
129
  size: 'fill'
130
130
  },
@@ -172,6 +172,8 @@ class CodeViewMonaco extends BaseCustomWebComponentLazyAppend {
172
172
  this._monacoEditor.setValue(code);
173
173
  //@ts-ignore
174
174
  monaco.editor.setModelLanguage(this._monacoEditor.getModel(), this.language);
175
+ //@ts-ignore
176
+ monaco.editor.setTheme(this.theme);
175
177
  }
176
178
  }
177
179
  getText() {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "description": "A UI designer for Polymer apps",
3
3
  "name": "@node-projects/web-component-designer",
4
- "version": "0.0.224",
4
+ "version": "0.0.226",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "author": "",