@team-monolith/cds 0.29.23 → 0.29.25

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.
@@ -93,9 +93,10 @@ export class Raw extends EditorJSRaw {
93
93
  };
94
94
  }
95
95
  onPaste(event) {
96
+ var _a;
96
97
  const content = event.detail.data;
97
98
  if (this.textarea) {
98
- this.textarea.textContent = content.textContent;
99
+ this.textarea.textContent = (_a = content.textContent) !== null && _a !== void 0 ? _a : "";
99
100
  }
100
101
  }
101
102
  static get pasteConfig() {
@@ -12,7 +12,7 @@ export declare class Bold implements InlineTool {
12
12
  static title: string;
13
13
  /**
14
14
  * Sanitizer Rule
15
- * Leave <b> tags
15
+ * Leave <b>, <strong> tags
16
16
  *
17
17
  * @returns {object}
18
18
  */
@@ -25,13 +25,14 @@ export class Bold {
25
25
  }
26
26
  /**
27
27
  * Sanitizer Rule
28
- * Leave <b> tags
28
+ * Leave <b>, <strong> tags
29
29
  *
30
30
  * @returns {object}
31
31
  */
32
32
  static get sanitize() {
33
33
  return {
34
34
  b: {},
35
+ strong: {},
35
36
  };
36
37
  }
37
38
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@team-monolith/cds",
3
- "version": "0.29.23",
3
+ "version": "0.29.25",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "sideEffects": false,