@innovastudio/contentbuilder 1.3.72 → 1.3.74
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
@@ -50947,8 +50947,8 @@ class ButtonEditor {
|
|
50947
50947
|
let elm = e.target;
|
50948
50948
|
this.builder.colorPicker.open(color => {
|
50949
50949
|
const activeButton = this.builder.activeButton || this.builder.activeLinkButton;
|
50950
|
-
activeButton.style.backgroundColor = color;
|
50951
|
-
|
50950
|
+
activeButton.style.backgroundColor = color;
|
50951
|
+
activeButton.setAttribute('data-bg', color);
|
50952
50952
|
dom.removeClassesByPrefix(activeButton, 'bg-');
|
50953
50953
|
elm.style.backgroundColor = color; // preview
|
50954
50954
|
//Trigger Change event
|
@@ -76024,15 +76024,14 @@ class ContentBuilder {
|
|
76024
76024
|
scroll: true,
|
76025
76025
|
// invertSwap: true, /* https://github.com/SortableJS/Sortable/wiki/Swap-Thresholds-and-Direction#swap-threshold */
|
76026
76026
|
group: 'shared',
|
76027
|
-
direction: 'dummy',
|
76028
|
-
// works well with border-right hack & empty-info
|
76027
|
+
// direction: 'dummy', // works well with border-right hack & empty-info
|
76029
76028
|
animation: 300,
|
76030
76029
|
handle: '.row-handle',
|
76031
76030
|
// swapThreshold: 0.1, // this cause drag drop snippet sometimes difficult
|
76032
76031
|
// invertedSwapThreshold: 0.1,
|
76033
76032
|
sort: true,
|
76034
76033
|
//new
|
76035
|
-
swapThreshold: 0.5,
|
76034
|
+
// swapThreshold: 0.5,
|
76036
76035
|
onChoose: () => {
|
76037
76036
|
// Get zoom (scale) value
|
76038
76037
|
let scale;
|
@@ -78557,8 +78556,8 @@ class ContentBuilder {
|
|
78557
78556
|
animation: 150,
|
78558
78557
|
sort: true,
|
78559
78558
|
// draggable: '.dummy',
|
78560
|
-
swapThreshold: 0.1,
|
78561
|
-
invertSwap: true,
|
78559
|
+
// swapThreshold: 0.1,
|
78560
|
+
// invertSwap: true,
|
78562
78561
|
onAdd: evt => {
|
78563
78562
|
var itemEl = evt.item;
|
78564
78563
|
|