@innovastudio/contentbuilder 1.5.72 → 1.5.73
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
@@ -93544,17 +93544,14 @@ Add an image for each feature.`, 'Create a new content showcasing a photo galler
|
|
93544
93544
|
*/
|
93545
93545
|
};
|
93546
93546
|
|
93547
|
-
|
93548
|
-
document.addEventListener('mousedown', this.doDocumentClick);
|
93549
|
-
document.addEventListener('touchstart', this.doDocumentClick, {
|
93550
|
-
|
93551
|
-
});
|
93547
|
+
document.addEventListener('click', this.doDocumentClick);
|
93548
|
+
// document.addEventListener('mousedown', this.doDocumentClick);
|
93549
|
+
// document.addEventListener('touchstart', this.doDocumentClick, { passive: false });
|
93550
|
+
|
93552
93551
|
if (this.iframe) {
|
93553
|
-
|
93554
|
-
this.doc.addEventListener('mousedown', this.doDocumentClick);
|
93555
|
-
this.doc.addEventListener('touchstart', this.doDocumentClick, {
|
93556
|
-
passive: false
|
93557
|
-
});
|
93552
|
+
this.doc.addEventListener('click', this.doDocumentClick);
|
93553
|
+
// this.doc.addEventListener('mousedown', this.doDocumentClick);
|
93554
|
+
// this.doc.addEventListener('touchstart', this.doDocumentClick, { passive: false });
|
93558
93555
|
}
|
93559
93556
|
|
93560
93557
|
// Drag row will hide content tools
|
@@ -94298,11 +94295,7 @@ Add an image for each feature.`, 'Create a new content showcasing a photo galler
|
|
94298
94295
|
if (!col.getAttribute('data-click')) {
|
94299
94296
|
// ON CLICK
|
94300
94297
|
// Use bind() => https://www.w3schools.com/react/react_events.asp
|
94301
|
-
|
94302
|
-
col.addEventListener('mousedown', this.handleCellClick.bind(this, col));
|
94303
|
-
col.addEventListener('touchstart', this.handleCellClick.bind(this, col), {
|
94304
|
-
passive: false
|
94305
|
-
});
|
94298
|
+
col.addEventListener('click', this.handleCellClick.bind(this, col));
|
94306
94299
|
|
94307
94300
|
// ON KEYPRESS
|
94308
94301
|
col.addEventListener('keydown', this.handleCellKeypress.bind(this));
|
@@ -95088,18 +95081,19 @@ Add an image for each feature.`, 'Create a new content showcasing a photo galler
|
|
95088
95081
|
if (snippetData) snippetData.remove();
|
95089
95082
|
if (this.eb) this.eb.destroy();
|
95090
95083
|
this.doc.body.classList.remove('data-editor');
|
95084
|
+
document.removeEventListener('click', this.doDocumentClick, false);
|
95085
|
+
// document.removeEventListener('mousedown', this.doDocumentClick);
|
95086
|
+
// document.removeEventListener('touchstart', this.doDocumentClick);
|
95091
95087
|
|
95092
|
-
// document.removeEventListener('click', this.doDocumentClick, false);
|
95093
|
-
document.removeEventListener('mousedown', this.doDocumentClick);
|
95094
|
-
document.removeEventListener('touchstart', this.doDocumentClick);
|
95095
95088
|
document.removeEventListener('keydown', this.doDocumentKeydown, false);
|
95096
95089
|
document.removeEventListener('mousedown', this.doDocumentMousedown, false);
|
95097
95090
|
document.removeEventListener('click', this.doRteClick, false);
|
95098
95091
|
this.doc.removeEventListener('click', this.doHideSnippetHandler, false);
|
95099
95092
|
if (this.iframe) {
|
95100
|
-
|
95101
|
-
this.doc.removeEventListener('mousedown', this.doDocumentClick);
|
95102
|
-
this.doc.removeEventListener('touchstart', this.doDocumentClick);
|
95093
|
+
this.doc.removeEventListener('click', this.doDocumentClick, false);
|
95094
|
+
// this.doc.removeEventListener('mousedown', this.doDocumentClick);
|
95095
|
+
// this.doc.removeEventListener('touchstart', this.doDocumentClick);
|
95096
|
+
|
95103
95097
|
this.doc.removeEventListener('keydown', this.doDocumentKeydown, false);
|
95104
95098
|
this.doc.removeEventListener('mousedown', this.doDocumentMousedown, false);
|
95105
95099
|
this.doc.removeEventListener('click', this.doRteClick, false);
|