jodit-pro-react 5.5.46 → 5.5.48

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.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  JoditEditor_default
3
- } from "./chunk-LZKMP6NI.mjs";
3
+ } from "./chunk-LBY22A2T.mjs";
4
4
  export {
5
5
  JoditEditor_default as default
6
6
  };
@@ -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.31";
196
+ APP_VERSION = "4.12.32";
197
197
  ES = "es2020";
198
198
  IS_ES_MODERN = true;
199
199
  IS_ES_NEXT = true;
@@ -29324,8 +29324,10 @@ var size2 = class extends Plugin {
29324
29324
  * Returns service spaces: toolbar + statusbar
29325
29325
  */
29326
29326
  __getNotWorkHeight() {
29327
- var _a2, _b;
29328
- return (((_a2 = this.j.toolbarContainer) === null || _a2 === void 0 ? void 0 : _a2.offsetHeight) || 0) + (((_b = this.j.statusbar) === null || _b === void 0 ? void 0 : _b.getHeight()) || 0) + 2;
29327
+ var _a2;
29328
+ const toolbar = this.j.toolbarContainer;
29329
+ const toolbarHeight = toolbar && this.j.container.contains(toolbar) ? toolbar.offsetHeight : 0;
29330
+ return toolbarHeight + (((_a2 = this.j.statusbar) === null || _a2 === void 0 ? void 0 : _a2.getHeight()) || 0) + 2;
29329
29331
  }
29330
29332
  /**
29331
29333
  * Calculate workspace height
@@ -2,7 +2,7 @@ import {
2
2
  Config,
3
3
  JoditEditor_default,
4
4
  n
5
- } from "./chunk-LZKMP6NI.mjs";
5
+ } from "./chunk-LBY22A2T.mjs";
6
6
 
7
7
  // src/index.ts
8
8
  var index_default = JoditEditor_default;