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/es5/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
|
*/
|
|
@@ -8775,7 +8775,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8775
8775
|
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
8776
8776
|
*/
|
|
8777
8777
|
|
|
8778
|
-
var APP_VERSION = "4.6.
|
|
8778
|
+
var APP_VERSION = "4.6.15";
|
|
8779
8779
|
// prettier-ignore
|
|
8780
8780
|
var ES = "es5";
|
|
8781
8781
|
var IS_ES_MODERN = false;
|
|
@@ -18314,9 +18314,11 @@ var pluginKey = 'copy-format';
|
|
|
18314
18314
|
* Plug-in copy and paste formatting from one element to another
|
|
18315
18315
|
*/
|
|
18316
18316
|
var copyStyles = [
|
|
18317
|
+
'lineHeight',
|
|
18317
18318
|
'fontWeight',
|
|
18318
18319
|
'fontStyle',
|
|
18319
18320
|
'fontSize',
|
|
18321
|
+
'fontFamily',
|
|
18320
18322
|
'color',
|
|
18321
18323
|
'margin',
|
|
18322
18324
|
'padding',
|
|
@@ -18325,8 +18327,7 @@ var copyStyles = [
|
|
|
18325
18327
|
'borderColor',
|
|
18326
18328
|
'borderRadius',
|
|
18327
18329
|
'backgroundColor',
|
|
18328
|
-
'textDecorationLine'
|
|
18329
|
-
'fontFamily'
|
|
18330
|
+
'textDecorationLine'
|
|
18330
18331
|
];
|
|
18331
18332
|
var getStyle = function (editor, key, box, defaultStyles) {
|
|
18332
18333
|
var result = (0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_2__/* .css */ .A)(box, key);
|
|
@@ -44718,6 +44719,7 @@ module.exports = "<svg xmlns='http://www.w3.org/2000/svg' viewBox=\"0 0 312 312\
|
|
|
44718
44719
|
|
|
44719
44720
|
|
|
44720
44721
|
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.table = {
|
|
44722
|
+
splitBlockOnInsertTable: true,
|
|
44721
44723
|
selectionCellStyle: 'border: 1px double #1e88e5 !important;',
|
|
44722
44724
|
useExtraClassesOptions: false
|
|
44723
44725
|
};
|
|
@@ -44838,8 +44840,19 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.tab
|
|
|
44838
44840
|
else {
|
|
44839
44841
|
if (block) {
|
|
44840
44842
|
var fake = crt.text('\n');
|
|
44841
|
-
|
|
44842
|
-
|
|
44843
|
+
if (!editor.o.table.splitBlockOnInsertTable) {
|
|
44844
|
+
jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.after(block, fake);
|
|
44845
|
+
jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.after(fake, table);
|
|
44846
|
+
}
|
|
44847
|
+
else {
|
|
44848
|
+
var range = editor.s.range;
|
|
44849
|
+
range.collapse(false);
|
|
44850
|
+
range.insertNode(fake);
|
|
44851
|
+
range.collapse(false);
|
|
44852
|
+
editor.s.selectRange(range);
|
|
44853
|
+
var firstPart = editor.s.splitSelection(block, fake);
|
|
44854
|
+
jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.after(firstPart, table);
|
|
44855
|
+
}
|
|
44843
44856
|
}
|
|
44844
44857
|
else {
|
|
44845
44858
|
editor.s.insertNode(table, false);
|
package/es5/jodit.min.css
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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
|
*/
|
|
8
8
|
/*!
|
|
9
9
|
* jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
|
|
10
10
|
* Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
|
|
11
|
-
* Version: v4.6.
|
|
11
|
+
* Version: v4.6.15
|
|
12
12
|
* Url: https://xdsoft.net/jodit/
|
|
13
13
|
* License(s): MIT
|
|
14
14
|
*/
|