@team-monolith/cds 0.29.21 → 0.29.22

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.
@@ -100,14 +100,13 @@ export class Raw extends EditorJSRaw {
100
100
  }
101
101
  onPaste(event) {
102
102
  const content = event.detail.data;
103
- console.log(content);
104
- this.data = {
105
- html: content.textContent,
106
- };
103
+ if (this.textarea) {
104
+ this.textarea.textContent = content.textContent;
105
+ }
107
106
  }
108
107
  static get pasteConfig() {
109
108
  return {
110
- tags: ["pre", "CODE", "TEXTAREA"],
109
+ tags: ["PRE", "CODE", "TEXTAREA"],
111
110
  };
112
111
  }
113
112
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@team-monolith/cds",
3
- "version": "0.29.21",
3
+ "version": "0.29.22",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "sideEffects": false,