@innovastudio/contentbuilder 1.5.194 → 1.5.195
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
|
@@ -95446,6 +95446,7 @@ class ContentBuilder {
|
|
|
95446
95446
|
if (e.target.closest('[data-html]')) return; // normal paste
|
|
95447
95447
|
|
|
95448
95448
|
e.preventDefault();
|
|
95449
|
+
e.stopPropagation();
|
|
95449
95450
|
let clipboardDataText = (e.clipboardData || window.clipboardData).getData('text');
|
|
95450
95451
|
let clipboardDataHtml = (e.clipboardData || window.clipboardData).getData('text/html');
|
|
95451
95452
|
if (clipboardDataHtml.trim() === '') clipboardDataHtml = clipboardDataText;
|