jodit 4.9.16 → 4.9.19
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.
- package/CHANGELOG.md +17 -0
- package/es2015/jodit.css +8 -4
- package/es2015/jodit.fat.min.css +1 -1
- package/es2015/jodit.fat.min.js +4 -4
- package/es2015/jodit.js +15 -12
- package/es2015/jodit.min.css +1 -1
- package/es2015/jodit.min.js +4 -4
- package/es2015/plugins/debug/debug.css +1 -1
- package/es2015/plugins/debug/debug.js +1 -1
- package/es2015/plugins/debug/debug.min.js +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2018/jodit.fat.min.css +1 -1
- package/es2018/jodit.fat.min.js +4 -4
- package/es2018/jodit.min.css +1 -1
- package/es2018/jodit.min.js +4 -4
- package/es2018/plugins/debug/debug.min.js +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2021/jodit.css +8 -4
- package/es2021/jodit.fat.min.css +1 -1
- package/es2021/jodit.fat.min.js +5 -5
- package/es2021/jodit.js +15 -12
- package/es2021/jodit.min.css +1 -1
- package/es2021/jodit.min.js +5 -5
- package/es2021/plugins/debug/debug.css +1 -1
- package/es2021/plugins/debug/debug.js +1 -1
- package/es2021/plugins/debug/debug.min.js +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2021.en/jodit.css +8 -4
- package/es2021.en/jodit.fat.min.css +1 -1
- package/es2021.en/jodit.fat.min.js +5 -5
- package/es2021.en/jodit.js +15 -12
- package/es2021.en/jodit.min.css +1 -1
- package/es2021.en/jodit.min.js +10 -10
- package/es2021.en/plugins/debug/debug.css +1 -1
- package/es2021.en/plugins/debug/debug.js +1 -1
- package/es2021.en/plugins/debug/debug.min.js +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es5/jodit.css +11 -5
- package/es5/jodit.fat.min.css +1 -1
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +70 -63
- package/es5/jodit.min.css +3 -3
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/debug/debug.css +1 -1
- package/es5/plugins/debug/debug.js +1 -1
- package/es5/plugins/debug/debug.min.js +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es5/polyfills.fat.min.js +1 -1
- package/es5/polyfills.js +1 -1
- package/es5/polyfills.min.js +1 -1
- package/esm/core/constants.js +1 -1
- package/esm/modules/table/table.js +2 -3
- package/esm/modules/widget/tabs/tabs.js +1 -1
- package/esm/plugins/select-cells/select-cells.js +12 -8
- package/package.json +1 -1
package/es2015/jodit.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
|
|
3
3
|
* Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
|
|
4
|
-
* Version: v4.9.
|
|
4
|
+
* Version: v4.9.19
|
|
5
5
|
* Url: https://xdsoft.net/jodit/
|
|
6
6
|
* License(s): MIT
|
|
7
7
|
*/
|
|
@@ -1067,15 +1067,17 @@ class selectCells extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_7__.Plugin
|
|
|
1067
1067
|
break;
|
|
1068
1068
|
case 'bincolumn':
|
|
1069
1069
|
{
|
|
1070
|
-
const columnsSet = new Set()
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1070
|
+
const columnsSet = new Set();
|
|
1071
|
+
const columns = [];
|
|
1072
|
+
cells.forEach((td)=>{
|
|
1073
|
+
const [, col] = this.__tableModule.formalCoordinate(table, td);
|
|
1074
|
+
if (!columnsSet.has(col)) {
|
|
1075
|
+
columns.push(col);
|
|
1076
|
+
columnsSet.add(col);
|
|
1074
1077
|
}
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
this.__tableModule.removeColumn(table, td.cellIndex);
|
|
1078
|
+
});
|
|
1079
|
+
columns.sort((a, b)=>b - a).forEach((col)=>{
|
|
1080
|
+
this.__tableModule.removeColumn(table, col);
|
|
1079
1081
|
});
|
|
1080
1082
|
}
|
|
1081
1083
|
break;
|
|
@@ -35110,7 +35112,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
35110
35112
|
* ```
|
|
35111
35113
|
* @packageDocumentation
|
|
35112
35114
|
* @module constants
|
|
35113
|
-
*/ const APP_VERSION = "4.9.
|
|
35115
|
+
*/ const APP_VERSION = "4.9.19";
|
|
35114
35116
|
// prettier-ignore
|
|
35115
35117
|
const ES = "es2015";
|
|
35116
35118
|
const IS_ES_MODERN = true;
|
|
@@ -37404,7 +37406,7 @@ function buildData(uploader, data) {
|
|
|
37404
37406
|
if (!(0,jodit_core_helpers_checker_is_function__WEBPACK_IMPORTED_MODULE_2__.isFunction)(content)) {
|
|
37405
37407
|
tab.appendChild(jodit_core_component__WEBPACK_IMPORTED_MODULE_0__.Component.isInstanceOf(content, jodit_core_ui__WEBPACK_IMPORTED_MODULE_4__.UIElement) ? content.container : content);
|
|
37406
37408
|
} else {
|
|
37407
|
-
tab.
|
|
37409
|
+
tab.classList.add('jodit-tab_empty');
|
|
37408
37410
|
}
|
|
37409
37411
|
tabBox.appendChild(tab);
|
|
37410
37412
|
button.onAction(()=>{
|
|
@@ -43061,7 +43063,8 @@ class Table extends jodit_core_component__WEBPACK_IMPORTED_MODULE_2__.ViewCompon
|
|
|
43061
43063
|
if (!insertAfter && jodit_core_dom__WEBPACK_IMPORTED_MODULE_5__.Dom.isCell(selectedCell.previousElementSibling)) {
|
|
43062
43064
|
return this.appendColumn(table, selectedCell.previousElementSibling, true);
|
|
43063
43065
|
}
|
|
43064
|
-
const
|
|
43066
|
+
const [, formalCol] = Table.__formalCoordinate(table, selectedCell, insertAfter);
|
|
43067
|
+
const columnIndex = formalCol;
|
|
43065
43068
|
const newColumnIndex = insertAfter ? columnIndex + 1 : columnIndex;
|
|
43066
43069
|
for(let i = 0; i < box.length;){
|
|
43067
43070
|
const cells = box[i];
|