@innovastudio/contentbox 1.5.45 → 1.5.46
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@innovastudio/contentbox",
|
3
3
|
"type": "module",
|
4
|
-
"version": "1.5.
|
4
|
+
"version": "1.5.46",
|
5
5
|
"description": "",
|
6
6
|
"main": "public/contentbox/contentbox.esm.js",
|
7
7
|
"files": [
|
@@ -46,7 +46,6 @@
|
|
46
46
|
"webpack-dev-server": "^4.0.0"
|
47
47
|
},
|
48
48
|
"dependencies": {
|
49
|
-
"@innovastudio/contentbuilder": "^1.4.33",
|
50
49
|
"js-beautify": "^1.14.0"
|
51
50
|
}
|
52
51
|
}
|
@@ -67249,6 +67249,11 @@ class ButtonEditor {
|
|
67249
67249
|
}
|
67250
67250
|
|
67251
67251
|
activeButton.classList.remove('active');
|
67252
|
+
|
67253
|
+
if (activeButton.tagName.toLowerCase() === 'a') {
|
67254
|
+
activeButton.setAttribute('role', 'button');
|
67255
|
+
}
|
67256
|
+
|
67252
67257
|
this.realtime();
|
67253
67258
|
this.builder.opts.onChange();
|
67254
67259
|
e.preventDefault();
|
@@ -67314,6 +67319,11 @@ class ButtonEditor {
|
|
67314
67319
|
}
|
67315
67320
|
|
67316
67321
|
activeButton.classList.remove('active');
|
67322
|
+
|
67323
|
+
if (activeButton.tagName.toLowerCase() === 'a') {
|
67324
|
+
activeButton.setAttribute('role', 'button');
|
67325
|
+
}
|
67326
|
+
|
67317
67327
|
this.builder.opts.onChange();
|
67318
67328
|
this.realtime();
|
67319
67329
|
e.preventDefault();
|
@@ -67386,6 +67396,10 @@ class ButtonEditor {
|
|
67386
67396
|
link.removeAttribute('data-hover-color');
|
67387
67397
|
link.removeAttribute('data-hover-bordercolor');
|
67388
67398
|
dom.addClass(link, 'whitespace-nowrap');
|
67399
|
+
|
67400
|
+
if (link.tagName.toLowerCase() === 'a') {
|
67401
|
+
link.setAttribute('role', 'button');
|
67402
|
+
}
|
67389
67403
|
}
|
67390
67404
|
|
67391
67405
|
cleanupOldClasses(link) {
|