@node-projects/web-component-designer 0.1.17 → 0.1.18

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.
@@ -155,6 +155,14 @@ export class PropertyGridPropertyList extends BaseCustomWebComponentLazyAppend {
155
155
  editor = this._serviceContainer.forSomeServicesTillResult("editorTypesService", x => x.getEditorForProperty(p));
156
156
  }
157
157
  if (editor) {
158
+ if (editor.element instanceof HTMLInputElement) {
159
+ const ip = editor.element;
160
+ ip.ondrop = e => {
161
+ e.preventDefault();
162
+ const data = e.dataTransfer.getData("text/plain");
163
+ ip.value = data;
164
+ };
165
+ }
158
166
  let rectContainer = document.createElement("div");
159
167
  rectContainer.style.width = '20px';
160
168
  rectContainer.style.height = '20px';
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.1.17",
4
+ "version": "0.1.18",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "author": "jochen.kuehner@gmx.de",