jodit 4.19.12 → 4.19.14
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 +8 -0
- package/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +6 -6
- package/es2015/jodit.js +138 -85
- package/es2015/jodit.min.js +3 -3
- 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 +3 -3
- package/es2018/jodit.min.js +3 -3
- 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 +4 -4
- package/es2021/jodit.js +138 -85
- package/es2021/jodit.min.js +4 -4
- 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 +4 -4
- package/es2021.en/jodit.js +114 -61
- package/es2021.en/jodit.min.js +4 -4
- 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 +162 -88
- 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/global.d.ts +6 -0
- package/esm/core/global.js +21 -4
- package/esm/core/helpers/html/safe-html.js +26 -0
- package/esm/jodit.d.ts +4 -0
- package/esm/jodit.js +5 -1
- package/esm/languages.js +7 -1
- package/package.json +1 -1
- package/types/core/global.d.ts +6 -0
- package/types/jodit.d.ts +4 -0
package/es2015/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.19.
|
|
4
|
+
* Version: v4.19.14
|
|
5
5
|
* Url: https://xdsoft.net/jodit/
|
|
6
6
|
* License(s): MIT
|
|
7
7
|
*/
|
|
@@ -1830,7 +1830,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1830
1830
|
* ```
|
|
1831
1831
|
* @packageDocumentation
|
|
1832
1832
|
* @module constants
|
|
1833
|
-
*/ const APP_VERSION = "4.19.
|
|
1833
|
+
*/ const APP_VERSION = "4.19.14";
|
|
1834
1834
|
// prettier-ignore
|
|
1835
1835
|
const ES = "es2015";
|
|
1836
1836
|
const IS_ES_MODERN = true;
|
|
@@ -4802,16 +4802,18 @@ class EventHandlersStore {
|
|
|
4802
4802
|
/* harmony export */ uniqueUid: function() { return /* binding */ uniqueUid; }
|
|
4803
4803
|
/* harmony export */ });
|
|
4804
4804
|
/* harmony import */ var jodit_core_helpers_checker_is_jodit_object__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(24497);
|
|
4805
|
-
/* harmony import */ var
|
|
4806
|
-
/* harmony import */ var
|
|
4807
|
-
/* harmony import */ var
|
|
4808
|
-
/* harmony import */ var
|
|
4809
|
-
/* harmony import */ var
|
|
4810
|
-
/* harmony import */ var
|
|
4811
|
-
/* harmony import */ var
|
|
4812
|
-
/* harmony import */ var
|
|
4813
|
-
/* harmony import */ var
|
|
4814
|
-
/* harmony import */ var
|
|
4805
|
+
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(62101);
|
|
4806
|
+
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(85932);
|
|
4807
|
+
/* harmony import */ var jodit_core_helpers_checker_is_view_object__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(31534);
|
|
4808
|
+
/* harmony import */ var jodit_core_helpers_string_kebab_case__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(74264);
|
|
4809
|
+
/* harmony import */ var jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(7909);
|
|
4810
|
+
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(80991);
|
|
4811
|
+
/* harmony import */ var jodit_core_helpers_utils_get_class_name__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(421);
|
|
4812
|
+
/* harmony import */ var jodit_core_helpers_utils_is_unsafe_proto_key__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(78048);
|
|
4813
|
+
/* harmony import */ var jodit_core_plugin_plugin_system__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(85305);
|
|
4814
|
+
/* harmony import */ var _event_emitter_global__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(42689);
|
|
4815
|
+
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(81937);
|
|
4816
|
+
/* harmony import */ var _dom__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(27795);
|
|
4815
4817
|
/*!
|
|
4816
4818
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
4817
4819
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -4829,6 +4831,8 @@ class EventHandlersStore {
|
|
|
4829
4831
|
|
|
4830
4832
|
|
|
4831
4833
|
|
|
4834
|
+
|
|
4835
|
+
|
|
4832
4836
|
const instances = {};
|
|
4833
4837
|
let counter = 1;
|
|
4834
4838
|
const uuids = new Set();
|
|
@@ -4846,26 +4850,40 @@ const uuids = new Set();
|
|
|
4846
4850
|
uuids.add(uid);
|
|
4847
4851
|
return uid;
|
|
4848
4852
|
}
|
|
4849
|
-
const pluginSystem = new
|
|
4853
|
+
const pluginSystem = new jodit_core_plugin_plugin_system__WEBPACK_IMPORTED_MODULE_9__.PluginSystem({
|
|
4850
4854
|
getContainer
|
|
4851
4855
|
});
|
|
4852
4856
|
const modules = {};
|
|
4853
|
-
|
|
4857
|
+
// A CommonJS pack imported as a namespace carries the dictionary in `default`; a translation of the word is a string
|
|
4858
|
+
const unwrapModule = (pack)=>(0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_1__.isPlainObject)(pack) && (0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_1__.isPlainObject)(pack.default) ? pack.default : pack;
|
|
4859
|
+
/**
|
|
4860
|
+
* Merge language packs into the global `lang` registry
|
|
4861
|
+
*
|
|
4862
|
+
* `__proto__`, `constructor` and `prototype` are skipped on both levels, so a
|
|
4863
|
+
* pack parsed from untrusted JSON cannot reach `Object.prototype` (CWE-1321).
|
|
4864
|
+
*/ const extendLang = (langs)=>{
|
|
4854
4865
|
Object.keys(langs).forEach((key)=>{
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
|
|
4858
|
-
|
|
4866
|
+
const pack = unwrapModule(langs[key]);
|
|
4867
|
+
if ((0,jodit_core_helpers_utils_is_unsafe_proto_key__WEBPACK_IMPORTED_MODULE_8__.isUnsafeProtoKey)(key) || !(0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_1__.isPlainObject)(pack)) {
|
|
4868
|
+
return;
|
|
4869
|
+
}
|
|
4870
|
+
if (!Object.prototype.hasOwnProperty.call(_constants__WEBPACK_IMPORTED_MODULE_11__.lang, key) || !(0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_1__.isPlainObject)(_constants__WEBPACK_IMPORTED_MODULE_11__.lang[key])) {
|
|
4871
|
+
_constants__WEBPACK_IMPORTED_MODULE_11__.lang[key] = {};
|
|
4859
4872
|
}
|
|
4873
|
+
Object.keys(pack).forEach((name)=>{
|
|
4874
|
+
if (!(0,jodit_core_helpers_utils_is_unsafe_proto_key__WEBPACK_IMPORTED_MODULE_8__.isUnsafeProtoKey)(name)) {
|
|
4875
|
+
_constants__WEBPACK_IMPORTED_MODULE_11__.lang[key][name] = pack[name];
|
|
4876
|
+
}
|
|
4877
|
+
});
|
|
4860
4878
|
});
|
|
4861
4879
|
};
|
|
4862
4880
|
const boxes = new WeakMap();
|
|
4863
4881
|
/**
|
|
4864
4882
|
* Create unique box(HTMLCotainer) and remove it after destroy
|
|
4865
4883
|
*/ function getContainer(jodit, classFunc, tag = 'div', createInsideEditor = false) {
|
|
4866
|
-
const name = (0,
|
|
4884
|
+
const name = (0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__.isString)(classFunc) ? classFunc : classFunc ? (0,jodit_core_helpers_utils_get_class_name__WEBPACK_IMPORTED_MODULE_7__.getClassName)(classFunc.prototype) : 'jodit-utils';
|
|
4867
4885
|
const data = boxes.get(jodit) || {}, key = name + tag;
|
|
4868
|
-
const view = (0,
|
|
4886
|
+
const view = (0,jodit_core_helpers_checker_is_view_object__WEBPACK_IMPORTED_MODULE_3__.isViewObject)(jodit) ? jodit : jodit.j;
|
|
4869
4887
|
let body;
|
|
4870
4888
|
if (!data[key]) {
|
|
4871
4889
|
let c = view.c;
|
|
@@ -4876,18 +4894,18 @@ const boxes = new WeakMap();
|
|
|
4876
4894
|
body = (0,jodit_core_helpers_checker_is_jodit_object__WEBPACK_IMPORTED_MODULE_0__.isJoditObject)(jodit) && jodit.o.shadowRoot ? jodit.o.shadowRoot : place;
|
|
4877
4895
|
}
|
|
4878
4896
|
const box = c.element(tag, {
|
|
4879
|
-
className: `jodit jodit-${(0,
|
|
4897
|
+
className: `jodit jodit-${(0,jodit_core_helpers_string_kebab_case__WEBPACK_IMPORTED_MODULE_4__.kebabCase)(name)}-container jodit-box`
|
|
4880
4898
|
});
|
|
4881
4899
|
// Let a strict CSP accept the injected <style>/<script> box
|
|
4882
4900
|
if (view.o.nonce && (tag === 'style' || tag === 'script')) {
|
|
4883
|
-
(0,
|
|
4901
|
+
(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_5__.attr)(box, 'nonce', view.o.nonce);
|
|
4884
4902
|
}
|
|
4885
4903
|
box.classList.add(`jodit_theme_${view.o.theme || 'default'}`);
|
|
4886
|
-
|
|
4904
|
+
_dom__WEBPACK_IMPORTED_MODULE_12__.Dom.append(body, box);
|
|
4887
4905
|
data[key] = box;
|
|
4888
4906
|
jodit.hookStatus('beforeDestruct', ()=>{
|
|
4889
4907
|
view.events.off(box);
|
|
4890
|
-
|
|
4908
|
+
_dom__WEBPACK_IMPORTED_MODULE_12__.Dom.safeRemove(box);
|
|
4891
4909
|
delete data[key];
|
|
4892
4910
|
if (Object.keys(data).length) {
|
|
4893
4911
|
boxes.delete(jodit);
|
|
@@ -4905,15 +4923,15 @@ const boxes = new WeakMap();
|
|
|
4905
4923
|
* @internal
|
|
4906
4924
|
*/ function getPopupViewRoot(o, container, defaultRoot) {
|
|
4907
4925
|
var _ref, _ref1, _o_popupRoot;
|
|
4908
|
-
return (_ref = (_ref1 = (_o_popupRoot = o.popupRoot) !== null && _o_popupRoot !== void 0 ? _o_popupRoot : o.shadowRoot) !== null && _ref1 !== void 0 ? _ref1 :
|
|
4926
|
+
return (_ref = (_ref1 = (_o_popupRoot = o.popupRoot) !== null && _o_popupRoot !== void 0 ? _o_popupRoot : o.shadowRoot) !== null && _ref1 !== void 0 ? _ref1 : _dom__WEBPACK_IMPORTED_MODULE_12__.Dom.closest(container, (parentElement)=>_dom__WEBPACK_IMPORTED_MODULE_12__.Dom.isHTMLElement(parentElement) && (_dom__WEBPACK_IMPORTED_MODULE_12__.Dom.isTag(parentElement, 'dialog') || [
|
|
4909
4927
|
'fixed',
|
|
4910
4928
|
'absolute'
|
|
4911
|
-
].includes((0,
|
|
4929
|
+
].includes((0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_6__.css)(parentElement, 'position'))), defaultRoot)) !== null && _ref !== void 0 ? _ref : defaultRoot;
|
|
4912
4930
|
}
|
|
4913
4931
|
/**
|
|
4914
4932
|
* Global event emitter
|
|
4915
4933
|
* @deprecated use `import { eventEmitter } from 'jodit/core/event-emitter/global';`
|
|
4916
|
-
*/ const eventEmitter =
|
|
4934
|
+
*/ const eventEmitter = _event_emitter_global__WEBPACK_IMPORTED_MODULE_10__.eventEmitter;
|
|
4917
4935
|
|
|
4918
4936
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, [
|
|
4919
4937
|
/* harmony export */ "eventEmitter", 0, /* binding */ eventEmitter,
|
|
@@ -6503,6 +6521,22 @@ function isSmuggledForeignHtml(elm) {
|
|
|
6503
6521
|
'background',
|
|
6504
6522
|
'xlink:href'
|
|
6505
6523
|
];
|
|
6524
|
+
/**
|
|
6525
|
+
* SVG animation elements can write a URL attribute at run time, as
|
|
6526
|
+
* `<animate attributeName="href" values="javascript:…">` does, and the
|
|
6527
|
+
* attributes below carry the values they write.
|
|
6528
|
+
*/ const ANIMATION_TAGS = new Set([
|
|
6529
|
+
'animate',
|
|
6530
|
+
'set',
|
|
6531
|
+
'animatemotion',
|
|
6532
|
+
'animatetransform'
|
|
6533
|
+
]);
|
|
6534
|
+
const ANIMATION_VALUE_ATTRIBUTES = [
|
|
6535
|
+
'values',
|
|
6536
|
+
'from',
|
|
6537
|
+
'to',
|
|
6538
|
+
'by'
|
|
6539
|
+
];
|
|
6506
6540
|
/**
|
|
6507
6541
|
* Tags that load their URL as a *document* (scripts inside run). An SVG data
|
|
6508
6542
|
* URL is only an XSS vector here — as an `<img>` source it renders inertly.
|
|
@@ -6576,6 +6610,19 @@ function sanitizeHTMLElement(elm, { safeJavaScriptLink, removeOnError, removeEve
|
|
|
6576
6610
|
effected = true;
|
|
6577
6611
|
}
|
|
6578
6612
|
}
|
|
6613
|
+
// SMIL sets the attribute on click time, after the static check above:
|
|
6614
|
+
// `<svg><a><animate attributeName="href" values="javascript:…">` ran
|
|
6615
|
+
// in Chromium and Safari. Drop the values that hold a dangerous
|
|
6616
|
+
// scheme; `values` is a `;` list. See GHSA-6wrw-v5gj-6xg7
|
|
6617
|
+
if (ANIMATION_TAGS.has(tagName)) {
|
|
6618
|
+
for (const name of ANIMATION_VALUE_ATTRIBUTES){
|
|
6619
|
+
const value = (0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_2__.attrRaw)(elm, name);
|
|
6620
|
+
if (value && value.split(';').some((part)=>isDangerousUrl(part, 'a'))) {
|
|
6621
|
+
(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_1__.attr)(elm, name, null);
|
|
6622
|
+
effected = true;
|
|
6623
|
+
}
|
|
6624
|
+
}
|
|
6625
|
+
}
|
|
6579
6626
|
}
|
|
6580
6627
|
return effected;
|
|
6581
6628
|
}
|
|
@@ -20359,6 +20406,9 @@ class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE_12__.ViewWithToolbar
|
|
|
20359
20406
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(Jodit, "constants", jodit_core_constants__WEBPACK_IMPORTED_MODULE_3__);
|
|
20360
20407
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(Jodit, "instances", jodit_core_global__WEBPACK_IMPORTED_MODULE_5__.instances);
|
|
20361
20408
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(Jodit, "lang", jodit_core_constants__WEBPACK_IMPORTED_MODULE_3__.lang);
|
|
20409
|
+
/**
|
|
20410
|
+
* Merge language packs into `Jodit.lang`; prototype keys are ignored
|
|
20411
|
+
*/ (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(Jodit, "extendLang", jodit_core_global__WEBPACK_IMPORTED_MODULE_5__.extendLang);
|
|
20362
20412
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_0__._)(Jodit, "core", {
|
|
20363
20413
|
Plugin: jodit_modules__WEBPACK_IMPORTED_MODULE_12__.Plugin
|
|
20364
20414
|
});
|
|
@@ -20403,34 +20453,35 @@ function addClassNames(className, elm) {
|
|
|
20403
20453
|
|
|
20404
20454
|
"use strict";
|
|
20405
20455
|
/* harmony import */ var jodit_core_helpers_checker_is_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17312);
|
|
20406
|
-
/* harmony import */ var
|
|
20407
|
-
/* harmony import */ var
|
|
20408
|
-
/* harmony import */ var
|
|
20409
|
-
/* harmony import */ var
|
|
20410
|
-
/* harmony import */ var
|
|
20411
|
-
/* harmony import */ var
|
|
20412
|
-
/* harmony import */ var
|
|
20413
|
-
/* harmony import */ var
|
|
20414
|
-
/* harmony import */ var
|
|
20415
|
-
/* harmony import */ var
|
|
20416
|
-
/* harmony import */ var
|
|
20417
|
-
/* harmony import */ var
|
|
20418
|
-
/* harmony import */ var
|
|
20419
|
-
/* harmony import */ var
|
|
20420
|
-
/* harmony import */ var
|
|
20421
|
-
/* harmony import */ var
|
|
20422
|
-
/* harmony import */ var
|
|
20423
|
-
/* harmony import */ var
|
|
20424
|
-
/* harmony import */ var
|
|
20425
|
-
/* harmony import */ var
|
|
20426
|
-
/* harmony import */ var
|
|
20427
|
-
/* harmony import */ var
|
|
20428
|
-
/* harmony import */ var
|
|
20429
|
-
/* harmony import */ var
|
|
20430
|
-
/* harmony import */ var
|
|
20431
|
-
/* harmony import */ var
|
|
20432
|
-
/* harmony import */ var
|
|
20433
|
-
/* harmony import */ var
|
|
20456
|
+
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(62101);
|
|
20457
|
+
/* harmony import */ var jodit_langs_ar__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(57741);
|
|
20458
|
+
/* harmony import */ var jodit_langs_az__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(23717);
|
|
20459
|
+
/* harmony import */ var jodit_langs_cs_cz__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(56014);
|
|
20460
|
+
/* harmony import */ var jodit_langs_de__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(95461);
|
|
20461
|
+
/* harmony import */ var jodit_langs_en__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(63837);
|
|
20462
|
+
/* harmony import */ var jodit_langs_es__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(39386);
|
|
20463
|
+
/* harmony import */ var jodit_langs_fa__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(52735);
|
|
20464
|
+
/* harmony import */ var jodit_langs_fi__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(62327);
|
|
20465
|
+
/* harmony import */ var jodit_langs_fr__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(25090);
|
|
20466
|
+
/* harmony import */ var jodit_langs_he__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(53113);
|
|
20467
|
+
/* harmony import */ var jodit_langs_hu__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(81321);
|
|
20468
|
+
/* harmony import */ var jodit_langs_id__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(4679);
|
|
20469
|
+
/* harmony import */ var jodit_langs_it__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(31927);
|
|
20470
|
+
/* harmony import */ var jodit_langs_ja__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(21195);
|
|
20471
|
+
/* harmony import */ var jodit_langs_keys__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(53414);
|
|
20472
|
+
/* harmony import */ var jodit_langs_ko__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(11012);
|
|
20473
|
+
/* harmony import */ var jodit_langs_mn__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(87061);
|
|
20474
|
+
/* harmony import */ var jodit_langs_nl__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(3268);
|
|
20475
|
+
/* harmony import */ var jodit_langs_no__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(85325);
|
|
20476
|
+
/* harmony import */ var jodit_langs_pl__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(97834);
|
|
20477
|
+
/* harmony import */ var jodit_langs_pt_br__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(86433);
|
|
20478
|
+
/* harmony import */ var jodit_langs_ru__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(28359);
|
|
20479
|
+
/* harmony import */ var jodit_langs_sk__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(33872);
|
|
20480
|
+
/* harmony import */ var jodit_langs_sv__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(39579);
|
|
20481
|
+
/* harmony import */ var jodit_langs_tr__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(68368);
|
|
20482
|
+
/* harmony import */ var jodit_langs_ua__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(57456);
|
|
20483
|
+
/* harmony import */ var jodit_langs_zh_cn__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(25182);
|
|
20484
|
+
/* harmony import */ var jodit_langs_zh_tw__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(44906);
|
|
20434
20485
|
/*!
|
|
20435
20486
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
20436
20487
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -20467,41 +20518,43 @@ function addClassNames(className, elm) {
|
|
|
20467
20518
|
|
|
20468
20519
|
|
|
20469
20520
|
|
|
20521
|
+
|
|
20470
20522
|
|
|
20471
20523
|
|
|
20472
20524
|
let exp = {};
|
|
20473
20525
|
exp = {
|
|
20474
|
-
ar:
|
|
20475
|
-
az:
|
|
20476
|
-
cs_cz:
|
|
20477
|
-
de:
|
|
20478
|
-
en:
|
|
20479
|
-
es:
|
|
20480
|
-
fa:
|
|
20481
|
-
fi:
|
|
20482
|
-
fr:
|
|
20483
|
-
he:
|
|
20484
|
-
hu:
|
|
20485
|
-
id:
|
|
20486
|
-
it:
|
|
20487
|
-
ja:
|
|
20488
|
-
ko:
|
|
20489
|
-
mn:
|
|
20490
|
-
nl:
|
|
20491
|
-
no:
|
|
20492
|
-
pl:
|
|
20493
|
-
pt_br:
|
|
20494
|
-
ru:
|
|
20495
|
-
sk:
|
|
20496
|
-
sv:
|
|
20497
|
-
tr:
|
|
20498
|
-
ua:
|
|
20499
|
-
zh_cn:
|
|
20500
|
-
zh_tw:
|
|
20526
|
+
ar: jodit_langs_ar__WEBPACK_IMPORTED_MODULE_2__,
|
|
20527
|
+
az: jodit_langs_az__WEBPACK_IMPORTED_MODULE_3__,
|
|
20528
|
+
cs_cz: jodit_langs_cs_cz__WEBPACK_IMPORTED_MODULE_4__,
|
|
20529
|
+
de: jodit_langs_de__WEBPACK_IMPORTED_MODULE_5__,
|
|
20530
|
+
en: jodit_langs_en__WEBPACK_IMPORTED_MODULE_6__,
|
|
20531
|
+
es: jodit_langs_es__WEBPACK_IMPORTED_MODULE_7__,
|
|
20532
|
+
fa: jodit_langs_fa__WEBPACK_IMPORTED_MODULE_8__,
|
|
20533
|
+
fi: jodit_langs_fi__WEBPACK_IMPORTED_MODULE_9__,
|
|
20534
|
+
fr: jodit_langs_fr__WEBPACK_IMPORTED_MODULE_10__,
|
|
20535
|
+
he: jodit_langs_he__WEBPACK_IMPORTED_MODULE_11__,
|
|
20536
|
+
hu: jodit_langs_hu__WEBPACK_IMPORTED_MODULE_12__,
|
|
20537
|
+
id: jodit_langs_id__WEBPACK_IMPORTED_MODULE_13__,
|
|
20538
|
+
it: jodit_langs_it__WEBPACK_IMPORTED_MODULE_14__,
|
|
20539
|
+
ja: jodit_langs_ja__WEBPACK_IMPORTED_MODULE_15__,
|
|
20540
|
+
ko: jodit_langs_ko__WEBPACK_IMPORTED_MODULE_17__,
|
|
20541
|
+
mn: jodit_langs_mn__WEBPACK_IMPORTED_MODULE_18__,
|
|
20542
|
+
nl: jodit_langs_nl__WEBPACK_IMPORTED_MODULE_19__,
|
|
20543
|
+
no: jodit_langs_no__WEBPACK_IMPORTED_MODULE_20__,
|
|
20544
|
+
pl: jodit_langs_pl__WEBPACK_IMPORTED_MODULE_21__,
|
|
20545
|
+
pt_br: jodit_langs_pt_br__WEBPACK_IMPORTED_MODULE_22__,
|
|
20546
|
+
ru: jodit_langs_ru__WEBPACK_IMPORTED_MODULE_23__,
|
|
20547
|
+
sk: jodit_langs_sk__WEBPACK_IMPORTED_MODULE_24__,
|
|
20548
|
+
sv: jodit_langs_sv__WEBPACK_IMPORTED_MODULE_25__,
|
|
20549
|
+
tr: jodit_langs_tr__WEBPACK_IMPORTED_MODULE_26__,
|
|
20550
|
+
ua: jodit_langs_ua__WEBPACK_IMPORTED_MODULE_27__,
|
|
20551
|
+
zh_cn: jodit_langs_zh_cn__WEBPACK_IMPORTED_MODULE_28__,
|
|
20552
|
+
zh_tw: jodit_langs_zh_tw__WEBPACK_IMPORTED_MODULE_29__
|
|
20501
20553
|
};
|
|
20502
|
-
/* Unpack array to hash */
|
|
20503
|
-
|
|
20504
|
-
|
|
20554
|
+
/* Unpack array to hash */ // Unwrap a module (`default` is the dictionary or the packed array), but keep a dictionary whose `default` is a translation (`no.js`)
|
|
20555
|
+
const get = (value)=>value ? (0,jodit_core_helpers_checker_is_array__WEBPACK_IMPORTED_MODULE_0__.isArray)(value.default) || (0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_1__.isPlainObject)(value.default) ? value.default : value : {}, hashLang = {};
|
|
20556
|
+
if ((0,jodit_core_helpers_checker_is_array__WEBPACK_IMPORTED_MODULE_0__.isArray)(get(jodit_langs_keys__WEBPACK_IMPORTED_MODULE_16__))) {
|
|
20557
|
+
get(jodit_langs_keys__WEBPACK_IMPORTED_MODULE_16__).forEach((key, index)=>{
|
|
20505
20558
|
hashLang[index] = key;
|
|
20506
20559
|
});
|
|
20507
20560
|
}
|