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