@node-projects/web-component-designer 0.0.225 → 0.0.227

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
  },
@@ -137,6 +137,8 @@ class CodeViewMonaco extends BaseCustomWebComponentLazyAppend {
137
137
  horizontal: 'visible'
138
138
  }
139
139
  });
140
+ //@ts-ignore
141
+ monaco.editor.setTheme(value);
140
142
  let changeContentListener = this._monacoEditor.getModel().onDidChangeContent(e => {
141
143
  this.onTextChanged.emit(this._monacoEditor.getValue());
142
144
  });
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.225",
4
+ "version": "0.0.227",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "author": "",