@team-monolith/cds 0.29.22 → 0.29.24
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.
|
@@ -92,16 +92,11 @@ export class Raw extends EditorJSRaw {
|
|
|
92
92
|
title: "Code",
|
|
93
93
|
};
|
|
94
94
|
}
|
|
95
|
-
static get sanitize() {
|
|
96
|
-
return {
|
|
97
|
-
html: true,
|
|
98
|
-
code: false,
|
|
99
|
-
};
|
|
100
|
-
}
|
|
101
95
|
onPaste(event) {
|
|
96
|
+
var _a;
|
|
102
97
|
const content = event.detail.data;
|
|
103
98
|
if (this.textarea) {
|
|
104
|
-
this.textarea.textContent = content.textContent;
|
|
99
|
+
this.textarea.textContent = (_a = content.textContent) !== null && _a !== void 0 ? _a : "";
|
|
105
100
|
}
|
|
106
101
|
}
|
|
107
102
|
static get pasteConfig() {
|