jodit-pro-react 5.4.20 → 5.4.21
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.
|
@@ -47112,20 +47112,21 @@ Config.prototype.customStyles = { definitions: [] }, Config.prototype.controls.s
|
|
|
47112
47112
|
const e40 = t42.o.customStyles.definitions;
|
|
47113
47113
|
return e40.length ? d42(t42, e40) != null : false;
|
|
47114
47114
|
}, update(t42, e40) {
|
|
47115
|
+
var s50;
|
|
47115
47116
|
const o48 = t42.o.customStyles.definitions;
|
|
47116
47117
|
if (!o48.length) return;
|
|
47117
|
-
const
|
|
47118
|
-
t42.o.textIcons && (
|
|
47119
|
-
}, popup(t42, e40,
|
|
47120
|
-
const
|
|
47121
|
-
if (!
|
|
47118
|
+
const n48 = d42(t42, o48), i48 = ((s50 = e40.control) === null || s50 === void 0 ? void 0 : s50.component) === "select";
|
|
47119
|
+
(t42.o.textIcons || i48) && (n48 ? e40.state.text = n48.name : e40.state.text = i48 ? t42.i18n("Styles") : "");
|
|
47120
|
+
}, popup(t42, e40, s50) {
|
|
47121
|
+
const o48 = t42.o.customStyles.definitions;
|
|
47122
|
+
if (!o48.length) return false;
|
|
47122
47123
|
t42.s.current() || t42.s.focus(), t42.s.save();
|
|
47123
|
-
const
|
|
47124
|
-
t42.s.restore(),
|
|
47124
|
+
const n48 = w10(t42, o48, () => {
|
|
47125
|
+
t42.s.restore(), s50();
|
|
47125
47126
|
});
|
|
47126
47127
|
return t42.e.one("beforePopupClose", () => {
|
|
47127
47128
|
t42.s.restore();
|
|
47128
|
-
}),
|
|
47129
|
+
}), n48;
|
|
47129
47130
|
} };
|
|
47130
47131
|
|
|
47131
47132
|
// node_modules/jodit-pro/esm/plugins/style/style.js
|