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/es5/polyfills.fat.min.js
CHANGED
package/es5/polyfills.js
CHANGED
package/es5/polyfills.min.js
CHANGED
package/esm/core/constants.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
export const APP_VERSION = "4.9.
|
|
6
|
+
export const APP_VERSION = "4.9.19";
|
|
7
7
|
// prettier-ignore
|
|
8
8
|
export const ES = "es2020";
|
|
9
9
|
export const IS_ES_MODERN = true;
|
|
@@ -262,9 +262,8 @@ export class Table extends ViewComponent {
|
|
|
262
262
|
if (!insertAfter && Dom.isCell(selectedCell.previousElementSibling)) {
|
|
263
263
|
return this.appendColumn(table, selectedCell.previousElementSibling, true);
|
|
264
264
|
}
|
|
265
|
-
const
|
|
266
|
-
|
|
267
|
-
: selectedCell.cellIndex;
|
|
265
|
+
const [, formalCol] = Table.__formalCoordinate(table, selectedCell, insertAfter);
|
|
266
|
+
const columnIndex = formalCol;
|
|
268
267
|
const newColumnIndex = insertAfter ? columnIndex + 1 : columnIndex;
|
|
269
268
|
for (let i = 0; i < box.length;) {
|
|
270
269
|
const cells = box[i];
|
|
@@ -273,15 +273,19 @@ export class selectCells extends Plugin {
|
|
|
273
273
|
break;
|
|
274
274
|
case 'bincolumn':
|
|
275
275
|
{
|
|
276
|
-
const columnsSet = new Set()
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
276
|
+
const columnsSet = new Set();
|
|
277
|
+
const columns = [];
|
|
278
|
+
cells.forEach(td => {
|
|
279
|
+
const [, col] = this.__tableModule.formalCoordinate(table, td);
|
|
280
|
+
if (!columnsSet.has(col)) {
|
|
281
|
+
columns.push(col);
|
|
282
|
+
columnsSet.add(col);
|
|
280
283
|
}
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
284
|
+
});
|
|
285
|
+
columns
|
|
286
|
+
.sort((a, b) => b - a)
|
|
287
|
+
.forEach(col => {
|
|
288
|
+
this.__tableModule.removeColumn(table, col);
|
|
285
289
|
});
|
|
286
290
|
}
|
|
287
291
|
break;
|