@innovastudio/contentbuilder 1.5.69 → 1.5.71
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
|
@@ -82074,6 +82074,7 @@ class Dictation {
|
|
|
82074
82074
|
renderPanel() {
|
|
82075
82075
|
const builderStuff = this.builder.builderStuff;
|
|
82076
82076
|
this.builderStuff = builderStuff;
|
|
82077
|
+
if (builderStuff.querySelector('.page-command')) return;
|
|
82077
82078
|
const util = this.builder.util;
|
|
82078
82079
|
this.util = util;
|
|
82079
82080
|
let disclaimerText = util.out('AI-Disclaimer');
|
|
@@ -93410,7 +93411,7 @@ Add an image for each feature.`, 'Create a new content showcasing a photo galler
|
|
|
93410
93411
|
};
|
|
93411
93412
|
|
|
93412
93413
|
// Add document Click event
|
|
93413
|
-
|
|
93414
|
+
this.doDocumentClick = e => {
|
|
93414
93415
|
let target = e.target;
|
|
93415
93416
|
if (!target) return;
|
|
93416
93417
|
rteClick(e);
|
|
@@ -93541,10 +93542,19 @@ Add an image for each feature.`, 'Create a new content showcasing a photo galler
|
|
|
93541
93542
|
});
|
|
93542
93543
|
}
|
|
93543
93544
|
*/
|
|
93544
|
-
}
|
|
93545
|
+
};
|
|
93545
93546
|
|
|
93547
|
+
// document.addEventListener('click', this.doDocumentClick);
|
|
93548
|
+
document.addEventListener('mousedown', this.doDocumentClick);
|
|
93549
|
+
document.addEventListener('touchstart', this.doDocumentClick, {
|
|
93550
|
+
passive: false
|
|
93551
|
+
});
|
|
93546
93552
|
if (this.iframe) {
|
|
93547
|
-
this.doc.addEventListener('click', this.doDocumentClick);
|
|
93553
|
+
// this.doc.addEventListener('click', this.doDocumentClick);
|
|
93554
|
+
this.doc.addEventListener('mousedown', this.doDocumentClick);
|
|
93555
|
+
this.doc.addEventListener('touchstart', this.doDocumentClick, {
|
|
93556
|
+
passive: false
|
|
93557
|
+
});
|
|
93548
93558
|
}
|
|
93549
93559
|
|
|
93550
93560
|
// Drag row will hide content tools
|
|
@@ -95074,13 +95084,18 @@ Add an image for each feature.`, 'Create a new content showcasing a photo galler
|
|
|
95074
95084
|
if (snippetData) snippetData.remove();
|
|
95075
95085
|
if (this.eb) this.eb.destroy();
|
|
95076
95086
|
this.doc.body.classList.remove('data-editor');
|
|
95077
|
-
|
|
95087
|
+
|
|
95088
|
+
// document.removeEventListener('click', this.doDocumentClick, false);
|
|
95089
|
+
document.removeEventListener('mousedown', this.doDocumentClick);
|
|
95090
|
+
document.removeEventListener('touchstart', this.doDocumentClick);
|
|
95078
95091
|
document.removeEventListener('keydown', this.doDocumentKeydown, false);
|
|
95079
95092
|
document.removeEventListener('mousedown', this.doDocumentMousedown, false);
|
|
95080
95093
|
document.removeEventListener('click', this.doRteClick, false);
|
|
95081
95094
|
this.doc.removeEventListener('click', this.doHideSnippetHandler, false);
|
|
95082
95095
|
if (this.iframe) {
|
|
95083
|
-
this.doc.removeEventListener('click', this.doDocumentClick, false);
|
|
95096
|
+
// this.doc.removeEventListener('click', this.doDocumentClick, false);
|
|
95097
|
+
this.doc.removeEventListener('mousedown', this.doDocumentClick);
|
|
95098
|
+
this.doc.removeEventListener('touchstart', this.doDocumentClick);
|
|
95084
95099
|
this.doc.removeEventListener('keydown', this.doDocumentKeydown, false);
|
|
95085
95100
|
this.doc.removeEventListener('mousedown', this.doDocumentMousedown, false);
|
|
95086
95101
|
this.doc.removeEventListener('click', this.doRteClick, false);
|