jodit-pro-react 5.4.28 → 5.4.30

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.
@@ -717,6 +717,10 @@
717
717
  justify-content: stretch;
718
718
  margin-bottom: var(--jd-padding-default);
719
719
  }
720
+ .jodit-ui-block > .jodit-ui-input,
721
+ .jodit-ui-block > .jodit-ui-select {
722
+ flex: 1;
723
+ }
720
724
  .jodit-ui-block_width_full {
721
725
  width: 100%;
722
726
  }
@@ -2134,12 +2138,12 @@
2134
2138
  .jodit-file-browser-tree__item:hover {
2135
2139
  background-color: var(--jd-color-background-button-hover);
2136
2140
  }
2137
- .jodit-file-browser-tree__item:hover-title {
2138
- color: var(--jd-color-text);
2139
- }
2140
2141
  .jodit-file-browser-tree__item:hover i.jodit-icon_folder {
2141
2142
  opacity: .6;
2142
2143
  }
2144
+ .jodit-file-browser-tree__item:hover .jodit-file-browser-tree__item-title {
2145
+ color: var(--jd-color-text);
2146
+ }
2143
2147
  .jodit-file-browser-tree__source-title {
2144
2148
  background: #5a5a5a;
2145
2149
  border-bottom: 1px solid #484848;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  JoditEditor_default
3
- } from "./chunk-P37FWHAE.mjs";
3
+ } from "./chunk-5KMMP7OC.mjs";
4
4
  export {
5
5
  JoditEditor_default as default
6
6
  };
@@ -182,7 +182,7 @@ var APP_VERSION, ES, IS_ES_MODERN, IS_ES_NEXT, IS_PROD, IS_TEST, FAT_MODE, HOMEP
182
182
  var init_constants = __esm({
183
183
  "node_modules/jodit/esm/core/constants.js"() {
184
184
  "use strict";
185
- APP_VERSION = "4.9.16";
185
+ APP_VERSION = "4.9.19";
186
186
  ES = "es2020";
187
187
  IS_ES_MODERN = true;
188
188
  IS_ES_NEXT = true;
@@ -14844,7 +14844,8 @@ var Table = class _Table extends ViewComponent {
14844
14844
  if (!insertAfter && Dom.isCell(selectedCell.previousElementSibling)) {
14845
14845
  return this.appendColumn(table2, selectedCell.previousElementSibling, true);
14846
14846
  }
14847
- const columnIndex = insertAfter ? selectedCell.cellIndex + ((selectedCell.colSpan || 1) - 1) : selectedCell.cellIndex;
14847
+ const [, formalCol] = _Table.__formalCoordinate(table2, selectedCell, insertAfter);
14848
+ const columnIndex = formalCol;
14848
14849
  const newColumnIndex = insertAfter ? columnIndex + 1 : columnIndex;
14849
14850
  for (let i47 = 0; i47 < box.length; ) {
14850
14851
  const cells = box[i47];
@@ -20015,7 +20016,7 @@ var TabsWidget = (jodit, tabs, state) => {
20015
20016
  if (!isFunction(content)) {
20016
20017
  tab2.appendChild(Component.isInstanceOf(content, UIElement) ? content.container : content);
20017
20018
  } else {
20018
- tab2.appendChild(jodit.c.div("jodit-tab_empty"));
20019
+ tab2.classList.add("jodit-tab_empty");
20019
20020
  }
20020
20021
  tabBox.appendChild(tab2);
20021
20022
  button.onAction(() => {
@@ -28035,15 +28036,17 @@ var selectCells = class extends Plugin {
28035
28036
  break;
28036
28037
  case "bincolumn":
28037
28038
  {
28038
- const columnsSet = /* @__PURE__ */ new Set(), columns = cells.reduce((acc, td) => {
28039
- if (!columnsSet.has(td.cellIndex)) {
28040
- acc.push(td);
28041
- columnsSet.add(td.cellIndex);
28039
+ const columnsSet = /* @__PURE__ */ new Set();
28040
+ const columns = [];
28041
+ cells.forEach((td) => {
28042
+ const [, col] = this.__tableModule.formalCoordinate(table2, td);
28043
+ if (!columnsSet.has(col)) {
28044
+ columns.push(col);
28045
+ columnsSet.add(col);
28042
28046
  }
28043
- return acc;
28044
- }, []);
28045
- columns.forEach((td) => {
28046
- this.__tableModule.removeColumn(table2, td.cellIndex);
28047
+ });
28048
+ columns.sort((a71, b17) => b17 - a71).forEach((col) => {
28049
+ this.__tableModule.removeColumn(table2, col);
28047
28050
  });
28048
28051
  }
28049
28052
  break;
@@ -717,6 +717,10 @@
717
717
  justify-content: stretch;
718
718
  margin-bottom: var(--jd-padding-default);
719
719
  }
720
+ .jodit-ui-block > .jodit-ui-input,
721
+ .jodit-ui-block > .jodit-ui-select {
722
+ flex: 1;
723
+ }
720
724
  .jodit-ui-block_width_full {
721
725
  width: 100%;
722
726
  }
@@ -2134,12 +2138,12 @@
2134
2138
  .jodit-file-browser-tree__item:hover {
2135
2139
  background-color: var(--jd-color-background-button-hover);
2136
2140
  }
2137
- .jodit-file-browser-tree__item:hover-title {
2138
- color: var(--jd-color-text);
2139
- }
2140
2141
  .jodit-file-browser-tree__item:hover i.jodit-icon_folder {
2141
2142
  opacity: .6;
2142
2143
  }
2144
+ .jodit-file-browser-tree__item:hover .jodit-file-browser-tree__item-title {
2145
+ color: var(--jd-color-text);
2146
+ }
2143
2147
  .jodit-file-browser-tree__source-title {
2144
2148
  background: #5a5a5a;
2145
2149
  border-bottom: 1px solid #484848;
@@ -2,7 +2,7 @@ import {
2
2
  Config,
3
3
  JoditEditor_default,
4
4
  n
5
- } from "./chunk-P37FWHAE.mjs";
5
+ } from "./chunk-5KMMP7OC.mjs";
6
6
 
7
7
  // src/index.ts
8
8
  var index_default = JoditEditor_default;