@team-monolith/cds 0.29.26 → 0.29.28

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.
@@ -34,8 +34,9 @@ export declare class Quote implements BlockTool {
34
34
  icon: string;
35
35
  title: string;
36
36
  };
37
- static get sanitize(): {
38
- blockquote: {};
37
+ onPaste(event: any): void;
38
+ static get pasteConfig(): {
39
+ tags: string[];
39
40
  };
40
41
  }
41
42
  export {};
@@ -158,9 +158,13 @@ export class Quote {
158
158
  title: "Quote",
159
159
  };
160
160
  }
161
- static get sanitize() {
161
+ onPaste(event) {
162
+ const content = event.detail.data;
163
+ this._wrapper.innerHTML = content.textContent;
164
+ }
165
+ static get pasteConfig() {
162
166
  return {
163
- blockquote: {},
167
+ tags: ["BLOCKQUOTE"],
164
168
  };
165
169
  }
166
170
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@team-monolith/cds",
3
- "version": "0.29.26",
3
+ "version": "0.29.28",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "sideEffects": false,