jodit 4.5.16 → 4.5.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 +43 -0
- package/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +112 -67
- 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 +48 -22
- package/es2015/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es2018/jodit.css +1 -1
- package/es2018/jodit.fat.min.js +2 -2
- package/es2018/jodit.js +112 -67
- 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 +48 -22
- package/es2018/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es2021/jodit.css +1 -1
- package/es2021/jodit.fat.min.js +2 -2
- package/es2021/jodit.js +112 -67
- 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 +48 -22
- package/es2021/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es2021.en/jodit.css +1 -1
- package/es2021.en/jodit.fat.min.js +2 -2
- package/es2021.en/jodit.js +26 -8
- 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 +3 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es5/415.fat.min.js +2 -2
- package/es5/415.js +2 -2
- package/es5/415.min.js +2 -2
- 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 +112 -67
- 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 +48 -22
- package/es5/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/esm/config.d.ts +4 -0
- package/esm/core/constants.js +1 -1
- package/esm/core/storage/engines/local-storage-provider.js +1 -1
- package/esm/langs/ar.d.ts +3 -0
- package/esm/langs/ar.js +4 -1
- package/esm/langs/no.d.ts +200 -0
- package/esm/langs/no.js +209 -0
- package/esm/languages.js +2 -0
- package/esm/plugins/link/config.d.ts +4 -0
- package/esm/plugins/link/config.js +1 -0
- package/esm/plugins/link/link.d.ts +2 -1
- package/esm/plugins/link/link.js +17 -4
- package/esm/plugins/speech-recognize/langs/index.d.ts +2 -1
- package/esm/plugins/speech-recognize/langs/index.js +2 -1
- package/esm/plugins/speech-recognize/langs/no.d.ts +9 -0
- package/esm/plugins/speech-recognize/langs/no.js +14 -0
- package/esm/plugins/spellcheck/langs/index.d.ts +2 -1
- package/esm/plugins/spellcheck/langs/index.js +2 -1
- package/esm/plugins/spellcheck/langs/no.d.ts +1 -0
- package/esm/plugins/spellcheck/langs/no.js +9 -0
- package/package.json +1 -1
- package/types/config.d.ts +4 -0
- package/types/langs/ar.d.ts +3 -0
- package/types/langs/no.d.ts +200 -0
- package/types/plugins/link/config.d.ts +4 -0
- package/types/plugins/link/link.d.ts +2 -1
- package/types/plugins/speech-recognize/langs/index.d.ts +2 -1
- package/types/plugins/speech-recognize/langs/no.d.ts +9 -0
- package/types/plugins/spellcheck/langs/index.d.ts +2 -1
- package/types/plugins/spellcheck/langs/no.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.5.
|
|
4
|
+
* Version: v4.5.19
|
|
5
5
|
* Url: https://xdsoft.net/jodit/
|
|
6
6
|
* License(s): MIT
|
|
7
7
|
*/
|
|
@@ -6146,6 +6146,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6146
6146
|
/* harmony export */ ko: function() { return /* reexport module object */ _ar_js__WEBPACK_IMPORTED_MODULE_0__; },
|
|
6147
6147
|
/* harmony export */ mn: function() { return /* reexport module object */ _ar_js__WEBPACK_IMPORTED_MODULE_0__; },
|
|
6148
6148
|
/* harmony export */ nl: function() { return /* reexport module object */ _ar_js__WEBPACK_IMPORTED_MODULE_0__; },
|
|
6149
|
+
/* harmony export */ no: function() { return /* reexport module object */ _ar_js__WEBPACK_IMPORTED_MODULE_0__; },
|
|
6149
6150
|
/* harmony export */ pl: function() { return /* reexport module object */ _ar_js__WEBPACK_IMPORTED_MODULE_0__; },
|
|
6150
6151
|
/* harmony export */ pt_br: function() { return /* reexport module object */ _ar_js__WEBPACK_IMPORTED_MODULE_0__; },
|
|
6151
6152
|
/* harmony export */ ru: function() { return /* reexport module object */ _ar_js__WEBPACK_IMPORTED_MODULE_0__; },
|
|
@@ -6184,6 +6185,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6184
6185
|
|
|
6185
6186
|
|
|
6186
6187
|
|
|
6188
|
+
|
|
6187
6189
|
|
|
6188
6190
|
|
|
6189
6191
|
/***/ }),
|
|
@@ -7942,7 +7944,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7942
7944
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
7943
7945
|
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
7944
7946
|
*/
|
|
7945
|
-
const APP_VERSION = "4.5.
|
|
7947
|
+
const APP_VERSION = "4.5.19";
|
|
7946
7948
|
// prettier-ignore
|
|
7947
7949
|
const ES = "es2021";
|
|
7948
7950
|
const IS_ES_MODERN = true;
|
|
@@ -8249,7 +8251,7 @@ class LocalStorageProvider {
|
|
|
8249
8251
|
try {
|
|
8250
8252
|
const buffer = localStorage.getItem(this.rootKey);
|
|
8251
8253
|
const json = buffer ? JSON.parse(buffer) : {};
|
|
8252
|
-
return json[key] !== undefined ? json[key] :
|
|
8254
|
+
return json[key] !== undefined ? json[key] : undefined;
|
|
8253
8255
|
}
|
|
8254
8256
|
catch { }
|
|
8255
8257
|
}
|
|
@@ -20565,8 +20567,9 @@ class link extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__/* .Plugin */ .
|
|
|
20565
20567
|
/** @override */
|
|
20566
20568
|
afterInit(jodit) {
|
|
20567
20569
|
if (jodit.o.link.followOnDblClick) {
|
|
20568
|
-
jodit.e.on('dblclick.link', this.
|
|
20570
|
+
jodit.e.on('dblclick.link', this.__onDblClickOnLink);
|
|
20569
20571
|
}
|
|
20572
|
+
jodit.e.on(jodit.editor, 'click.link', this.__onClickReadOnlyLink);
|
|
20570
20573
|
if (jodit.o.link.processPastedLink) {
|
|
20571
20574
|
jodit.e.on('processPaste.link', this.onProcessPasteLink);
|
|
20572
20575
|
}
|
|
@@ -20590,7 +20593,7 @@ class link extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__/* .Plugin */ .
|
|
|
20590
20593
|
hotkeys: jodit.o.link.hotkeys
|
|
20591
20594
|
});
|
|
20592
20595
|
}
|
|
20593
|
-
|
|
20596
|
+
__onDblClickOnLink(e) {
|
|
20594
20597
|
if (!jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.isTag(e.target, 'a')) {
|
|
20595
20598
|
return;
|
|
20596
20599
|
}
|
|
@@ -20772,19 +20775,31 @@ class link extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_4__/* .Plugin */ .
|
|
|
20772
20775
|
beforeDestruct(jodit) {
|
|
20773
20776
|
jodit.e
|
|
20774
20777
|
.off('generateLinkForm.link', this.__generateForm)
|
|
20775
|
-
.off('dblclick.link', this.
|
|
20778
|
+
.off('dblclick.link', this.__onDblClickOnLink)
|
|
20779
|
+
.off(jodit.editor, 'click.link', this.__onClickReadOnlyLink)
|
|
20776
20780
|
.off('processPaste.link', this.onProcessPasteLink);
|
|
20777
20781
|
}
|
|
20782
|
+
__onClickReadOnlyLink(e) {
|
|
20783
|
+
const { jodit } = this;
|
|
20784
|
+
if (jodit.o.readonly &&
|
|
20785
|
+
jodit.o.link.preventReadOnlyNavigation &&
|
|
20786
|
+
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.isTag(e.target, 'a')) {
|
|
20787
|
+
e.preventDefault();
|
|
20788
|
+
}
|
|
20789
|
+
}
|
|
20778
20790
|
}
|
|
20779
20791
|
(0,tslib__WEBPACK_IMPORTED_MODULE_6__/* .__decorate */ .Cg)([
|
|
20780
20792
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.autobind
|
|
20781
|
-
], link.prototype, "
|
|
20793
|
+
], link.prototype, "__onDblClickOnLink", null);
|
|
20782
20794
|
(0,tslib__WEBPACK_IMPORTED_MODULE_6__/* .__decorate */ .Cg)([
|
|
20783
20795
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.autobind
|
|
20784
20796
|
], link.prototype, "onProcessPasteLink", null);
|
|
20785
20797
|
(0,tslib__WEBPACK_IMPORTED_MODULE_6__/* .__decorate */ .Cg)([
|
|
20786
20798
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.autobind
|
|
20787
20799
|
], link.prototype, "__generateForm", null);
|
|
20800
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_6__/* .__decorate */ .Cg)([
|
|
20801
|
+
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.autobind
|
|
20802
|
+
], link.prototype, "__onClickReadOnlyLink", null);
|
|
20788
20803
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('link', link);
|
|
20789
20804
|
function writeClasses(modeClassName, className_input, className_select, a) {
|
|
20790
20805
|
if (modeClassName && (className_input ?? className_select)) {
|
|
@@ -22832,7 +22847,7 @@ class SourceEditor {
|
|
|
22832
22847
|
/***/ 53414:
|
|
22833
22848
|
/***/ (function(module) {
|
|
22834
22849
|
|
|
22835
|
-
module.exports["default"] = ["Type something","About Jodit","Jodit Editor","Jodit User's Guide","contains detailed help for using","For information about the license, please go to our website:","Buy full version","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.","Anchor","Open in new tab","Open in fullsize","Clear Formatting","Fill color or set the text color","Redo","Undo","Bold","Italic","Insert Unordered List","Insert Ordered List","Align Center","Align Justify","Align Left","Align Right","Insert Horizontal Line","Insert Image","Insert file","Insert youtube/vimeo video","Insert link","Font size","Font family","Insert format block","Normal","Heading 1","Heading 2","Heading 3","Heading 4","Quote","Code","Insert","Insert table","Decrease Indent","Increase Indent","Select Special Character","Insert Special Character","Paint format","Change mode","Margins","top","right","bottom","left","Styles","Classes","Align","Right","Center","Left","--Not Set--","Src","Title","Alternative","Link","Open link in new tab","Image","file","Advanced","Image properties","Cancel","Ok","File Browser","Error on load list","Error on load folders","Are you sure?","Enter Directory name","Create directory","type name","Drop image","Drop file","or click","Alternative text","Upload","Browse","Background","Text","Top","Middle","Bottom","Insert column before","Insert column after","Insert row above","Insert row below","Delete table","Delete row","Delete column","Empty cell","Chars: %d","Words: %d","Strike through","Underline","superscript","subscript","Cut selection","Select all","Break","Search for","Replace with","Replace","Paste","Choose Content to Paste","source","bold","italic","brush","link","undo","redo","table","image","eraser","paragraph","fontsize","video","font","about","print","underline","strikethrough","indent","outdent","fullsize","shrink","hr","ul","ol","cut","selectall","Embed code","Open link","Edit link","No follow","Unlink","Update","pencil","Eye"," URL","Edit","Horizontal align","Filter","Sort by changed","Sort by name","Sort by size","Add folder","Reset","Save","Save as ...","Resize","Crop","Width","Height","Keep Aspect Ratio","Yes","No","Remove","Select","Select %s","Vertical align","Split","Merge","Add column","Add row","License: %s","Delete","Split vertical","Split horizontal","Border","Your code is similar to HTML. Keep as HTML?","Paste as HTML","Keep","Insert as Text","Insert only Text","You can only edit your own images. Download this image on the host?","The image has been successfully uploaded to the host!","palette","There are no files","Rename","Enter new name","preview","download","Paste from clipboard","Your browser doesn't support direct access to the clipboard.","Copy selection","copy","Border radius","Show all","Apply","Please fill out this field","Please enter a web address","Default","Circle","Dot","Quadrate","Find","Find Previous","Find Next","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","Word Paste Detected","Clean","Insert className","Press Alt for custom resizing"]
|
|
22850
|
+
module.exports["default"] = ["Type something","About Jodit","Jodit Editor","Jodit User's Guide","contains detailed help for using","For information about the license, please go to our website:","Buy full version","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.","Anchor","Open in new tab","Open in fullsize","Clear Formatting","Fill color or set the text color","Redo","Undo","Bold","Italic","Insert Unordered List","Insert Ordered List","Align Center","Align Justify","Align Left","Align Right","Insert Horizontal Line","Insert Image","Insert file","Insert youtube/vimeo video","Insert link","Font size","Font family","Insert format block","Normal","Heading 1","Heading 2","Heading 3","Heading 4","Quote","Code","Insert","Insert table","Decrease Indent","Increase Indent","Select Special Character","Insert Special Character","Paint format","Change mode","Margins","top","right","bottom","left","Styles","Classes","Align","Right","Center","Left","--Not Set--","Src","Title","Alternative","Link","Open link in new tab","Image","file","Advanced","Image properties","Cancel","Ok","File Browser","Error on load list","Error on load folders","Are you sure?","Enter Directory name","Create directory","type name","Drop image","Drop file","or click","Alternative text","Upload","Browse","Background","Text","Top","Middle","Bottom","Insert column before","Insert column after","Insert row above","Insert row below","Delete table","Delete row","Delete column","Empty cell","Chars: %d","Words: %d","Strike through","Underline","superscript","subscript","Cut selection","Select all","Break","Search for","Replace with","Replace","Paste","Choose Content to Paste","source","bold","italic","brush","link","undo","redo","table","image","eraser","paragraph","fontsize","video","font","about","print","underline","strikethrough","indent","outdent","fullsize","shrink","hr","ul","ol","cut","selectall","Embed code","Open link","Edit link","No follow","Unlink","Update","pencil","Eye"," URL","Edit","Horizontal align","Filter","Sort by changed","Sort by name","Sort by size","Add folder","Reset","Save","Save as ...","Resize","Crop","Width","Height","Keep Aspect Ratio","Yes","No","Remove","Select","Select %s","Vertical align","Split","Merge","Add column","Add row","License: %s","Delete","Split vertical","Split horizontal","Border","Your code is similar to HTML. Keep as HTML?","Paste as HTML","Keep","Insert as Text","Insert only Text","You can only edit your own images. Download this image on the host?","The image has been successfully uploaded to the host!","palette","There are no files","Rename","Enter new name","preview","download","Paste from clipboard","Your browser doesn't support direct access to the clipboard.","Copy selection","copy","Border radius","Show all","Apply","Please fill out this field","Please enter a web address","Default","Circle","Dot","Quadrate","Find","Find Previous","Find Next","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","Word Paste Detected","Clean","Insert className","Press Alt for custom resizing","Line height","spellcheck","Speech Recognize"]
|
|
22836
22851
|
|
|
22837
22852
|
/***/ }),
|
|
22838
22853
|
|
|
@@ -28389,6 +28404,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.link = {
|
|
|
28389
28404
|
openInNewTabCheckbox: true,
|
|
28390
28405
|
modeClassName: 'input',
|
|
28391
28406
|
selectMultipleClassName: true,
|
|
28407
|
+
preventReadOnlyNavigation: true,
|
|
28392
28408
|
selectSizeClassName: 3,
|
|
28393
28409
|
selectOptionsClassName: [],
|
|
28394
28410
|
hotkeys: ['ctrl+k', 'cmd+k']
|
|
@@ -31500,6 +31516,7 @@ function hasItems(data) {
|
|
|
31500
31516
|
|
|
31501
31517
|
|
|
31502
31518
|
|
|
31519
|
+
|
|
31503
31520
|
|
|
31504
31521
|
|
|
31505
31522
|
let exp = {};
|
|
@@ -31519,6 +31536,7 @@ exp = {
|
|
|
31519
31536
|
ko: (jodit_langs_ar__WEBPACK_IMPORTED_MODULE_0___default()),
|
|
31520
31537
|
mn: (jodit_langs_ar__WEBPACK_IMPORTED_MODULE_0___default()),
|
|
31521
31538
|
nl: (jodit_langs_ar__WEBPACK_IMPORTED_MODULE_0___default()),
|
|
31539
|
+
no: (jodit_langs_ar__WEBPACK_IMPORTED_MODULE_0___default()),
|
|
31522
31540
|
pl: (jodit_langs_ar__WEBPACK_IMPORTED_MODULE_0___default()),
|
|
31523
31541
|
pt_br: (jodit_langs_ar__WEBPACK_IMPORTED_MODULE_0___default()),
|
|
31524
31542
|
ru: (jodit_langs_ar__WEBPACK_IMPORTED_MODULE_0___default()),
|