jodit-pro-react 5.4.29 → 5.4.31
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;
|
|
@@ -3848,7 +3852,9 @@ html.jodit_fullsize-box_true {
|
|
|
3848
3852
|
.jodit-ui-image-properties-form__view-box {
|
|
3849
3853
|
padding: var(--jd-padding-default);
|
|
3850
3854
|
}
|
|
3855
|
+
.jodit-ui-image-position-tab .jodit-properties_image_view,
|
|
3851
3856
|
.jodit-ui-image-position-tab__imageView,
|
|
3857
|
+
.jodit-ui-image-properties-form .jodit-properties_image_view,
|
|
3852
3858
|
.jodit-ui-image-properties-form__imageView {
|
|
3853
3859
|
align-items: center;
|
|
3854
3860
|
background-color: var(--jd-color-background-light-gray);
|
|
@@ -3858,12 +3864,16 @@ html.jodit_fullsize-box_true {
|
|
|
3858
3864
|
margin: 0 0 var(--jd-padding-default);
|
|
3859
3865
|
padding: 0;
|
|
3860
3866
|
}
|
|
3867
|
+
.jodit-ui-image-position-tab .jodit-properties_image_view img,
|
|
3861
3868
|
.jodit-ui-image-position-tab__imageView img,
|
|
3869
|
+
.jodit-ui-image-properties-form .jodit-properties_image_view img,
|
|
3862
3870
|
.jodit-ui-image-properties-form__imageView img {
|
|
3863
3871
|
max-height: 100%;
|
|
3864
3872
|
max-width: 100%;
|
|
3865
3873
|
}
|
|
3874
|
+
.jodit-ui-image-position-tab .jodit-properties_image_sizes.jodit-form__group,
|
|
3866
3875
|
.jodit-ui-image-position-tab__imageSizes.jodit-form__group,
|
|
3876
|
+
.jodit-ui-image-properties-form .jodit-properties_image_sizes.jodit-form__group,
|
|
3867
3877
|
.jodit-ui-image-properties-form__imageSizes.jodit-form__group {
|
|
3868
3878
|
align-items: center;
|
|
3869
3879
|
flex-direction: row;
|
|
@@ -3871,7 +3881,9 @@ html.jodit_fullsize-box_true {
|
|
|
3871
3881
|
min-width: auto;
|
|
3872
3882
|
padding: 0;
|
|
3873
3883
|
}
|
|
3884
|
+
.jodit-ui-image-position-tab .jodit-properties_image_sizes.jodit-form__group a,
|
|
3874
3885
|
.jodit-ui-image-position-tab__imageSizes.jodit-form__group a,
|
|
3886
|
+
.jodit-ui-image-properties-form .jodit-properties_image_sizes.jodit-form__group a,
|
|
3875
3887
|
.jodit-ui-image-properties-form__imageSizes.jodit-form__group a {
|
|
3876
3888
|
cursor: pointer;
|
|
3877
3889
|
display: inline-block;
|
|
@@ -3884,7 +3896,9 @@ html.jodit_fullsize-box_true {
|
|
|
3884
3896
|
.jodit-ui-image-properties-form__tabsBox {
|
|
3885
3897
|
padding: 0 var(--jd-padding-default);
|
|
3886
3898
|
}
|
|
3899
|
+
.jodit-dialog_theme_dark .jodit-properties_image_view,
|
|
3887
3900
|
.jodit-dialog_theme_dark .jodit-ui-image-properties-form__imageView,
|
|
3901
|
+
.jodit_theme_dark .jodit-properties_image_view,
|
|
3888
3902
|
.jodit_theme_dark .jodit-ui-image-properties-form__imageView {
|
|
3889
3903
|
background-color: var(--jd-dark-background-color);
|
|
3890
3904
|
}
|
|
@@ -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.
|
|
185
|
+
APP_VERSION = "4.10.2";
|
|
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
|
|
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.
|
|
20019
|
+
tab2.classList.add("jodit-tab_empty");
|
|
20019
20020
|
}
|
|
20020
20021
|
tabBox.appendChild(tab2);
|
|
20021
20022
|
button.onAction(() => {
|
|
@@ -23314,6 +23315,7 @@ init_helpers();
|
|
|
23314
23315
|
init_plugin2();
|
|
23315
23316
|
|
|
23316
23317
|
// node_modules/jodit/esm/plugins/inline-popup/config/config.js
|
|
23318
|
+
init_checker();
|
|
23317
23319
|
init_config();
|
|
23318
23320
|
|
|
23319
23321
|
// node_modules/jodit/esm/plugins/inline-popup/config/items/a.js
|
|
@@ -23412,7 +23414,7 @@ var cells_default = [
|
|
|
23412
23414
|
tooltip: "Add row"
|
|
23413
23415
|
},
|
|
23414
23416
|
{
|
|
23415
|
-
name: "
|
|
23417
|
+
name: "deleteTable",
|
|
23416
23418
|
icon: "bin",
|
|
23417
23419
|
list: {
|
|
23418
23420
|
tablebin: "Delete table",
|
|
@@ -23567,6 +23569,11 @@ Config.prototype.toolbarInlineForSelection = false;
|
|
|
23567
23569
|
Config.prototype.toolbarInlineDisableFor = [];
|
|
23568
23570
|
Config.prototype.toolbarInlineDisabledButtons = ["source"];
|
|
23569
23571
|
Icon.set("addcolumn", addcolumn_svg_default).set("addrow", addrow_svg_default).set("merge", merge_svg_default).set("th", th_svg_default).set("splitg", splitg_svg_default).set("splitv", splitv_svg_default).set("th-list", th_list_svg_default);
|
|
23572
|
+
cells_default.forEach((item) => {
|
|
23573
|
+
if (!isString(item) && item.name && !Config.prototype.controls[item.name]) {
|
|
23574
|
+
Config.prototype.controls[item.name] = item;
|
|
23575
|
+
}
|
|
23576
|
+
});
|
|
23570
23577
|
Config.prototype.popup = {
|
|
23571
23578
|
a: a_default,
|
|
23572
23579
|
img: img_default,
|
|
@@ -28035,15 +28042,17 @@ var selectCells = class extends Plugin {
|
|
|
28035
28042
|
break;
|
|
28036
28043
|
case "bincolumn":
|
|
28037
28044
|
{
|
|
28038
|
-
const columnsSet = /* @__PURE__ */ new Set()
|
|
28039
|
-
|
|
28040
|
-
|
|
28041
|
-
|
|
28045
|
+
const columnsSet = /* @__PURE__ */ new Set();
|
|
28046
|
+
const columns = [];
|
|
28047
|
+
cells.forEach((td) => {
|
|
28048
|
+
const [, col] = this.__tableModule.formalCoordinate(table2, td);
|
|
28049
|
+
if (!columnsSet.has(col)) {
|
|
28050
|
+
columns.push(col);
|
|
28051
|
+
columnsSet.add(col);
|
|
28042
28052
|
}
|
|
28043
|
-
|
|
28044
|
-
|
|
28045
|
-
|
|
28046
|
-
this.__tableModule.removeColumn(table2, td.cellIndex);
|
|
28053
|
+
});
|
|
28054
|
+
columns.sort((a71, b17) => b17 - a71).forEach((col) => {
|
|
28055
|
+
this.__tableModule.removeColumn(table2, col);
|
|
28047
28056
|
});
|
|
28048
28057
|
}
|
|
28049
28058
|
break;
|
package/build/esm/index.css
CHANGED
|
@@ -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;
|
|
@@ -3848,7 +3852,9 @@ html.jodit_fullsize-box_true {
|
|
|
3848
3852
|
.jodit-ui-image-properties-form__view-box {
|
|
3849
3853
|
padding: var(--jd-padding-default);
|
|
3850
3854
|
}
|
|
3855
|
+
.jodit-ui-image-position-tab .jodit-properties_image_view,
|
|
3851
3856
|
.jodit-ui-image-position-tab__imageView,
|
|
3857
|
+
.jodit-ui-image-properties-form .jodit-properties_image_view,
|
|
3852
3858
|
.jodit-ui-image-properties-form__imageView {
|
|
3853
3859
|
align-items: center;
|
|
3854
3860
|
background-color: var(--jd-color-background-light-gray);
|
|
@@ -3858,12 +3864,16 @@ html.jodit_fullsize-box_true {
|
|
|
3858
3864
|
margin: 0 0 var(--jd-padding-default);
|
|
3859
3865
|
padding: 0;
|
|
3860
3866
|
}
|
|
3867
|
+
.jodit-ui-image-position-tab .jodit-properties_image_view img,
|
|
3861
3868
|
.jodit-ui-image-position-tab__imageView img,
|
|
3869
|
+
.jodit-ui-image-properties-form .jodit-properties_image_view img,
|
|
3862
3870
|
.jodit-ui-image-properties-form__imageView img {
|
|
3863
3871
|
max-height: 100%;
|
|
3864
3872
|
max-width: 100%;
|
|
3865
3873
|
}
|
|
3874
|
+
.jodit-ui-image-position-tab .jodit-properties_image_sizes.jodit-form__group,
|
|
3866
3875
|
.jodit-ui-image-position-tab__imageSizes.jodit-form__group,
|
|
3876
|
+
.jodit-ui-image-properties-form .jodit-properties_image_sizes.jodit-form__group,
|
|
3867
3877
|
.jodit-ui-image-properties-form__imageSizes.jodit-form__group {
|
|
3868
3878
|
align-items: center;
|
|
3869
3879
|
flex-direction: row;
|
|
@@ -3871,7 +3881,9 @@ html.jodit_fullsize-box_true {
|
|
|
3871
3881
|
min-width: auto;
|
|
3872
3882
|
padding: 0;
|
|
3873
3883
|
}
|
|
3884
|
+
.jodit-ui-image-position-tab .jodit-properties_image_sizes.jodit-form__group a,
|
|
3874
3885
|
.jodit-ui-image-position-tab__imageSizes.jodit-form__group a,
|
|
3886
|
+
.jodit-ui-image-properties-form .jodit-properties_image_sizes.jodit-form__group a,
|
|
3875
3887
|
.jodit-ui-image-properties-form__imageSizes.jodit-form__group a {
|
|
3876
3888
|
cursor: pointer;
|
|
3877
3889
|
display: inline-block;
|
|
@@ -3884,7 +3896,9 @@ html.jodit_fullsize-box_true {
|
|
|
3884
3896
|
.jodit-ui-image-properties-form__tabsBox {
|
|
3885
3897
|
padding: 0 var(--jd-padding-default);
|
|
3886
3898
|
}
|
|
3899
|
+
.jodit-dialog_theme_dark .jodit-properties_image_view,
|
|
3887
3900
|
.jodit-dialog_theme_dark .jodit-ui-image-properties-form__imageView,
|
|
3901
|
+
.jodit_theme_dark .jodit-properties_image_view,
|
|
3888
3902
|
.jodit_theme_dark .jodit-ui-image-properties-form__imageView {
|
|
3889
3903
|
background-color: var(--jd-dark-background-color);
|
|
3890
3904
|
}
|