jodit-pro-react 5.5.30 → 5.5.32
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.
|
@@ -193,7 +193,7 @@ var APP_VERSION, ES, IS_ES_MODERN, IS_ES_NEXT, IS_PROD, IS_TEST, FAT_MODE, HOMEP
|
|
|
193
193
|
var init_constants = __esm({
|
|
194
194
|
"node_modules/jodit/esm/core/constants.js"() {
|
|
195
195
|
"use strict";
|
|
196
|
-
APP_VERSION = "4.12.
|
|
196
|
+
APP_VERSION = "4.12.12";
|
|
197
197
|
ES = "es2020";
|
|
198
198
|
IS_ES_MODERN = true;
|
|
199
199
|
IS_ES_NEXT = true;
|
|
@@ -17245,12 +17245,15 @@ function getShadowRoot(jodit) {
|
|
|
17245
17245
|
return shadowRoot;
|
|
17246
17246
|
}
|
|
17247
17247
|
function getNativeCSSValue(jodit, elm, key3) {
|
|
17248
|
+
const root = getShadowRoot(jodit);
|
|
17249
|
+
const wrapper = jodit.create.element("div");
|
|
17250
|
+
wrapper.style.color = css(jodit.editor, "color");
|
|
17248
17251
|
const newElm = jodit.create.element(elm.tagName.toLowerCase());
|
|
17249
17252
|
newElm.style.cssText = elm.style.cssText;
|
|
17250
|
-
|
|
17251
|
-
root.appendChild(
|
|
17253
|
+
wrapper.appendChild(newElm);
|
|
17254
|
+
root.appendChild(wrapper);
|
|
17252
17255
|
const result = css(newElm, key3);
|
|
17253
|
-
Dom.safeRemove(
|
|
17256
|
+
Dom.safeRemove(wrapper);
|
|
17254
17257
|
return result;
|
|
17255
17258
|
}
|
|
17256
17259
|
|
|
@@ -22124,18 +22127,21 @@ function fullsize(editor) {
|
|
|
22124
22127
|
return;
|
|
22125
22128
|
}
|
|
22126
22129
|
if (isEnabled) {
|
|
22127
|
-
|
|
22128
|
-
|
|
22130
|
+
if (!wasToggled) {
|
|
22131
|
+
oldHeight = css(container, "height", true);
|
|
22132
|
+
oldWidth = css(container, "width", true);
|
|
22133
|
+
wasToggled = true;
|
|
22134
|
+
}
|
|
22129
22135
|
css(container, {
|
|
22130
22136
|
height: editor.ow.innerHeight,
|
|
22131
22137
|
width: editor.ow.innerWidth
|
|
22132
22138
|
});
|
|
22133
|
-
wasToggled = true;
|
|
22134
22139
|
} else if (wasToggled) {
|
|
22135
22140
|
css(container, {
|
|
22136
22141
|
height: oldHeight || "auto",
|
|
22137
22142
|
width: oldWidth || "auto"
|
|
22138
22143
|
});
|
|
22144
|
+
wasToggled = false;
|
|
22139
22145
|
}
|
|
22140
22146
|
}, toggle = (enable) => {
|
|
22141
22147
|
var _a2;
|