jodit 4.6.13 → 4.6.15
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 +18 -0
- package/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +19 -6
- package/es2015/jodit.min.js +2 -2
- 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.css +1 -1
- package/es2018/jodit.fat.min.js +2 -2
- package/es2018/jodit.js +19 -6
- package/es2018/jodit.min.js +2 -2
- package/es2018/plugins/debug/debug.css +1 -1
- package/es2018/plugins/debug/debug.js +1 -1
- package/es2018/plugins/debug/debug.min.js +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2021/jodit.css +1 -1
- package/es2021/jodit.fat.min.js +2 -2
- package/es2021/jodit.js +19 -6
- package/es2021/jodit.min.js +2 -2
- 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 +1 -1
- package/es2021.en/jodit.fat.min.js +2 -2
- package/es2021.en/jodit.js +19 -6
- package/es2021.en/jodit.min.js +2 -2
- 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/415.fat.min.js +1 -1
- package/es5/415.min.js +1 -1
- package/es5/5.fat.min.js +1 -1
- package/es5/5.min.js +1 -1
- package/es5/jodit.css +2 -2
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +19 -6
- package/es5/jodit.min.css +2 -2
- 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/esm/config.d.ts +1 -0
- package/esm/core/constants.js +1 -1
- package/esm/plugins/copy-format/copy-format.js +3 -2
- package/esm/plugins/table/config.d.ts +1 -0
- package/esm/plugins/table/config.js +14 -2
- package/package.json +1 -1
- package/types/config.d.ts +1 -0
- package/types/plugins/table/config.d.ts +1 -0
package/es2021.en/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.6.
|
|
4
|
+
* Version: v4.6.15
|
|
5
5
|
* Url: https://xdsoft.net/jodit/
|
|
6
6
|
* License(s): MIT
|
|
7
7
|
*/
|
|
@@ -7960,7 +7960,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7960
7960
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
7961
7961
|
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
7962
7962
|
*/
|
|
7963
|
-
const APP_VERSION = "4.6.
|
|
7963
|
+
const APP_VERSION = "4.6.15";
|
|
7964
7964
|
// prettier-ignore
|
|
7965
7965
|
const ES = "es2021";
|
|
7966
7966
|
const IS_ES_MODERN = true;
|
|
@@ -16993,9 +16993,11 @@ const pluginKey = 'copy-format';
|
|
|
16993
16993
|
* Plug-in copy and paste formatting from one element to another
|
|
16994
16994
|
*/
|
|
16995
16995
|
const copyStyles = [
|
|
16996
|
+
'lineHeight',
|
|
16996
16997
|
'fontWeight',
|
|
16997
16998
|
'fontStyle',
|
|
16998
16999
|
'fontSize',
|
|
17000
|
+
'fontFamily',
|
|
16999
17001
|
'color',
|
|
17000
17002
|
'margin',
|
|
17001
17003
|
'padding',
|
|
@@ -17004,8 +17006,7 @@ const copyStyles = [
|
|
|
17004
17006
|
'borderColor',
|
|
17005
17007
|
'borderRadius',
|
|
17006
17008
|
'backgroundColor',
|
|
17007
|
-
'textDecorationLine'
|
|
17008
|
-
'fontFamily'
|
|
17009
|
+
'textDecorationLine'
|
|
17009
17010
|
];
|
|
17010
17011
|
const getStyle = (editor, key, box, defaultStyles) => {
|
|
17011
17012
|
let result = (0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_2__/* .css */ .A)(box, key);
|
|
@@ -41186,6 +41187,7 @@ module.exports = "<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 312 312\
|
|
|
41186
41187
|
|
|
41187
41188
|
|
|
41188
41189
|
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.table = {
|
|
41190
|
+
splitBlockOnInsertTable: true,
|
|
41189
41191
|
selectionCellStyle: 'border: 1px double #1e88e5 !important;',
|
|
41190
41192
|
useExtraClassesOptions: false
|
|
41191
41193
|
};
|
|
@@ -41306,8 +41308,19 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.tab
|
|
|
41306
41308
|
else {
|
|
41307
41309
|
if (block) {
|
|
41308
41310
|
const fake = crt.text('\n');
|
|
41309
|
-
|
|
41310
|
-
|
|
41311
|
+
if (!editor.o.table.splitBlockOnInsertTable) {
|
|
41312
|
+
jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.after(block, fake);
|
|
41313
|
+
jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.after(fake, table);
|
|
41314
|
+
}
|
|
41315
|
+
else {
|
|
41316
|
+
const range = editor.s.range;
|
|
41317
|
+
range.collapse(false);
|
|
41318
|
+
range.insertNode(fake);
|
|
41319
|
+
range.collapse(false);
|
|
41320
|
+
editor.s.selectRange(range);
|
|
41321
|
+
const firstPart = editor.s.splitSelection(block, fake);
|
|
41322
|
+
jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.after(firstPart, table);
|
|
41323
|
+
}
|
|
41311
41324
|
}
|
|
41312
41325
|
else {
|
|
41313
41326
|
editor.s.insertNode(table, false);
|