@innovastudio/contentbuilder 1.4.33 → 1.4.34
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
@@ -52820,6 +52820,11 @@ class ButtonEditor {
|
|
52820
52820
|
}
|
52821
52821
|
|
52822
52822
|
activeButton.classList.remove('active');
|
52823
|
+
|
52824
|
+
if (activeButton.tagName.toLowerCase() === 'a') {
|
52825
|
+
activeButton.setAttribute('role', 'button');
|
52826
|
+
}
|
52827
|
+
|
52823
52828
|
this.realtime();
|
52824
52829
|
this.builder.opts.onChange();
|
52825
52830
|
e.preventDefault();
|
@@ -52885,6 +52890,11 @@ class ButtonEditor {
|
|
52885
52890
|
}
|
52886
52891
|
|
52887
52892
|
activeButton.classList.remove('active');
|
52893
|
+
|
52894
|
+
if (activeButton.tagName.toLowerCase() === 'a') {
|
52895
|
+
activeButton.setAttribute('role', 'button');
|
52896
|
+
}
|
52897
|
+
|
52888
52898
|
this.builder.opts.onChange();
|
52889
52899
|
this.realtime();
|
52890
52900
|
e.preventDefault();
|
@@ -52957,6 +52967,10 @@ class ButtonEditor {
|
|
52957
52967
|
link.removeAttribute('data-hover-color');
|
52958
52968
|
link.removeAttribute('data-hover-bordercolor');
|
52959
52969
|
dom.addClass(link, 'whitespace-nowrap');
|
52970
|
+
|
52971
|
+
if (link.tagName.toLowerCase() === 'a') {
|
52972
|
+
link.setAttribute('role', 'button');
|
52973
|
+
}
|
52960
52974
|
}
|
52961
52975
|
|
52962
52976
|
cleanupOldClasses(link) {
|