@innovastudio/contentbuilder 1.5.71 → 1.5.73
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -5304,7 +5304,7 @@ class Util {
|
|
5304
5304
|
this.builder.uo.saveForUndo();
|
5305
5305
|
let element = elm;
|
5306
5306
|
let newelement;
|
5307
|
-
if (!element.nextElementSibling) {
|
5307
|
+
if (!element.nextElementSibling && !element.closest('[data-subblock]')) {
|
5308
5308
|
// active element is div.display > p.
|
5309
5309
|
let activeCol = this.builder.activeCol;
|
5310
5310
|
let current;
|
@@ -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
|
@@ -95084,18 +95081,19 @@ Add an image for each feature.`, 'Create a new content showcasing a photo galler
|
|
95084
95081
|
if (snippetData) snippetData.remove();
|
95085
95082
|
if (this.eb) this.eb.destroy();
|
95086
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);
|
95087
95087
|
|
95088
|
-
// document.removeEventListener('click', this.doDocumentClick, false);
|
95089
|
-
document.removeEventListener('mousedown', this.doDocumentClick);
|
95090
|
-
document.removeEventListener('touchstart', this.doDocumentClick);
|
95091
95088
|
document.removeEventListener('keydown', this.doDocumentKeydown, false);
|
95092
95089
|
document.removeEventListener('mousedown', this.doDocumentMousedown, false);
|
95093
95090
|
document.removeEventListener('click', this.doRteClick, false);
|
95094
95091
|
this.doc.removeEventListener('click', this.doHideSnippetHandler, false);
|
95095
95092
|
if (this.iframe) {
|
95096
|
-
|
95097
|
-
this.doc.removeEventListener('mousedown', this.doDocumentClick);
|
95098
|
-
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
|
+
|
95099
95097
|
this.doc.removeEventListener('keydown', this.doDocumentKeydown, false);
|
95100
95098
|
this.doc.removeEventListener('mousedown', this.doDocumentMousedown, false);
|
95101
95099
|
this.doc.removeEventListener('click', this.doRteClick, false);
|