@innovastudio/contentbuilder 1.5.87 → 1.5.88
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.
package/package.json
CHANGED
@@ -95204,6 +95204,8 @@ Add an image for each feature.`, 'Create a new content showcasing a photo galler
|
|
95204
95204
|
// ON PASTE
|
95205
95205
|
// col.addEventListener('paste', this.handleCellPaste.bind(this));
|
95206
95206
|
col.addEventListener('paste', e => {
|
95207
|
+
if (e.target.closest('[data-html]')) return; // normal paste
|
95208
|
+
|
95207
95209
|
e.preventDefault();
|
95208
95210
|
let clipboardDataText = (e.clipboardData || window.clipboardData).getData('text');
|
95209
95211
|
let clipboardDataHtml = (e.clipboardData || window.clipboardData).getData('text/html');
|