@innovastudio/contentbuilder 1.5.6 → 1.5.8
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
|
@@ -2075,20 +2075,6 @@ button:focus-visible {
|
|
|
2075
2075
|
font-weight: 300;
|
|
2076
2076
|
outline: none;
|
|
2077
2077
|
}
|
|
2078
|
-
#_cbhtml .is-modal .pickcolor, #_cbhtml .is-modal .pickcolorclass, #_cbhtml .is-modal .imagesource, #_cbhtml .is-modal .imageadjust, #_cbhtml .is-modal .imageadjust2,
|
|
2079
|
-
#_cbhtml .is-modal .audioselect, #_cbhtml .is-modal .imageselect, #_cbhtml .is-modal .mediaselect, #_cbhtml .is-modal .videoselect, #_cbhtml .is-modal .mediasource,
|
|
2080
|
-
.is-ui .is-modal .pickcolor,
|
|
2081
|
-
.is-ui .is-modal .pickcolorclass,
|
|
2082
|
-
.is-ui .is-modal .imagesource,
|
|
2083
|
-
.is-ui .is-modal .imageadjust,
|
|
2084
|
-
.is-ui .is-modal .imageadjust2,
|
|
2085
|
-
.is-ui .is-modal .audioselect,
|
|
2086
|
-
.is-ui .is-modal .imageselect,
|
|
2087
|
-
.is-ui .is-modal .mediaselect,
|
|
2088
|
-
.is-ui .is-modal .videoselect,
|
|
2089
|
-
.is-ui .is-modal .mediasource {
|
|
2090
|
-
z-index: 10005 !important;
|
|
2091
|
-
}
|
|
2092
2078
|
#_cbhtml .is-modal a:focus,
|
|
2093
2079
|
.is-ui .is-modal a:focus {
|
|
2094
2080
|
outline: #3e93f7 2px solid;
|
|
@@ -2274,13 +2260,14 @@ button:focus-visible {
|
|
|
2274
2260
|
.is-ui .is-modal div.is-modal-footer button {
|
|
2275
2261
|
margin-left: 2px;
|
|
2276
2262
|
}
|
|
2277
|
-
#_cbhtml .is-modal.fileselect, #_cbhtml .is-modal.mediaselect, #_cbhtml .is-modal.imageselect, #_cbhtml .is-modal.videoselect, #_cbhtml .is-modal.otherselect, #_cbhtml .is-modal.pickcolor, #_cbhtml .is-modal.pickcolorclass, #_cbhtml .is-modal.imagesource, #_cbhtml .is-modal.imageadjust, #_cbhtml .is-modal.imageadjust2, #_cbhtml .is-modal.audioselect, #_cbhtml .is-modal.mediasource,
|
|
2263
|
+
#_cbhtml .is-modal.fileselect, #_cbhtml .is-modal.mediaselect, #_cbhtml .is-modal.imageselect, #_cbhtml .is-modal.videoselect, #_cbhtml .is-modal.otherselect, #_cbhtml .is-modal.pickcolor, #_cbhtml .is-modal.pickcolormore, #_cbhtml .is-modal.pickcolorclass, #_cbhtml .is-modal.imagesource, #_cbhtml .is-modal.imageadjust, #_cbhtml .is-modal.imageadjust2, #_cbhtml .is-modal.audioselect, #_cbhtml .is-modal.mediasource,
|
|
2278
2264
|
.is-ui .is-modal.fileselect,
|
|
2279
2265
|
.is-ui .is-modal.mediaselect,
|
|
2280
2266
|
.is-ui .is-modal.imageselect,
|
|
2281
2267
|
.is-ui .is-modal.videoselect,
|
|
2282
2268
|
.is-ui .is-modal.otherselect,
|
|
2283
2269
|
.is-ui .is-modal.pickcolor,
|
|
2270
|
+
.is-ui .is-modal.pickcolormore,
|
|
2284
2271
|
.is-ui .is-modal.pickcolorclass,
|
|
2285
2272
|
.is-ui .is-modal.imagesource,
|
|
2286
2273
|
.is-ui .is-modal.imageadjust,
|
|
@@ -6220,3 +6207,7 @@ div[data-html] {
|
|
|
6220
6207
|
mix-blend-mode: screen;
|
|
6221
6208
|
filter: invert(1);
|
|
6222
6209
|
}
|
|
6210
|
+
|
|
6211
|
+
i.bi, i.icon {
|
|
6212
|
+
display: inline-flex;
|
|
6213
|
+
}
|
|
@@ -1455,11 +1455,13 @@ const renderQuickAdd = builder => {
|
|
|
1455
1455
|
elm = quickadd.querySelector('.add-social');
|
|
1456
1456
|
dom.addEventListener(elm, 'click', () => {
|
|
1457
1457
|
const mode = quickadd.getAttribute('data-mode');
|
|
1458
|
-
const html =
|
|
1459
|
-
|
|
1460
|
-
<a href="https://
|
|
1461
|
-
<a href="
|
|
1462
|
-
|
|
1458
|
+
const html = `
|
|
1459
|
+
<div class="is-social text-left">
|
|
1460
|
+
<a href="https://twitter.com/"><i class="bi bi-twitter-x"></i></a>
|
|
1461
|
+
<a href="https://www.facebook.com/"><i class="bi bi-facebook"></i></a>
|
|
1462
|
+
<a href="https://www.instagram.com/" title=""><i class="icon bi bi-instagram"></i></a>
|
|
1463
|
+
</div>
|
|
1464
|
+
`;
|
|
1463
1465
|
util.addContent(html, mode);
|
|
1464
1466
|
});
|
|
1465
1467
|
elm = quickadd.querySelector('.add-map');
|
|
@@ -45218,6 +45220,8 @@ class Image$1 {
|
|
|
45218
45220
|
try {
|
|
45219
45221
|
img.setAttribute('data-filename', input.files[0].name); //needed for saveimage.js |
|
|
45220
45222
|
|
|
45223
|
+
// img.crossOrigin = 'anonymous';
|
|
45224
|
+
|
|
45221
45225
|
this.processImage(input.files[0], img, () => {
|
|
45222
45226
|
imageProgress.style.display = 'none';
|
|
45223
45227
|
elm = imageTool.querySelector('#fileEmbedImage');
|
|
@@ -71222,7 +71226,7 @@ class Rte {
|
|
|
71222
71226
|
addIcon(classname) {
|
|
71223
71227
|
const dom = this.dom;
|
|
71224
71228
|
this.util.restoreSelection();
|
|
71225
|
-
if (this.builder.activeIcon) {
|
|
71229
|
+
if (this.builder.activeIcon && this.builder.doc.contains(this.builder.activeIcon)) {
|
|
71226
71230
|
this.builder.uo.saveForUndo();
|
|
71227
71231
|
|
|
71228
71232
|
/*
|
|
@@ -71254,6 +71258,12 @@ class Rte {
|
|
|
71254
71258
|
this.builder.uo.saveForUndo();
|
|
71255
71259
|
this.util.pasteHtmlAtCaret('<i class="' + classname + ' icon-active"></i>', true);
|
|
71256
71260
|
this.builder.activeIcon = this.builder.doc.querySelector('.icon-active');
|
|
71261
|
+
|
|
71262
|
+
// this.util.pasteHtmlAtCaret('<i class="icon-active"></i>', true);
|
|
71263
|
+
// const newIcon = this.builder.doc.querySelector('.icon-active');
|
|
71264
|
+
// newIcon.className = classname + ' icon-active';
|
|
71265
|
+
// this.builder.activeIcon = newIcon;
|
|
71266
|
+
|
|
71257
71267
|
dom.selectElementContents(this.builder.activeIcon);
|
|
71258
71268
|
this.util.saveSelection();
|
|
71259
71269
|
}
|