jsuites 5.13.1 → 5.13.3
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/dist/jsuites.css +1 -0
- package/dist/jsuites.js +5 -9
- package/package.json +1 -1
package/dist/jsuites.css
CHANGED
package/dist/jsuites.js
CHANGED
|
@@ -3351,10 +3351,6 @@ function Mask() {
|
|
|
3351
3351
|
return value;
|
|
3352
3352
|
}
|
|
3353
3353
|
|
|
3354
|
-
obj.autoCasting = function() {
|
|
3355
|
-
return false;
|
|
3356
|
-
}
|
|
3357
|
-
|
|
3358
3354
|
return obj;
|
|
3359
3355
|
}
|
|
3360
3356
|
|
|
@@ -9846,13 +9842,13 @@ function Editor() {
|
|
|
9846
9842
|
|
|
9847
9843
|
items.push({
|
|
9848
9844
|
content: 'format_indent_decrease',
|
|
9849
|
-
onclick: function() {
|
|
9845
|
+
onclick: function(a,b,c) {
|
|
9850
9846
|
document.execCommand('outdent');
|
|
9851
9847
|
|
|
9852
9848
|
if (document.queryCommandState("outdent")) {
|
|
9853
|
-
|
|
9849
|
+
c.classList.add('selected');
|
|
9854
9850
|
} else {
|
|
9855
|
-
|
|
9851
|
+
c.classList.remove('selected');
|
|
9856
9852
|
}
|
|
9857
9853
|
}
|
|
9858
9854
|
});
|
|
@@ -13076,7 +13072,7 @@ var jsuites_jSuites = {
|
|
|
13076
13072
|
...dictionary,
|
|
13077
13073
|
...helpers,
|
|
13078
13074
|
/** Current version */
|
|
13079
|
-
version: '5.13.
|
|
13075
|
+
version: '5.13.3',
|
|
13080
13076
|
/** Bind new extensions to Jsuites */
|
|
13081
13077
|
setExtensions: function(o) {
|
|
13082
13078
|
if (typeof(o) == 'object') {
|
|
@@ -13476,7 +13472,7 @@ const Events = function() {
|
|
|
13476
13472
|
|
|
13477
13473
|
const focus = function(e) {
|
|
13478
13474
|
let element = getElement(e);
|
|
13479
|
-
// Check if this is
|
|
13475
|
+
// Check if this is floating
|
|
13480
13476
|
let item = jsuites_jSuites.findElement(element, 'jpanel');
|
|
13481
13477
|
if (item && ! item.classList.contains("readonly") && item.classList.contains('jpanel-controls')) {
|
|
13482
13478
|
item.append(...position);
|
package/package.json
CHANGED