jodit 4.18.8 → 4.18.9
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 +7 -0
- package/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +8 -8
- package/es2015/jodit.js +53 -33
- package/es2015/jodit.min.js +6 -6
- 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.js +6 -6
- package/es2018/jodit.min.js +6 -6
- package/es2018/plugins/debug/debug.min.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 +6 -6
- package/es2021/jodit.js +53 -33
- package/es2021/jodit.min.js +6 -6
- 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 +6 -6
- package/es2021.en/jodit.js +27 -7
- package/es2021.en/jodit.min.js +6 -6
- 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 +2 -2
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +53 -33
- 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/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/core/ui/button/tooltip/tooltip.js +7 -0
- package/esm/langs/ar.d.ts +1 -0
- package/esm/langs/ar.js +2 -1
- package/esm/langs/az.d.ts +1 -0
- package/esm/langs/az.js +2 -1
- package/esm/langs/cs_cz.d.ts +1 -0
- package/esm/langs/cs_cz.js +2 -1
- package/esm/langs/de.d.ts +1 -0
- package/esm/langs/de.js +2 -1
- package/esm/langs/es.d.ts +1 -0
- package/esm/langs/es.js +2 -1
- package/esm/langs/fa.d.ts +1 -0
- package/esm/langs/fa.js +2 -1
- package/esm/langs/fi.d.ts +1 -0
- package/esm/langs/fi.js +2 -1
- package/esm/langs/fr.d.ts +1 -0
- package/esm/langs/fr.js +2 -1
- package/esm/langs/he.d.ts +1 -0
- package/esm/langs/he.js +2 -1
- package/esm/langs/hu.d.ts +1 -0
- package/esm/langs/hu.js +2 -1
- package/esm/langs/id.d.ts +1 -0
- package/esm/langs/id.js +2 -1
- package/esm/langs/it.d.ts +1 -0
- package/esm/langs/it.js +2 -1
- package/esm/langs/ja.d.ts +1 -0
- package/esm/langs/ja.js +2 -1
- package/esm/langs/ko.d.ts +1 -0
- package/esm/langs/ko.js +2 -1
- package/esm/langs/mn.d.ts +1 -0
- package/esm/langs/mn.js +2 -1
- package/esm/langs/nl.d.ts +1 -0
- package/esm/langs/nl.js +2 -1
- package/esm/langs/no.d.ts +1 -0
- package/esm/langs/no.js +2 -1
- package/esm/langs/pl.d.ts +1 -0
- package/esm/langs/pl.js +2 -1
- package/esm/langs/pt_br.d.ts +1 -0
- package/esm/langs/pt_br.js +2 -1
- package/esm/langs/ru.d.ts +1 -0
- package/esm/langs/ru.js +2 -1
- package/esm/langs/sk.d.ts +1 -0
- package/esm/langs/sk.js +2 -1
- package/esm/langs/sv.d.ts +1 -0
- package/esm/langs/sv.js +2 -1
- package/esm/langs/tr.d.ts +1 -0
- package/esm/langs/tr.js +2 -1
- package/esm/langs/ua.d.ts +1 -0
- package/esm/langs/ua.js +2 -1
- package/esm/langs/zh_cn.d.ts +1 -0
- package/esm/langs/zh_cn.js +2 -1
- package/esm/langs/zh_tw.d.ts +1 -0
- package/esm/langs/zh_tw.js +2 -1
- package/esm/modules/dialog/dialog.js +1 -0
- package/esm/plugins/ai-assistant/ui/ui-ai-assistant.js +11 -2
- package/esm/plugins/bold/config.js +2 -2
- package/package.json +1 -1
- package/types/langs/ar.d.ts +1 -0
- package/types/langs/az.d.ts +1 -0
- package/types/langs/cs_cz.d.ts +1 -0
- package/types/langs/de.d.ts +1 -0
- package/types/langs/es.d.ts +1 -0
- package/types/langs/fa.d.ts +1 -0
- package/types/langs/fi.d.ts +1 -0
- package/types/langs/fr.d.ts +1 -0
- package/types/langs/he.d.ts +1 -0
- package/types/langs/hu.d.ts +1 -0
- package/types/langs/id.d.ts +1 -0
- package/types/langs/it.d.ts +1 -0
- package/types/langs/ja.d.ts +1 -0
- package/types/langs/ko.d.ts +1 -0
- package/types/langs/mn.d.ts +1 -0
- package/types/langs/nl.d.ts +1 -0
- package/types/langs/no.d.ts +1 -0
- package/types/langs/pl.d.ts +1 -0
- package/types/langs/pt_br.d.ts +1 -0
- package/types/langs/ru.d.ts +1 -0
- package/types/langs/sk.d.ts +1 -0
- package/types/langs/sv.d.ts +1 -0
- package/types/langs/tr.d.ts +1 -0
- package/types/langs/ua.d.ts +1 -0
- package/types/langs/zh_cn.d.ts +1 -0
- package/types/langs/zh_tw.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.18.
|
|
4
|
+
* Version: v4.18.9
|
|
5
5
|
* Url: https://xdsoft.net/jodit/
|
|
6
6
|
* License(s): MIT
|
|
7
7
|
*/
|
|
@@ -1822,7 +1822,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1822
1822
|
* ```
|
|
1823
1823
|
* @packageDocumentation
|
|
1824
1824
|
* @module constants
|
|
1825
|
-
*/ const APP_VERSION = "4.18.
|
|
1825
|
+
*/ const APP_VERSION = "4.18.9";
|
|
1826
1826
|
// prettier-ignore
|
|
1827
1827
|
const ES = "es2021";
|
|
1828
1828
|
const IS_ES_MODERN = true;
|
|
@@ -15394,6 +15394,12 @@ class UITooltip extends jodit_core_ui_element__WEBPACK_IMPORTED_MODULE_9__.UIEle
|
|
|
15394
15394
|
if (!isOwn) {
|
|
15395
15395
|
return;
|
|
15396
15396
|
}
|
|
15397
|
+
// A dialog's `aria-label` is its title and a file input's names its
|
|
15398
|
+
// click target. Neither is a tooltip, and both boxes would put one off
|
|
15399
|
+
// the screen
|
|
15400
|
+
if ((0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_8__.attr)(e.target, 'role') === 'dialog' || jodit_core_dom__WEBPACK_IMPORTED_MODULE_4__.Dom.isTag(e.target, 'input') && e.target.type === 'file') {
|
|
15401
|
+
return;
|
|
15402
|
+
}
|
|
15397
15403
|
this.__currentTarget = e.target;
|
|
15398
15404
|
const target = e.target;
|
|
15399
15405
|
this.__open(()=>{
|
|
@@ -19844,6 +19850,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_15__.Config.prototype.dialog = {
|
|
|
19844
19850
|
jodit_config__WEBPACK_IMPORTED_MODULE_15__.Config.prototype.controls.dialog = {
|
|
19845
19851
|
close: {
|
|
19846
19852
|
icon: 'cancel',
|
|
19853
|
+
tooltip: 'Close',
|
|
19847
19854
|
exec: (dialog)=>{
|
|
19848
19855
|
dialog.close();
|
|
19849
19856
|
}
|
|
@@ -27979,8 +27986,21 @@ class UiAiAssistant extends jodit_core_ui_element__WEBPACK_IMPORTED_MODULE_7__.U
|
|
|
27979
27986
|
this.__toggleSubmitButton(true);
|
|
27980
27987
|
}
|
|
27981
27988
|
};
|
|
27982
|
-
this.__submitButton = (0,jodit_core_ui__WEBPACK_IMPORTED_MODULE_6__.Button)(jodit,
|
|
27983
|
-
|
|
27989
|
+
this.__submitButton = (0,jodit_core_ui__WEBPACK_IMPORTED_MODULE_6__.Button)(jodit, {
|
|
27990
|
+
icon: {
|
|
27991
|
+
name: 'ai-assistant'
|
|
27992
|
+
},
|
|
27993
|
+
name: 'ai-assistant',
|
|
27994
|
+
tooltip: 'Submit'
|
|
27995
|
+
}).onAction(onSubmit);
|
|
27996
|
+
this.__tryAgainButton = (0,jodit_core_ui__WEBPACK_IMPORTED_MODULE_6__.Button)(jodit, {
|
|
27997
|
+
icon: {
|
|
27998
|
+
name: 'update'
|
|
27999
|
+
},
|
|
28000
|
+
name: 'update',
|
|
28001
|
+
tooltip: 'Try Again',
|
|
28002
|
+
variant: 'initial'
|
|
28003
|
+
}).onAction(onSubmit);
|
|
27984
28004
|
this.promptInput = new jodit_core_ui__WEBPACK_IMPORTED_MODULE_6__.UITextArea(jodit, {
|
|
27985
28005
|
name: 'prompt',
|
|
27986
28006
|
required: true,
|
|
@@ -29355,13 +29375,13 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.controls.subscript =
|
|
|
29355
29375
|
tags: [
|
|
29356
29376
|
'sub'
|
|
29357
29377
|
],
|
|
29358
|
-
tooltip: '
|
|
29378
|
+
tooltip: 'Subscript'
|
|
29359
29379
|
};
|
|
29360
29380
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.controls.superscript = {
|
|
29361
29381
|
tags: [
|
|
29362
29382
|
'sup'
|
|
29363
29383
|
],
|
|
29364
|
-
tooltip: '
|
|
29384
|
+
tooltip: 'Superscript'
|
|
29365
29385
|
};
|
|
29366
29386
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__.Config.prototype.controls.bold = {
|
|
29367
29387
|
tagRegExp: /^(strong|b)$/i,
|
|
@@ -47371,7 +47391,7 @@ module.exports["default"] = {"Type something":"Start writing...","pencil":"Edit"
|
|
|
47371
47391
|
/***/ 53414:
|
|
47372
47392
|
/***/ (function(module) {
|
|
47373
47393
|
|
|
47374
|
-
module.exports["default"] = [" URL","--Not Set--","About Jodit","Add column","Add folder","Add row","Advanced","Align","Align Center","Align Justify","Align Left","Align Right","All","Alternative","Alternative text","Anchor","Apply","Are you sure?","Audio properties","Autoplay","Background","Bold","Border","Border radius","Bottom","Break","Browse","Buy full version","Cancel","Center","Change mode","Chars: %d","Choose Content to Paste","Circle","Class name","Classes","Clean","Clear Formatting","Code","Controls","Copy selection","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.","Create directory","Crop","Cut selection","Decrease Indent","Default","Delete","Delete column","Delete row","Delete table","Dot","Drop file","Drop image","Edit","Edit image","Edit link","Embed code","Empty cell","Enter Directory name","Enter new name","Error on load folders","Error on load list","Eye","File Browser","Fill color or set the text color","Filter","Find","Find Next","Find Previous","Font family","Font size","For information about the license, please go to our website:","Free Non-commercial Version","Heading 1","Heading 2","Heading 3","Heading 4","Height","Horizontal align","Image","Image properties","Increase Indent","Insert","Insert Horizontal Line","Insert Image","Insert Ordered List","Insert Special Character","Insert Unordered List","Insert as Text","Insert className","Insert column after","Insert column before","Insert file","Insert format block","Insert link","Insert only Text","Insert row above","Insert row below","Insert table","Insert youtube/vimeo video","Interim Results","Italic","Jodit Editor","Jodit User's Guide","Keep","Keep Aspect Ratio","Left","License: %s","Line height","Link","List view","Loop","Lower Alpha","Lower Greek","Lower Roman","Margins","Merge","Middle","Muted","No","No follow","Normal","Number for the first item","Ok","Open in fullsize","Open in new tab","Open link","Open link in new tab","Paint format","Paste","Paste as HTML","Paste from clipboard","Please enter a web address","Please fill out this field","Poster","Press Alt for custom resizing","Print","Quadrate","Quote","Redo","Remove","Remove file","Rename","Replace","Replace with","Reset","Resize","Right","Save","Save as ...","Search for","Select","Select %s","Select Special Character","Select all","Select file","Show all","Sort by changed","Sort by name","Sort by size","Sound","Speech Recognize","Spellcheck","Split","Split horizontal","Split vertical","Src","Start at...","Start numbering at","Strike through","Styles","Text","The image has been successfully uploaded to the host!","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","There are no files","Tiles view","Title","Top","Type something","Underline","Undo","Unlink","Update","Update file list","Upload","Upload file","Upper Alpha","Upper Roman","Vertical align","Video properties","Width","Word Paste Detected","Words: %d","Yes","You can only edit your own images. Download this image on the host?","Your browser doesn't support direct access to the clipboard.","Your code is similar to HTML. Keep as HTML?","about","apply","bold","bottom","brush","circle","contains detailed help for using","copy","cut","default","delete","dot","download","edit","eraser","file","font","fontsize","fullsize","hr","image","indent","italic","left","link","newline","ol","or click","outdent","palette","paragraph","pencil","preview","print","redo","right","selectall","shrink","sound","source","space","spellcheck","square","strikethrough","subscript","superscript","table","top","type dir name","type name","ul","underline","undo","video"]
|
|
47394
|
+
module.exports["default"] = [" URL","--Not Set--","About Jodit","Add column","Add folder","Add row","Advanced","Align","Align Center","Align Justify","Align Left","Align Right","All","Alternative","Alternative text","Anchor","Apply","Are you sure?","Audio properties","Autoplay","Background","Bold","Border","Border radius","Bottom","Break","Browse","Buy full version","Cancel","Center","Change mode","Chars: %d","Choose Content to Paste","Circle","Class name","Classes","Clean","Clear Formatting","Close","Code","Controls","Copy selection","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.","Create directory","Crop","Cut selection","Decrease Indent","Default","Delete","Delete column","Delete row","Delete table","Dot","Drop file","Drop image","Edit","Edit image","Edit link","Embed code","Empty cell","Enter Directory name","Enter new name","Error on load folders","Error on load list","Eye","File Browser","Fill color or set the text color","Filter","Find","Find Next","Find Previous","Font family","Font size","For information about the license, please go to our website:","Free Non-commercial Version","Heading 1","Heading 2","Heading 3","Heading 4","Height","Horizontal align","Image","Image properties","Increase Indent","Insert","Insert Horizontal Line","Insert Image","Insert Ordered List","Insert Special Character","Insert Unordered List","Insert as Text","Insert className","Insert column after","Insert column before","Insert file","Insert format block","Insert link","Insert only Text","Insert row above","Insert row below","Insert table","Insert youtube/vimeo video","Interim Results","Italic","Jodit Editor","Jodit User's Guide","Keep","Keep Aspect Ratio","Left","License: %s","Line height","Link","List view","Loop","Lower Alpha","Lower Greek","Lower Roman","Margins","Merge","Middle","Muted","No","No follow","Normal","Number for the first item","Ok","Open in fullsize","Open in new tab","Open link","Open link in new tab","Paint format","Paste","Paste as HTML","Paste from clipboard","Please enter a web address","Please fill out this field","Poster","Press Alt for custom resizing","Print","Quadrate","Quote","Redo","Remove","Remove file","Rename","Replace","Replace with","Reset","Resize","Right","Save","Save as ...","Search for","Select","Select %s","Select Special Character","Select all","Select file","Show all","Sort by changed","Sort by name","Sort by size","Sound","Speech Recognize","Spellcheck","Split","Split horizontal","Split vertical","Src","Start at...","Start numbering at","Strike through","Styles","Text","The image has been successfully uploaded to the host!","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","There are no files","Tiles view","Title","Top","Type something","Underline","Undo","Unlink","Update","Update file list","Upload","Upload file","Upper Alpha","Upper Roman","Vertical align","Video properties","Width","Word Paste Detected","Words: %d","Yes","You can only edit your own images. Download this image on the host?","Your browser doesn't support direct access to the clipboard.","Your code is similar to HTML. Keep as HTML?","about","apply","bold","bottom","brush","circle","contains detailed help for using","copy","cut","default","delete","dot","download","edit","eraser","file","font","fontsize","fullsize","hr","image","indent","italic","left","link","newline","ol","or click","outdent","palette","paragraph","pencil","preview","print","redo","right","selectall","shrink","sound","source","space","spellcheck","square","strikethrough","subscript","superscript","table","top","type dir name","type name","ul","underline","undo","video"]
|
|
47375
47395
|
|
|
47376
47396
|
/***/ }),
|
|
47377
47397
|
|