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/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.19.
|
|
4
|
+
* Version: v4.19.14
|
|
5
5
|
* Url: https://xdsoft.net/jodit/
|
|
6
6
|
* License(s): MIT
|
|
7
7
|
*/
|
|
@@ -2155,7 +2155,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2155
2155
|
* @packageDocumentation
|
|
2156
2156
|
* @module constants
|
|
2157
2157
|
*/
|
|
2158
|
-
var APP_VERSION = "4.19.
|
|
2158
|
+
var APP_VERSION = "4.19.14";
|
|
2159
2159
|
// prettier-ignore
|
|
2160
2160
|
var ES = "es5";
|
|
2161
2161
|
var IS_ES_MODERN = false;
|
|
@@ -5699,16 +5699,18 @@ var EventHandlersStore = /*#__PURE__*/ function() {
|
|
|
5699
5699
|
/* harmony export */ uniqueUid: function() { return /* binding */ uniqueUid; }
|
|
5700
5700
|
/* harmony export */ });
|
|
5701
5701
|
/* harmony import */ var jodit_core_helpers_checker_is_jodit_object__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(24497);
|
|
5702
|
-
/* harmony import */ var
|
|
5703
|
-
/* harmony import */ var
|
|
5704
|
-
/* harmony import */ var
|
|
5705
|
-
/* harmony import */ var
|
|
5706
|
-
/* harmony import */ var
|
|
5707
|
-
/* harmony import */ var
|
|
5708
|
-
/* harmony import */ var
|
|
5709
|
-
/* harmony import */ var
|
|
5710
|
-
/* harmony import */ var
|
|
5711
|
-
/* harmony import */ var
|
|
5702
|
+
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(62101);
|
|
5703
|
+
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(85932);
|
|
5704
|
+
/* harmony import */ var jodit_core_helpers_checker_is_view_object__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(31534);
|
|
5705
|
+
/* harmony import */ var jodit_core_helpers_string_kebab_case__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(74264);
|
|
5706
|
+
/* harmony import */ var jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(7909);
|
|
5707
|
+
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(80991);
|
|
5708
|
+
/* harmony import */ var jodit_core_helpers_utils_get_class_name__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(421);
|
|
5709
|
+
/* harmony import */ var jodit_core_helpers_utils_is_unsafe_proto_key__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(78048);
|
|
5710
|
+
/* harmony import */ var jodit_core_plugin_plugin_system__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(85305);
|
|
5711
|
+
/* harmony import */ var _event_emitter_global__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(42689);
|
|
5712
|
+
/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(81937);
|
|
5713
|
+
/* harmony import */ var _dom__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(27795);
|
|
5712
5714
|
/*!
|
|
5713
5715
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
5714
5716
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -5726,6 +5728,8 @@ var EventHandlersStore = /*#__PURE__*/ function() {
|
|
|
5726
5728
|
|
|
5727
5729
|
|
|
5728
5730
|
|
|
5731
|
+
|
|
5732
|
+
|
|
5729
5733
|
var instances = {};
|
|
5730
5734
|
var counter = 1;
|
|
5731
5735
|
var uuids = new Set();
|
|
@@ -5743,17 +5747,33 @@ var uuids = new Set();
|
|
|
5743
5747
|
uuids.add(uid);
|
|
5744
5748
|
return uid;
|
|
5745
5749
|
}
|
|
5746
|
-
var pluginSystem = new
|
|
5750
|
+
var pluginSystem = new jodit_core_plugin_plugin_system__WEBPACK_IMPORTED_MODULE_9__.PluginSystem({
|
|
5747
5751
|
getContainer: getContainer
|
|
5748
5752
|
});
|
|
5749
5753
|
var modules = {};
|
|
5750
|
-
|
|
5754
|
+
// A CommonJS pack imported as a namespace carries the dictionary in `default`; a translation of the word is a string
|
|
5755
|
+
var unwrapModule = function unwrapModule(pack) {
|
|
5756
|
+
return (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;
|
|
5757
|
+
};
|
|
5758
|
+
/**
|
|
5759
|
+
* Merge language packs into the global `lang` registry
|
|
5760
|
+
*
|
|
5761
|
+
* `__proto__`, `constructor` and `prototype` are skipped on both levels, so a
|
|
5762
|
+
* pack parsed from untrusted JSON cannot reach `Object.prototype` (CWE-1321).
|
|
5763
|
+
*/ var extendLang = function extendLang(langs) {
|
|
5751
5764
|
Object.keys(langs).forEach(function(key) {
|
|
5752
|
-
|
|
5753
|
-
|
|
5754
|
-
|
|
5755
|
-
|
|
5765
|
+
var pack = unwrapModule(langs[key]);
|
|
5766
|
+
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)) {
|
|
5767
|
+
return;
|
|
5768
|
+
}
|
|
5769
|
+
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])) {
|
|
5770
|
+
_constants__WEBPACK_IMPORTED_MODULE_11__.lang[key] = {};
|
|
5756
5771
|
}
|
|
5772
|
+
Object.keys(pack).forEach(function(name) {
|
|
5773
|
+
if (!(0,jodit_core_helpers_utils_is_unsafe_proto_key__WEBPACK_IMPORTED_MODULE_8__.isUnsafeProtoKey)(name)) {
|
|
5774
|
+
_constants__WEBPACK_IMPORTED_MODULE_11__.lang[key][name] = pack[name];
|
|
5775
|
+
}
|
|
5776
|
+
});
|
|
5757
5777
|
});
|
|
5758
5778
|
};
|
|
5759
5779
|
var boxes = new WeakMap();
|
|
@@ -5761,9 +5781,9 @@ var boxes = new WeakMap();
|
|
|
5761
5781
|
* Create unique box(HTMLCotainer) and remove it after destroy
|
|
5762
5782
|
*/ function getContainer(jodit, classFunc) {
|
|
5763
5783
|
var tag = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 'div', createInsideEditor = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : false;
|
|
5764
|
-
var name = (0,
|
|
5784
|
+
var 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';
|
|
5765
5785
|
var data = boxes.get(jodit) || {}, key = name + tag;
|
|
5766
|
-
var view = (0,
|
|
5786
|
+
var view = (0,jodit_core_helpers_checker_is_view_object__WEBPACK_IMPORTED_MODULE_3__.isViewObject)(jodit) ? jodit : jodit.j;
|
|
5767
5787
|
var body;
|
|
5768
5788
|
if (!data[key]) {
|
|
5769
5789
|
var c = view.c;
|
|
@@ -5774,18 +5794,18 @@ var boxes = new WeakMap();
|
|
|
5774
5794
|
body = (0,jodit_core_helpers_checker_is_jodit_object__WEBPACK_IMPORTED_MODULE_0__.isJoditObject)(jodit) && jodit.o.shadowRoot ? jodit.o.shadowRoot : place;
|
|
5775
5795
|
}
|
|
5776
5796
|
var box = c.element(tag, {
|
|
5777
|
-
className: "jodit jodit-".concat((0,
|
|
5797
|
+
className: "jodit jodit-".concat((0,jodit_core_helpers_string_kebab_case__WEBPACK_IMPORTED_MODULE_4__.kebabCase)(name), "-container jodit-box")
|
|
5778
5798
|
});
|
|
5779
5799
|
// Let a strict CSP accept the injected <style>/<script> box
|
|
5780
5800
|
if (view.o.nonce && (tag === 'style' || tag === 'script')) {
|
|
5781
|
-
(0,
|
|
5801
|
+
(0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_5__.attr)(box, 'nonce', view.o.nonce);
|
|
5782
5802
|
}
|
|
5783
5803
|
box.classList.add("jodit_theme_".concat(view.o.theme || 'default'));
|
|
5784
|
-
|
|
5804
|
+
_dom__WEBPACK_IMPORTED_MODULE_12__.Dom.append(body, box);
|
|
5785
5805
|
data[key] = box;
|
|
5786
5806
|
jodit.hookStatus('beforeDestruct', function() {
|
|
5787
5807
|
view.events.off(box);
|
|
5788
|
-
|
|
5808
|
+
_dom__WEBPACK_IMPORTED_MODULE_12__.Dom.safeRemove(box);
|
|
5789
5809
|
delete data[key];
|
|
5790
5810
|
if (Object.keys(data).length) {
|
|
5791
5811
|
boxes.delete(jodit);
|
|
@@ -5803,17 +5823,17 @@ var boxes = new WeakMap();
|
|
|
5803
5823
|
* @internal
|
|
5804
5824
|
*/ function getPopupViewRoot(o, container, defaultRoot) {
|
|
5805
5825
|
var _ref, _ref1, _o_popupRoot;
|
|
5806
|
-
return (_ref = (_ref1 = (_o_popupRoot = o.popupRoot) !== null && _o_popupRoot !== void 0 ? _o_popupRoot : o.shadowRoot) !== null && _ref1 !== void 0 ? _ref1 :
|
|
5807
|
-
return
|
|
5826
|
+
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, function(parentElement) {
|
|
5827
|
+
return _dom__WEBPACK_IMPORTED_MODULE_12__.Dom.isHTMLElement(parentElement) && (_dom__WEBPACK_IMPORTED_MODULE_12__.Dom.isTag(parentElement, 'dialog') || [
|
|
5808
5828
|
'fixed',
|
|
5809
5829
|
'absolute'
|
|
5810
|
-
].includes((0,
|
|
5830
|
+
].includes((0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_6__.css)(parentElement, 'position')));
|
|
5811
5831
|
}, defaultRoot)) !== null && _ref !== void 0 ? _ref : defaultRoot;
|
|
5812
5832
|
}
|
|
5813
5833
|
/**
|
|
5814
5834
|
* Global event emitter
|
|
5815
5835
|
* @deprecated use `import { eventEmitter } from 'jodit/core/event-emitter/global';`
|
|
5816
|
-
*/ var eventEmitter =
|
|
5836
|
+
*/ var eventEmitter = _event_emitter_global__WEBPACK_IMPORTED_MODULE_10__.eventEmitter;
|
|
5817
5837
|
|
|
5818
5838
|
|
|
5819
5839
|
/***/ }),
|
|
@@ -7476,6 +7496,22 @@ function isSmuggledForeignHtml(elm) {
|
|
|
7476
7496
|
'background',
|
|
7477
7497
|
'xlink:href'
|
|
7478
7498
|
];
|
|
7499
|
+
/**
|
|
7500
|
+
* SVG animation elements can write a URL attribute at run time, as
|
|
7501
|
+
* `<animate attributeName="href" values="javascript:…">` does, and the
|
|
7502
|
+
* attributes below carry the values they write.
|
|
7503
|
+
*/ var ANIMATION_TAGS = new Set([
|
|
7504
|
+
'animate',
|
|
7505
|
+
'set',
|
|
7506
|
+
'animatemotion',
|
|
7507
|
+
'animatetransform'
|
|
7508
|
+
]);
|
|
7509
|
+
var ANIMATION_VALUE_ATTRIBUTES = [
|
|
7510
|
+
'values',
|
|
7511
|
+
'from',
|
|
7512
|
+
'to',
|
|
7513
|
+
'by'
|
|
7514
|
+
];
|
|
7479
7515
|
/**
|
|
7480
7516
|
* Tags that load their URL as a *document* (scripts inside run). An SVG data
|
|
7481
7517
|
* URL is only an XSS vector here — as an `<img>` source it renders inertly.
|
|
@@ -7567,6 +7603,38 @@ function sanitizeHTMLElement(elm) {
|
|
|
7567
7603
|
}
|
|
7568
7604
|
}
|
|
7569
7605
|
}
|
|
7606
|
+
// SMIL sets the attribute on click time, after the static check above:
|
|
7607
|
+
// `<svg><a><animate attributeName="href" values="javascript:…">` ran
|
|
7608
|
+
// in Chromium and Safari. Drop the values that hold a dangerous
|
|
7609
|
+
// scheme; `values` is a `;` list. See GHSA-6wrw-v5gj-6xg7
|
|
7610
|
+
if (ANIMATION_TAGS.has(tagName)) {
|
|
7611
|
+
var _iteratorNormalCompletion1 = true, _didIteratorError1 = false, _iteratorError1 = undefined;
|
|
7612
|
+
try {
|
|
7613
|
+
for(var _iterator1 = ANIMATION_VALUE_ATTRIBUTES[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = true){
|
|
7614
|
+
var name1 = _step1.value;
|
|
7615
|
+
var value1 = (0,jodit_core_helpers_utils_attr__WEBPACK_IMPORTED_MODULE_2__.attrRaw)(elm, name1);
|
|
7616
|
+
if (value1 && value1.split(';').some(function(part) {
|
|
7617
|
+
return isDangerousUrl(part, 'a');
|
|
7618
|
+
})) {
|
|
7619
|
+
(0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_1__.attr)(elm, name1, null);
|
|
7620
|
+
effected = true;
|
|
7621
|
+
}
|
|
7622
|
+
}
|
|
7623
|
+
} catch (err) {
|
|
7624
|
+
_didIteratorError1 = true;
|
|
7625
|
+
_iteratorError1 = err;
|
|
7626
|
+
} finally{
|
|
7627
|
+
try {
|
|
7628
|
+
if (!_iteratorNormalCompletion1 && _iterator1.return != null) {
|
|
7629
|
+
_iterator1.return();
|
|
7630
|
+
}
|
|
7631
|
+
} finally{
|
|
7632
|
+
if (_didIteratorError1) {
|
|
7633
|
+
throw _iteratorError1;
|
|
7634
|
+
}
|
|
7635
|
+
}
|
|
7636
|
+
}
|
|
7637
|
+
}
|
|
7570
7638
|
}
|
|
7571
7639
|
return effected;
|
|
7572
7640
|
}
|
|
@@ -24494,6 +24562,9 @@ var Jodit = /*#__PURE__*/ function(ViewWithToolbar) {
|
|
|
24494
24562
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__._)(Jodit, "constants", jodit_core_constants__WEBPACK_IMPORTED_MODULE_12__);
|
|
24495
24563
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__._)(Jodit, "instances", jodit_core_global__WEBPACK_IMPORTED_MODULE_14__.instances);
|
|
24496
24564
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__._)(Jodit, "lang", jodit_core_constants__WEBPACK_IMPORTED_MODULE_12__.lang);
|
|
24565
|
+
/**
|
|
24566
|
+
* Merge language packs into `Jodit.lang`; prototype keys are ignored
|
|
24567
|
+
*/ (0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__._)(Jodit, "extendLang", jodit_core_global__WEBPACK_IMPORTED_MODULE_14__.extendLang);
|
|
24497
24568
|
(0,_swc_helpers_define_property__WEBPACK_IMPORTED_MODULE_3__._)(Jodit, "core", {
|
|
24498
24569
|
Plugin: jodit_modules__WEBPACK_IMPORTED_MODULE_21__.Plugin
|
|
24499
24570
|
});
|
|
@@ -24540,34 +24611,35 @@ function addClassNames(className, elm) {
|
|
|
24540
24611
|
|
|
24541
24612
|
"use strict";
|
|
24542
24613
|
/* harmony import */ var jodit_core_helpers_checker_is_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17312);
|
|
24543
|
-
/* harmony import */ var
|
|
24544
|
-
/* harmony import */ var
|
|
24545
|
-
/* harmony import */ var
|
|
24546
|
-
/* harmony import */ var
|
|
24547
|
-
/* harmony import */ var
|
|
24548
|
-
/* harmony import */ var
|
|
24549
|
-
/* harmony import */ var
|
|
24550
|
-
/* harmony import */ var
|
|
24551
|
-
/* harmony import */ var
|
|
24552
|
-
/* harmony import */ var
|
|
24553
|
-
/* harmony import */ var
|
|
24554
|
-
/* harmony import */ var
|
|
24555
|
-
/* harmony import */ var
|
|
24556
|
-
/* harmony import */ var
|
|
24557
|
-
/* harmony import */ var
|
|
24558
|
-
/* harmony import */ var
|
|
24559
|
-
/* harmony import */ var
|
|
24560
|
-
/* harmony import */ var
|
|
24561
|
-
/* harmony import */ var
|
|
24562
|
-
/* harmony import */ var
|
|
24563
|
-
/* harmony import */ var
|
|
24564
|
-
/* harmony import */ var
|
|
24565
|
-
/* harmony import */ var
|
|
24566
|
-
/* harmony import */ var
|
|
24567
|
-
/* harmony import */ var
|
|
24568
|
-
/* harmony import */ var
|
|
24569
|
-
/* harmony import */ var
|
|
24570
|
-
/* harmony import */ var
|
|
24614
|
+
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(62101);
|
|
24615
|
+
/* harmony import */ var jodit_langs_ar__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(57741);
|
|
24616
|
+
/* harmony import */ var jodit_langs_az__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(23717);
|
|
24617
|
+
/* harmony import */ var jodit_langs_cs_cz__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(56014);
|
|
24618
|
+
/* harmony import */ var jodit_langs_de__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(95461);
|
|
24619
|
+
/* harmony import */ var jodit_langs_en__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(63837);
|
|
24620
|
+
/* harmony import */ var jodit_langs_es__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(39386);
|
|
24621
|
+
/* harmony import */ var jodit_langs_fa__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(52735);
|
|
24622
|
+
/* harmony import */ var jodit_langs_fi__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(62327);
|
|
24623
|
+
/* harmony import */ var jodit_langs_fr__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(25090);
|
|
24624
|
+
/* harmony import */ var jodit_langs_he__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(53113);
|
|
24625
|
+
/* harmony import */ var jodit_langs_hu__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(81321);
|
|
24626
|
+
/* harmony import */ var jodit_langs_id__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(4679);
|
|
24627
|
+
/* harmony import */ var jodit_langs_it__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(31927);
|
|
24628
|
+
/* harmony import */ var jodit_langs_ja__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(21195);
|
|
24629
|
+
/* harmony import */ var jodit_langs_keys__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(53414);
|
|
24630
|
+
/* harmony import */ var jodit_langs_ko__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(11012);
|
|
24631
|
+
/* harmony import */ var jodit_langs_mn__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(87061);
|
|
24632
|
+
/* harmony import */ var jodit_langs_nl__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(3268);
|
|
24633
|
+
/* harmony import */ var jodit_langs_no__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(85325);
|
|
24634
|
+
/* harmony import */ var jodit_langs_pl__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(97834);
|
|
24635
|
+
/* harmony import */ var jodit_langs_pt_br__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(86433);
|
|
24636
|
+
/* harmony import */ var jodit_langs_ru__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(28359);
|
|
24637
|
+
/* harmony import */ var jodit_langs_sk__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(33872);
|
|
24638
|
+
/* harmony import */ var jodit_langs_sv__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(39579);
|
|
24639
|
+
/* harmony import */ var jodit_langs_tr__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(68368);
|
|
24640
|
+
/* harmony import */ var jodit_langs_ua__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(57456);
|
|
24641
|
+
/* harmony import */ var jodit_langs_zh_cn__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(25182);
|
|
24642
|
+
/* harmony import */ var jodit_langs_zh_tw__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(44906);
|
|
24571
24643
|
/*!
|
|
24572
24644
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
24573
24645
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -24604,43 +24676,45 @@ function addClassNames(className, elm) {
|
|
|
24604
24676
|
|
|
24605
24677
|
|
|
24606
24678
|
|
|
24679
|
+
|
|
24607
24680
|
|
|
24608
24681
|
|
|
24609
24682
|
var exp = {};
|
|
24610
24683
|
exp = {
|
|
24611
|
-
ar:
|
|
24612
|
-
az:
|
|
24613
|
-
cs_cz:
|
|
24614
|
-
de:
|
|
24615
|
-
en:
|
|
24616
|
-
es:
|
|
24617
|
-
fa:
|
|
24618
|
-
fi:
|
|
24619
|
-
fr:
|
|
24620
|
-
he:
|
|
24621
|
-
hu:
|
|
24622
|
-
id:
|
|
24623
|
-
it:
|
|
24624
|
-
ja:
|
|
24625
|
-
ko:
|
|
24626
|
-
mn:
|
|
24627
|
-
nl:
|
|
24628
|
-
no:
|
|
24629
|
-
pl:
|
|
24630
|
-
pt_br:
|
|
24631
|
-
ru:
|
|
24632
|
-
sk:
|
|
24633
|
-
sv:
|
|
24634
|
-
tr:
|
|
24635
|
-
ua:
|
|
24636
|
-
zh_cn:
|
|
24637
|
-
zh_tw:
|
|
24638
|
-
};
|
|
24639
|
-
/* Unpack array to hash */
|
|
24640
|
-
|
|
24684
|
+
ar: jodit_langs_ar__WEBPACK_IMPORTED_MODULE_2__,
|
|
24685
|
+
az: jodit_langs_az__WEBPACK_IMPORTED_MODULE_3__,
|
|
24686
|
+
cs_cz: jodit_langs_cs_cz__WEBPACK_IMPORTED_MODULE_4__,
|
|
24687
|
+
de: jodit_langs_de__WEBPACK_IMPORTED_MODULE_5__,
|
|
24688
|
+
en: jodit_langs_en__WEBPACK_IMPORTED_MODULE_6__,
|
|
24689
|
+
es: jodit_langs_es__WEBPACK_IMPORTED_MODULE_7__,
|
|
24690
|
+
fa: jodit_langs_fa__WEBPACK_IMPORTED_MODULE_8__,
|
|
24691
|
+
fi: jodit_langs_fi__WEBPACK_IMPORTED_MODULE_9__,
|
|
24692
|
+
fr: jodit_langs_fr__WEBPACK_IMPORTED_MODULE_10__,
|
|
24693
|
+
he: jodit_langs_he__WEBPACK_IMPORTED_MODULE_11__,
|
|
24694
|
+
hu: jodit_langs_hu__WEBPACK_IMPORTED_MODULE_12__,
|
|
24695
|
+
id: jodit_langs_id__WEBPACK_IMPORTED_MODULE_13__,
|
|
24696
|
+
it: jodit_langs_it__WEBPACK_IMPORTED_MODULE_14__,
|
|
24697
|
+
ja: jodit_langs_ja__WEBPACK_IMPORTED_MODULE_15__,
|
|
24698
|
+
ko: jodit_langs_ko__WEBPACK_IMPORTED_MODULE_17__,
|
|
24699
|
+
mn: jodit_langs_mn__WEBPACK_IMPORTED_MODULE_18__,
|
|
24700
|
+
nl: jodit_langs_nl__WEBPACK_IMPORTED_MODULE_19__,
|
|
24701
|
+
no: jodit_langs_no__WEBPACK_IMPORTED_MODULE_20__,
|
|
24702
|
+
pl: jodit_langs_pl__WEBPACK_IMPORTED_MODULE_21__,
|
|
24703
|
+
pt_br: jodit_langs_pt_br__WEBPACK_IMPORTED_MODULE_22__,
|
|
24704
|
+
ru: jodit_langs_ru__WEBPACK_IMPORTED_MODULE_23__,
|
|
24705
|
+
sk: jodit_langs_sk__WEBPACK_IMPORTED_MODULE_24__,
|
|
24706
|
+
sv: jodit_langs_sv__WEBPACK_IMPORTED_MODULE_25__,
|
|
24707
|
+
tr: jodit_langs_tr__WEBPACK_IMPORTED_MODULE_26__,
|
|
24708
|
+
ua: jodit_langs_ua__WEBPACK_IMPORTED_MODULE_27__,
|
|
24709
|
+
zh_cn: jodit_langs_zh_cn__WEBPACK_IMPORTED_MODULE_28__,
|
|
24710
|
+
zh_tw: jodit_langs_zh_tw__WEBPACK_IMPORTED_MODULE_29__
|
|
24711
|
+
};
|
|
24712
|
+
/* 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`)
|
|
24713
|
+
var get = function get(value) {
|
|
24714
|
+
return 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 : {};
|
|
24641
24715
|
}, hashLang = {};
|
|
24642
|
-
if ((0,jodit_core_helpers_checker_is_array__WEBPACK_IMPORTED_MODULE_0__.isArray)(get(
|
|
24643
|
-
get(
|
|
24716
|
+
if ((0,jodit_core_helpers_checker_is_array__WEBPACK_IMPORTED_MODULE_0__.isArray)(get(jodit_langs_keys__WEBPACK_IMPORTED_MODULE_16__))) {
|
|
24717
|
+
get(jodit_langs_keys__WEBPACK_IMPORTED_MODULE_16__).forEach(function(key, index) {
|
|
24644
24718
|
hashLang[index] = key;
|
|
24645
24719
|
});
|
|
24646
24720
|
}
|
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.19.
|
|
4
|
+
* Version: v4.19.14
|
|
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.19.
|
|
11
|
+
* Version: v4.19.14
|
|
12
12
|
* Url: https://xdsoft.net/jodit/
|
|
13
13
|
* License(s): MIT
|
|
14
14
|
*/
|