@innovastudio/contentbuilder 1.4.135 → 1.4.137
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
|
@@ -159,6 +159,7 @@ class Util {
|
|
|
159
159
|
e.preventDefault();
|
|
160
160
|
e.stopImmediatePropagation();
|
|
161
161
|
});
|
|
162
|
+
if (buttonok) buttonok.focus();
|
|
162
163
|
}
|
|
163
164
|
showRtePop(pop, onShow, btn) {
|
|
164
165
|
const dom = this.dom;
|
|
@@ -76967,8 +76968,9 @@ class ContentBuilder {
|
|
|
76967
76968
|
// col.addEventListener('paste', this.handleCellPaste.bind(this));
|
|
76968
76969
|
col.addEventListener('paste', e => {
|
|
76969
76970
|
e.preventDefault();
|
|
76970
|
-
|
|
76971
|
-
|
|
76971
|
+
let clipboardDataText = (e.clipboardData || window.clipboardData).getData('text');
|
|
76972
|
+
let clipboardDataHtml = (e.clipboardData || window.clipboardData).getData('text/html');
|
|
76973
|
+
if (clipboardDataHtml.trim() === '') clipboardDataHtml = clipboardDataText;
|
|
76972
76974
|
this.handleCellPaste(clipboardDataText, clipboardDataHtml);
|
|
76973
76975
|
});
|
|
76974
76976
|
col.setAttribute('data-click', true);
|