jodit 4.2.15 → 4.2.18
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 +81 -5
- package/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +408 -395
- package/es2015/jodit.min.js +2 -2
- 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 +11 -11
- 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 +408 -397
- package/es2018/jodit.min.js +2 -2
- 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 +11 -11
- 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 +408 -395
- package/es2021/jodit.min.js +2 -2
- 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 +11 -11
- 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 +408 -395
- package/es2021.en/jodit.min.js +2 -2
- 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 +11 -11
- package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es5/jodit.css +2 -2
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +413 -400
- package/es5/jodit.min.css +2 -2
- package/es5/jodit.min.js +2 -2
- 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 +11 -11
- package/es5/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/esm/core/constants.js +1 -1
- package/esm/core/helpers/utils/append-script.js +2 -0
- package/esm/core/helpers/utils/config-proto.js +1 -1
- package/esm/core/request/ajax.js +1 -1
- package/esm/core/ui/helpers/get-control-type.js +15 -9
- package/esm/core/ui/helpers/get-strong-control-types.js +1 -1
- package/esm/jodit.d.ts +1 -1
- package/esm/jodit.js +1 -1
- package/esm/modules/file-browser/file-browser.js +1 -1
- package/esm/modules/history/history.js +1 -1
- package/esm/modules/image-editor/config.js +1 -1
- package/esm/modules/image-editor/image-editor.js +1 -1
- package/esm/modules/toolbar/button/button.js +2 -1
- package/esm/modules/toolbar/button/select/select.js +2 -1
- package/esm/modules/uploader/uploader.js +1 -1
- package/esm/plugins/about/about.js +1 -1
- package/esm/plugins/add-new-line/config.js +1 -1
- package/esm/plugins/ai-assistant/config.js +1 -1
- package/esm/plugins/backspace/cases/check-remove-char.js +4 -0
- package/esm/plugins/bold/bold.js +1 -1
- package/esm/plugins/class-span/class-span.js +1 -1
- package/esm/plugins/clean-html/config.js +1 -1
- package/esm/plugins/clipboard/config.js +1 -1
- package/esm/plugins/color/config.js +1 -1
- package/esm/plugins/copy-format/copy-format.js +1 -1
- package/esm/plugins/file/file.js +1 -1
- package/esm/plugins/font/config.js +1 -1
- package/esm/plugins/format-block/config.js +6 -4
- package/esm/plugins/fullsize/config.js +1 -1
- package/esm/plugins/hotkeys/config.d.ts +13 -0
- package/esm/plugins/hotkeys/config.js +0 -13
- package/esm/plugins/hr/hr.js +1 -1
- package/esm/plugins/image/image.js +1 -1
- package/esm/plugins/image-properties/config.d.ts +0 -3
- package/esm/plugins/image-properties/config.js +3 -0
- package/esm/plugins/image-properties/interface.d.ts +121 -0
- package/esm/plugins/indent/config.js +1 -1
- package/esm/plugins/inline-popup/config/config.js +1 -1
- package/esm/plugins/justify/justify.js +10 -6
- package/esm/plugins/line-height/config.js +1 -1
- package/esm/plugins/link/config.js +1 -1
- package/esm/plugins/mobile/config.js +1 -1
- package/esm/plugins/ordered-list/config.js +1 -1
- package/esm/plugins/paste/config.js +1 -1
- package/esm/plugins/print/print.js +1 -1
- package/esm/plugins/redo-undo/redo-undo.js +1 -1
- package/esm/plugins/search/config.js +1 -1
- package/esm/plugins/source/config.js +1 -1
- package/esm/plugins/speech-recognize/config.js +1 -1
- package/esm/plugins/spellcheck/config.js +1 -1
- package/esm/plugins/symbols/config.js +1 -1
- package/esm/plugins/table/config.js +1 -1
- package/esm/plugins/video/config.js +1 -1
- package/esm/types/toolbar.d.ts +1 -2
- package/package.json +1 -1
- package/types/jodit.d.ts +1 -1
- package/types/plugins/hotkeys/config.d.ts +13 -0
- package/types/plugins/image-properties/config.d.ts +0 -3
- package/types/plugins/image-properties/interface.d.ts +121 -0
- package/types/types/toolbar.d.ts +1 -2
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.2.
|
|
4
|
+
* Version: v4.2.18
|
|
5
5
|
* Url: https://xdsoft.net/jodit/
|
|
6
6
|
* License(s): MIT
|
|
7
7
|
*/
|
|
@@ -1737,7 +1737,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1737
1737
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
1738
1738
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
1739
1739
|
*/
|
|
1740
|
-
const APP_VERSION = "4.2.
|
|
1740
|
+
const APP_VERSION = "4.2.18";
|
|
1741
1741
|
// prettier-ignore
|
|
1742
1742
|
const ES = "es2021";
|
|
1743
1743
|
const IS_ES_MODERN = true;
|
|
@@ -7281,6 +7281,8 @@ const appendScriptAsync = cacheLoaders((jodit, url) => {
|
|
|
7281
7281
|
}
|
|
7282
7282
|
const script = jodit.c.element('script', {
|
|
7283
7283
|
type: 'text/javascript',
|
|
7284
|
+
crossorigin: 'anonymous',
|
|
7285
|
+
referrerpolicy: 'no-referrer',
|
|
7284
7286
|
async: true,
|
|
7285
7287
|
src: (0,_complete_url__WEBPACK_IMPORTED_MODULE_0__/* .completeUrl */ .X)(url)
|
|
7286
7288
|
});
|
|
@@ -7521,9 +7523,9 @@ const completeUrl = (url) => {
|
|
|
7521
7523
|
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(25376);
|
|
7522
7524
|
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(98253);
|
|
7523
7525
|
/* harmony import */ var jodit_core_helpers_checker_is_void__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(35642);
|
|
7526
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(36115);
|
|
7524
7527
|
/* harmony import */ var _extend__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(49429);
|
|
7525
|
-
/* harmony import */ var
|
|
7526
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
7528
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(84976);
|
|
7527
7529
|
/*!
|
|
7528
7530
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
7529
7531
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -7571,7 +7573,7 @@ function ConfigProto(options, proto, deep = 0) {
|
|
|
7571
7573
|
if (Object.getPrototypeOf(options) !== Object.prototype) {
|
|
7572
7574
|
return options;
|
|
7573
7575
|
}
|
|
7574
|
-
const def =
|
|
7576
|
+
const def = jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.defaultOptions;
|
|
7575
7577
|
if ((0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__/* .isString */ .K)(options.preset)) {
|
|
7576
7578
|
if (def.presets[options.preset] !== undefined) {
|
|
7577
7579
|
const preset = def.presets[options.preset];
|
|
@@ -7601,7 +7603,7 @@ function ConfigProto(options, proto, deep = 0) {
|
|
|
7601
7603
|
return newOpt;
|
|
7602
7604
|
}
|
|
7603
7605
|
function ConfigFlatten(obj) {
|
|
7604
|
-
return (0,
|
|
7606
|
+
return (0,_utils__WEBPACK_IMPORTED_MODULE_1__/* .keys */ .HP)(obj, false).reduce((app, key) => {
|
|
7605
7607
|
app[key] = obj[key];
|
|
7606
7608
|
return app;
|
|
7607
7609
|
}, {});
|
|
@@ -9560,9 +9562,9 @@ Plugin.requires = [];
|
|
|
9560
9562
|
/* harmony import */ var jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(26318);
|
|
9561
9563
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65147);
|
|
9562
9564
|
/* harmony import */ var jodit_core_helpers_utils_error__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(50156);
|
|
9563
|
-
/* harmony import */ var
|
|
9565
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
9566
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(27337);
|
|
9564
9567
|
/* harmony import */ var _response__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(91672);
|
|
9565
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
9566
9568
|
/*!
|
|
9567
9569
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
9568
9570
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -9580,7 +9582,7 @@ class Ajax {
|
|
|
9580
9582
|
className() {
|
|
9581
9583
|
return 'Ajax';
|
|
9582
9584
|
}
|
|
9583
|
-
constructor(options, defaultAjaxOptions =
|
|
9585
|
+
constructor(options, defaultAjaxOptions = jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.defaultAjaxOptions) {
|
|
9584
9586
|
this.__async = new jodit_core_async__WEBPACK_IMPORTED_MODULE_0__/* .Async */ .j();
|
|
9585
9587
|
this.__isFulfilled = false;
|
|
9586
9588
|
this.__activated = false;
|
|
@@ -15027,17 +15029,23 @@ function findControlType(path, controls) {
|
|
|
15027
15029
|
else {
|
|
15028
15030
|
key = namespaceOrKey;
|
|
15029
15031
|
}
|
|
15030
|
-
const list = store[key]?.list;
|
|
15032
|
+
// const list = store[key]?.list;
|
|
15031
15033
|
return store[key]
|
|
15032
15034
|
? {
|
|
15033
15035
|
name: key,
|
|
15034
|
-
...(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__.ConfigFlatten)(store[key])
|
|
15035
|
-
list:
|
|
15036
|
-
|
|
15037
|
-
|
|
15038
|
-
|
|
15039
|
-
|
|
15040
|
-
|
|
15036
|
+
...(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__.ConfigFlatten)(store[key])
|
|
15037
|
+
// list: isArray(list)
|
|
15038
|
+
// ? (<Array<string>>list).reduce(
|
|
15039
|
+
// (
|
|
15040
|
+
// acc: IDictionary<string | number>,
|
|
15041
|
+
// k: string | number
|
|
15042
|
+
// ) => {
|
|
15043
|
+
// acc[String(k)] = k;
|
|
15044
|
+
// return acc;
|
|
15045
|
+
// },
|
|
15046
|
+
// {}
|
|
15047
|
+
// )
|
|
15048
|
+
// : list
|
|
15041
15049
|
}
|
|
15042
15050
|
: undefined;
|
|
15043
15051
|
}
|
|
@@ -15054,8 +15062,8 @@ function findControlType(path, controls) {
|
|
|
15054
15062
|
/* harmony export */ });
|
|
15055
15063
|
/* harmony import */ var jodit_core_helpers_checker_is_array__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(37923);
|
|
15056
15064
|
/* harmony import */ var jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(97369);
|
|
15057
|
-
/* harmony import */ var
|
|
15058
|
-
/* harmony import */ var
|
|
15065
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
15066
|
+
/* harmony import */ var _get_control_type__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(57023);
|
|
15059
15067
|
/*!
|
|
15060
15068
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
15061
15069
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -15075,7 +15083,7 @@ function getStrongControlTypes(items, controls) {
|
|
|
15075
15083
|
const value = items[key] || {};
|
|
15076
15084
|
return (0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_0__.ConfigProto)({ name: key }, value);
|
|
15077
15085
|
});
|
|
15078
|
-
return elements.map(item => (0,
|
|
15086
|
+
return elements.map(item => (0,_get_control_type__WEBPACK_IMPORTED_MODULE_2__/* .getControlType */ .U)(item, controls || jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.defaultOptions.controls));
|
|
15079
15087
|
}
|
|
15080
15088
|
|
|
15081
15089
|
|
|
@@ -16173,8 +16181,8 @@ View.defaultOptions = {
|
|
|
16173
16181
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(65147);
|
|
16174
16182
|
/* harmony import */ var jodit_core_request__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(53883);
|
|
16175
16183
|
/* harmony import */ var jodit_core_traits_dlgs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(58597);
|
|
16176
|
-
/* harmony import */ var
|
|
16177
|
-
/* harmony import */ var
|
|
16184
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(36115);
|
|
16185
|
+
/* harmony import */ var jodit_modules__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(37435);
|
|
16178
16186
|
/*!
|
|
16179
16187
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
16180
16188
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -16193,7 +16201,7 @@ var Jodit_1;
|
|
|
16193
16201
|
|
|
16194
16202
|
const __defaultStyleDisplayKey = 'data-jodit-default-style-display';
|
|
16195
16203
|
const __defaultClassesKey = 'data-jodit-default-classes';
|
|
16196
|
-
let Jodit = Jodit_1 = class Jodit extends
|
|
16204
|
+
let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE_7__.ViewWithToolbar {
|
|
16197
16205
|
/** @override */
|
|
16198
16206
|
className() {
|
|
16199
16207
|
return 'Jodit';
|
|
@@ -16240,7 +16248,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
16240
16248
|
get defaultTimeout() {
|
|
16241
16249
|
return (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isNumber)(this.o.defaultTimeout)
|
|
16242
16250
|
? this.o.defaultTimeout
|
|
16243
|
-
:
|
|
16251
|
+
: jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions.defaultTimeout;
|
|
16244
16252
|
}
|
|
16245
16253
|
/**
|
|
16246
16254
|
* Method wrap usual Has Object in Object helper for prevent deep object merging in options*
|
|
@@ -16266,10 +16274,10 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
16266
16274
|
* Default settings
|
|
16267
16275
|
*/
|
|
16268
16276
|
static get defaultOptions() {
|
|
16269
|
-
return
|
|
16277
|
+
return jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions;
|
|
16270
16278
|
}
|
|
16271
16279
|
get createInside() {
|
|
16272
|
-
return new
|
|
16280
|
+
return new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Create(() => this.ed, this.o.createAttributes);
|
|
16273
16281
|
}
|
|
16274
16282
|
__setPlaceField(field, value) {
|
|
16275
16283
|
if (!this.currentPlace) {
|
|
@@ -16817,8 +16825,8 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
16817
16825
|
const active = this.od.activeElement;
|
|
16818
16826
|
if (active &&
|
|
16819
16827
|
(active === this.iframe ||
|
|
16820
|
-
|
|
16821
|
-
|
|
16828
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.isOrContains(this.editor, active) ||
|
|
16829
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.isOrContains(this.toolbar.container, active))) {
|
|
16822
16830
|
return jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_WYSIWYG;
|
|
16823
16831
|
}
|
|
16824
16832
|
return jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SOURCE;
|
|
@@ -16970,7 +16978,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
16970
16978
|
}
|
|
16971
16979
|
/** @override **/
|
|
16972
16980
|
initOptions(options) {
|
|
16973
|
-
this.options = ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {},
|
|
16981
|
+
this.options = ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions));
|
|
16974
16982
|
}
|
|
16975
16983
|
/** @override **/
|
|
16976
16984
|
initOwners() {
|
|
@@ -17015,7 +17023,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17015
17023
|
this.destruct();
|
|
17016
17024
|
throw e;
|
|
17017
17025
|
}
|
|
17018
|
-
this.setStatus(
|
|
17026
|
+
this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.STATUSES.beforeInit);
|
|
17019
17027
|
this.id =
|
|
17020
17028
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.attr)((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.resolveElement)(element, this.o.shadowRoot || this.od), 'id') ||
|
|
17021
17029
|
new Date().getTime().toString();
|
|
@@ -17027,7 +17035,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17027
17035
|
}
|
|
17028
17036
|
});
|
|
17029
17037
|
this.e.on('prepareWYSIWYGEditor', this.__prepareWYSIWYGEditor);
|
|
17030
|
-
this.selection = new
|
|
17038
|
+
this.selection = new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Selection(this);
|
|
17031
17039
|
const beforeInitHookResult = this.beforeInitHook();
|
|
17032
17040
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.callPromise)(beforeInitHookResult, () => {
|
|
17033
17041
|
if (this.isInDestruct) {
|
|
@@ -17051,7 +17059,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17051
17059
|
this.e.fire('afterInit', this);
|
|
17052
17060
|
}
|
|
17053
17061
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.callPromise)(this.afterInitHook());
|
|
17054
|
-
this.setStatus(
|
|
17062
|
+
this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.STATUSES.ready);
|
|
17055
17063
|
this.e.fire('afterConstructor', this);
|
|
17056
17064
|
};
|
|
17057
17065
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.callPromise)(addPlaceResult, init);
|
|
@@ -17067,7 +17075,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17067
17075
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.toArray)(element.attributes).forEach((attr) => {
|
|
17068
17076
|
const name = attr.name;
|
|
17069
17077
|
let value = attr.value;
|
|
17070
|
-
if (
|
|
17078
|
+
if (jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions[name] !== undefined &&
|
|
17071
17079
|
(!options || options[name] === undefined)) {
|
|
17072
17080
|
if (['readonly', 'disabled'].indexOf(name) !== -1) {
|
|
17073
17081
|
value = value === '' || value === 'true';
|
|
@@ -17135,11 +17143,11 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17135
17143
|
element,
|
|
17136
17144
|
container,
|
|
17137
17145
|
workplace,
|
|
17138
|
-
statusbar: new
|
|
17146
|
+
statusbar: new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.StatusBar(this, container),
|
|
17139
17147
|
options: this.isReady
|
|
17140
|
-
? (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {},
|
|
17148
|
+
? (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions)
|
|
17141
17149
|
: this.options,
|
|
17142
|
-
history: new
|
|
17150
|
+
history: new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.History(this),
|
|
17143
17151
|
editorWindow: this.ow
|
|
17144
17152
|
};
|
|
17145
17153
|
this.__elementToPlace.set(editor, currentPlace);
|
|
@@ -17230,7 +17238,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17230
17238
|
return;
|
|
17231
17239
|
}
|
|
17232
17240
|
if (stayDefault === false || (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isPromise)(stayDefault)) {
|
|
17233
|
-
|
|
17241
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(defaultEditorArea);
|
|
17234
17242
|
}
|
|
17235
17243
|
addClassNames(this.o.editorClassName, this.editor);
|
|
17236
17244
|
if (this.o.style) {
|
|
@@ -17320,7 +17328,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17320
17328
|
if (this.isInDestruct) {
|
|
17321
17329
|
return;
|
|
17322
17330
|
}
|
|
17323
|
-
this.setStatus(
|
|
17331
|
+
this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.STATUSES.beforeDestruct);
|
|
17324
17332
|
this.__elementToPlace.clear();
|
|
17325
17333
|
this.storage.clear();
|
|
17326
17334
|
this.buffer.clear();
|
|
@@ -17361,17 +17369,17 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17361
17369
|
this.e.off(container);
|
|
17362
17370
|
this.e.off(element);
|
|
17363
17371
|
this.e.off(editor);
|
|
17364
|
-
|
|
17365
|
-
|
|
17372
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(workplace);
|
|
17373
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(editor);
|
|
17366
17374
|
if (container !== element) {
|
|
17367
|
-
|
|
17375
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(container);
|
|
17368
17376
|
}
|
|
17369
17377
|
Object.defineProperty(element, 'component', {
|
|
17370
17378
|
enumerable: false,
|
|
17371
17379
|
configurable: true,
|
|
17372
17380
|
value: null
|
|
17373
17381
|
});
|
|
17374
|
-
|
|
17382
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(iframe);
|
|
17375
17383
|
// inline mode
|
|
17376
17384
|
if (container === element) {
|
|
17377
17385
|
element.innerHTML = buffer;
|
|
@@ -17393,7 +17401,7 @@ Jodit.constants = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__;
|
|
|
17393
17401
|
Jodit.instances = jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .instances */ .VF;
|
|
17394
17402
|
Jodit.lang = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.lang;
|
|
17395
17403
|
Jodit.core = {
|
|
17396
|
-
Plugin:
|
|
17404
|
+
Plugin: jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Plugin
|
|
17397
17405
|
};
|
|
17398
17406
|
(0,tslib__WEBPACK_IMPORTED_MODULE_8__/* .__decorate */ .Cg)([
|
|
17399
17407
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.cache
|
|
@@ -19648,16 +19656,16 @@ async function loadTree(fb) {
|
|
|
19648
19656
|
/* harmony import */ var jodit_core_storage__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(63915);
|
|
19649
19657
|
/* harmony import */ var jodit_core_traits_dlgs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(58597);
|
|
19650
19658
|
/* harmony import */ var jodit_core_view_view_with_toolbar__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(14961);
|
|
19651
|
-
/* harmony import */ var
|
|
19659
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(36115);
|
|
19660
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(70265);
|
|
19652
19661
|
/* harmony import */ var _fetch_load_items__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(9979);
|
|
19653
|
-
/* harmony import */ var
|
|
19654
|
-
/* harmony import */ var
|
|
19655
|
-
/* harmony import */ var
|
|
19656
|
-
/* harmony import */ var
|
|
19657
|
-
/* harmony import */ var
|
|
19658
|
-
/* harmony import */ var
|
|
19659
|
-
/* harmony import */ var
|
|
19660
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(36115);
|
|
19662
|
+
/* harmony import */ var _fetch_load_tree__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(31859);
|
|
19663
|
+
/* harmony import */ var _listeners_native_listeners__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(62994);
|
|
19664
|
+
/* harmony import */ var _listeners_self_listeners__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(18043);
|
|
19665
|
+
/* harmony import */ var _listeners_state_listeners__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(80004);
|
|
19666
|
+
/* harmony import */ var _data_provider__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(75889);
|
|
19667
|
+
/* harmony import */ var _factories__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(83797);
|
|
19668
|
+
/* harmony import */ var _ui__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(10274);
|
|
19661
19669
|
/*!
|
|
19662
19670
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
19663
19671
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -19691,7 +19699,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
19691
19699
|
return 'FileBrowser';
|
|
19692
19700
|
}
|
|
19693
19701
|
get dataProvider() {
|
|
19694
|
-
return (0,
|
|
19702
|
+
return (0,_factories__WEBPACK_IMPORTED_MODULE_16__/* .makeDataProvider */ .S)(this, this.options);
|
|
19695
19703
|
}
|
|
19696
19704
|
// eslint-disable-next-line no-unused-vars
|
|
19697
19705
|
onSelect(callback) {
|
|
@@ -19805,7 +19813,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
19805
19813
|
this.__updateToolbarButtons();
|
|
19806
19814
|
this._dialog.open(this.browser, header);
|
|
19807
19815
|
this.e.fire('sort.filebrowser', this.state.sortBy);
|
|
19808
|
-
(0,
|
|
19816
|
+
(0,_fetch_load_tree__WEBPACK_IMPORTED_MODULE_11__/* .loadTree */ .r)(this)
|
|
19809
19817
|
.then(resolve, reject)
|
|
19810
19818
|
.finally(() => {
|
|
19811
19819
|
if (this.isInDestruct) {
|
|
@@ -19839,7 +19847,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
19839
19847
|
});
|
|
19840
19848
|
}
|
|
19841
19849
|
initUploader(editor) {
|
|
19842
|
-
const self = this, options = editor?.options?.uploader, uploaderOptions = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {},
|
|
19850
|
+
const self = this, options = editor?.options?.uploader, uploaderOptions = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_9__/* .Config */ .T.defaultOptions.uploader);
|
|
19843
19851
|
const uploadHandler = () => (0,_fetch_load_items__WEBPACK_IMPORTED_MODULE_18__/* .loadItems */ .f)(this);
|
|
19844
19852
|
self.uploader = self.getInstance('Uploader', uploaderOptions);
|
|
19845
19853
|
self.uploader
|
|
@@ -19859,11 +19867,11 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
19859
19867
|
super(options);
|
|
19860
19868
|
this.browser = this.c.div(this.componentName);
|
|
19861
19869
|
this.status_line = this.c.div(this.getFullElName('status'));
|
|
19862
|
-
this.tree = new
|
|
19863
|
-
this.files = new
|
|
19870
|
+
this.tree = new _ui__WEBPACK_IMPORTED_MODULE_17__/* .FileBrowserTree */ .V(this);
|
|
19871
|
+
this.files = new _ui__WEBPACK_IMPORTED_MODULE_17__/* .FileBrowserFiles */ .Q(this);
|
|
19864
19872
|
this.state = (0,jodit_core_event_emitter__WEBPACK_IMPORTED_MODULE_4__/* .observable */ .sH)({
|
|
19865
19873
|
currentPath: '',
|
|
19866
|
-
currentSource:
|
|
19874
|
+
currentSource: _data_provider__WEBPACK_IMPORTED_MODULE_15__/* .DEFAULT_SOURCE_NAME */ .o,
|
|
19867
19875
|
currentBaseUrl: '',
|
|
19868
19876
|
activeElements: [],
|
|
19869
19877
|
elements: [],
|
|
@@ -19893,7 +19901,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
19893
19901
|
this.__prevButtons = [];
|
|
19894
19902
|
this.attachEvents(options);
|
|
19895
19903
|
const self = this;
|
|
19896
|
-
self.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {},
|
|
19904
|
+
self.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_9__/* .Config */ .T.defaultOptions.filebrowser);
|
|
19897
19905
|
self.browser.component = this;
|
|
19898
19906
|
self.container = self.browser;
|
|
19899
19907
|
if (self.o.showFoldersPanel) {
|
|
@@ -19901,9 +19909,9 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
19901
19909
|
}
|
|
19902
19910
|
self.browser.appendChild(self.files.container);
|
|
19903
19911
|
self.browser.appendChild(self.status_line);
|
|
19904
|
-
|
|
19905
|
-
|
|
19906
|
-
|
|
19912
|
+
_listeners_self_listeners__WEBPACK_IMPORTED_MODULE_13__/* .selfListeners */ .c.call(self);
|
|
19913
|
+
_listeners_native_listeners__WEBPACK_IMPORTED_MODULE_12__/* .nativeListeners */ .nW.call(self);
|
|
19914
|
+
_listeners_state_listeners__WEBPACK_IMPORTED_MODULE_14__/* .stateListeners */ .r.call(self);
|
|
19907
19915
|
const keys = [
|
|
19908
19916
|
'getLocalFileByUrl',
|
|
19909
19917
|
'crop',
|
|
@@ -20574,10 +20582,10 @@ class Command {
|
|
|
20574
20582
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(31635);
|
|
20575
20583
|
/* harmony import */ var jodit_core_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77753);
|
|
20576
20584
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(22664);
|
|
20585
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
20577
20586
|
/* harmony import */ var _command__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(84345);
|
|
20578
|
-
/* harmony import */ var
|
|
20587
|
+
/* harmony import */ var _snapshot__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(58770);
|
|
20579
20588
|
/* harmony import */ var _stack__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(66180);
|
|
20580
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
20581
20589
|
/*!
|
|
20582
20590
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
20583
20591
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -20590,7 +20598,7 @@ class Command {
|
|
|
20590
20598
|
|
|
20591
20599
|
|
|
20592
20600
|
|
|
20593
|
-
|
|
20601
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.history = {
|
|
20594
20602
|
enable: true,
|
|
20595
20603
|
maxHistoryLength: Infinity,
|
|
20596
20604
|
timeout: 1000
|
|
@@ -20641,7 +20649,7 @@ class History extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .ViewC
|
|
|
20641
20649
|
set startValue(value) {
|
|
20642
20650
|
this.__startValue = value;
|
|
20643
20651
|
}
|
|
20644
|
-
constructor(editor, stack = new _stack__WEBPACK_IMPORTED_MODULE_4__/* .Stack */ .B(editor.o.history.maxHistoryLength), snapshot = new
|
|
20652
|
+
constructor(editor, stack = new _stack__WEBPACK_IMPORTED_MODULE_4__/* .Stack */ .B(editor.o.history.maxHistoryLength), snapshot = new _snapshot__WEBPACK_IMPORTED_MODULE_3__/* .Snapshot */ .F(editor)) {
|
|
20645
20653
|
super(editor);
|
|
20646
20654
|
this.updateTick = 0;
|
|
20647
20655
|
this.__stack = stack;
|
|
@@ -20704,7 +20712,7 @@ class History extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .ViewC
|
|
|
20704
20712
|
*/
|
|
20705
20713
|
updateStack(replace = false) {
|
|
20706
20714
|
const newValue = this.snapshot.make();
|
|
20707
|
-
if (!
|
|
20715
|
+
if (!_snapshot__WEBPACK_IMPORTED_MODULE_3__/* .Snapshot */ .F.equal(newValue, this.startValue)) {
|
|
20708
20716
|
const newCommand = new _command__WEBPACK_IMPORTED_MODULE_5__/* .Command */ .u(this.startValue, newValue, this, this.updateTick);
|
|
20709
20717
|
if (replace) {
|
|
20710
20718
|
const command = this.__stack.current();
|
|
@@ -21037,11 +21045,11 @@ class Stack {
|
|
|
21037
21045
|
|
|
21038
21046
|
"use strict";
|
|
21039
21047
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
21040
|
-
/* harmony import */ var
|
|
21041
|
-
/* harmony import */ var
|
|
21042
|
-
/* harmony import */ var
|
|
21043
|
-
/* harmony import */ var
|
|
21044
|
-
/* harmony import */ var
|
|
21048
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
21049
|
+
/* harmony import */ var _icons_crop_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(928);
|
|
21050
|
+
/* harmony import */ var _icons_crop_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_icons_crop_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
21051
|
+
/* harmony import */ var _icons_resize_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(31230);
|
|
21052
|
+
/* harmony import */ var _icons_resize_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_resize_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
21045
21053
|
/*!
|
|
21046
21054
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
21047
21055
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -21051,7 +21059,7 @@ class Stack {
|
|
|
21051
21059
|
|
|
21052
21060
|
|
|
21053
21061
|
|
|
21054
|
-
|
|
21062
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.imageeditor = {
|
|
21055
21063
|
min_width: 20,
|
|
21056
21064
|
min_height: 20,
|
|
21057
21065
|
closeAfterSave: false,
|
|
@@ -21066,7 +21074,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.imageeditor
|
|
|
21066
21074
|
cropDefaultWidth: '70%',
|
|
21067
21075
|
cropDefaultHeight: '70%'
|
|
21068
21076
|
};
|
|
21069
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('crop', (
|
|
21077
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('crop', (_icons_crop_svg__WEBPACK_IMPORTED_MODULE_2___default())).set('resize', (_icons_resize_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
21070
21078
|
|
|
21071
21079
|
|
|
21072
21080
|
/***/ }),
|
|
@@ -21085,9 +21093,9 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('crop', (_icon
|
|
|
21085
21093
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(71842);
|
|
21086
21094
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(65147);
|
|
21087
21095
|
/* harmony import */ var jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(35265);
|
|
21088
|
-
/* harmony import */ var
|
|
21089
|
-
/* harmony import */ var
|
|
21090
|
-
/* harmony import */ var
|
|
21096
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(36115);
|
|
21097
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(93027);
|
|
21098
|
+
/* harmony import */ var _templates_form__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(24863);
|
|
21091
21099
|
/*!
|
|
21092
21100
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
21093
21101
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -21547,7 +21555,7 @@ let ImageEditor = ImageEditor_1 = class ImageEditor extends jodit_core_component
|
|
|
21547
21555
|
this.options =
|
|
21548
21556
|
editor && editor.o && editor.o.imageeditor
|
|
21549
21557
|
? editor.o.imageeditor
|
|
21550
|
-
:
|
|
21558
|
+
: jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.defaultOptions.imageeditor;
|
|
21551
21559
|
const o = this.options;
|
|
21552
21560
|
this.resizeUseRatio = o.resizeUseRatio;
|
|
21553
21561
|
this.cropUseRatio = o.cropUseRatio;
|
|
@@ -21557,7 +21565,7 @@ let ImageEditor = ImageEditor_1 = class ImageEditor extends jodit_core_component
|
|
|
21557
21565
|
saveas: (0,jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_4__/* .Button */ .$n)(this.j, 'save', 'Save as ...')
|
|
21558
21566
|
};
|
|
21559
21567
|
this.activeTab = o.resize ? TABS.resize : TABS.crop;
|
|
21560
|
-
this.editor = (0,
|
|
21568
|
+
this.editor = (0,_templates_form__WEBPACK_IMPORTED_MODULE_7__/* .form */ .Z)(this.j, this.options);
|
|
21561
21569
|
const { resizeBox, cropBox } = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.refs)(this.editor);
|
|
21562
21570
|
this.resize_box = resizeBox;
|
|
21563
21571
|
this.crop_box = cropBox;
|
|
@@ -22973,7 +22981,8 @@ let ToolbarButton = class ToolbarButton extends jodit_core_ui_button__WEBPACK_IM
|
|
|
22973
22981
|
}
|
|
22974
22982
|
createContainer() {
|
|
22975
22983
|
const cn = this.componentName;
|
|
22976
|
-
const container = this.j.c.span(cn)
|
|
22984
|
+
const container = this.j.c.span(cn);
|
|
22985
|
+
const button = super.createContainer();
|
|
22977
22986
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.attr)(container, 'role', 'listitem');
|
|
22978
22987
|
button.classList.remove(cn);
|
|
22979
22988
|
button.classList.add(cn + '__button');
|
|
@@ -23362,8 +23371,9 @@ ToolbarContent = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
|
23362
23371
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
23363
23372
|
/* harmony export */ q: function() { return /* binding */ ToolbarSelect; }
|
|
23364
23373
|
/* harmony export */ });
|
|
23365
|
-
/* harmony import */ var
|
|
23374
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(31635);
|
|
23366
23375
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(22664);
|
|
23376
|
+
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25376);
|
|
23367
23377
|
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(98253);
|
|
23368
23378
|
/* harmony import */ var _button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3258);
|
|
23369
23379
|
/*!
|
|
@@ -23376,6 +23386,7 @@ ToolbarContent = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
|
23376
23386
|
|
|
23377
23387
|
|
|
23378
23388
|
|
|
23389
|
+
|
|
23379
23390
|
let ToolbarSelect = class ToolbarSelect extends _button__WEBPACK_IMPORTED_MODULE_1__/* .ToolbarButton */ .I {
|
|
23380
23391
|
className() {
|
|
23381
23392
|
return 'ToolbarSelect';
|
|
@@ -23393,13 +23404,13 @@ let ToolbarSelect = class ToolbarSelect extends _button__WEBPACK_IMPORTED_MODULE
|
|
|
23393
23404
|
const keys = Object.keys(list);
|
|
23394
23405
|
key = keys[0];
|
|
23395
23406
|
}
|
|
23396
|
-
const text = (list[key.toString()] || key).toString();
|
|
23407
|
+
const text = ((0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_3__/* .isPlainObject */ .Q)(list) ? list[key.toString()] || key : key).toString();
|
|
23397
23408
|
this.state.text =
|
|
23398
23409
|
this.control.textTemplate?.(this.jodit, text) ?? text;
|
|
23399
23410
|
}
|
|
23400
23411
|
}
|
|
23401
23412
|
};
|
|
23402
|
-
ToolbarSelect = (0,
|
|
23413
|
+
ToolbarSelect = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
23403
23414
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.component
|
|
23404
23415
|
], ToolbarSelect);
|
|
23405
23416
|
|
|
@@ -24231,9 +24242,9 @@ function send(uploader, data) {
|
|
|
24231
24242
|
/* harmony import */ var jodit_core_component___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77753);
|
|
24232
24243
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(17352);
|
|
24233
24244
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65147);
|
|
24234
|
-
/* harmony import */ var
|
|
24235
|
-
/* harmony import */ var
|
|
24236
|
-
/* harmony import */ var
|
|
24245
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
24246
|
+
/* harmony import */ var jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(74340);
|
|
24247
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(77334);
|
|
24237
24248
|
/*!
|
|
24238
24249
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
24239
24250
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -24305,14 +24316,14 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
24305
24316
|
}
|
|
24306
24317
|
};
|
|
24307
24318
|
// send data on server
|
|
24308
|
-
if (!jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && (0,
|
|
24309
|
-
(0,
|
|
24319
|
+
if (!jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && (0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(cData)) {
|
|
24320
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, cData.files, handlerSuccess, handlerError).finally(onFinally);
|
|
24310
24321
|
return false;
|
|
24311
24322
|
}
|
|
24312
24323
|
if (jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && !jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_ES_NEXT) {
|
|
24313
|
-
return (0,
|
|
24324
|
+
return (0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .processOldBrowserDrag */ .dT)(self, cData, handlerSuccess, handlerError, onFinally);
|
|
24314
24325
|
}
|
|
24315
|
-
if ((0,
|
|
24326
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasItems */ .Pb)(cData)) {
|
|
24316
24327
|
const { items } = cData;
|
|
24317
24328
|
for (i = 0; i < items.length; i += 1) {
|
|
24318
24329
|
if (items[i].kind === 'file' &&
|
|
@@ -24323,7 +24334,7 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
24323
24334
|
extension = mime[1]
|
|
24324
24335
|
? mime[1].toLowerCase()
|
|
24325
24336
|
: '';
|
|
24326
|
-
(0,
|
|
24337
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, [file], handlerSuccess, handlerError, processData).finally(onFinally);
|
|
24327
24338
|
}
|
|
24328
24339
|
e.preventDefault();
|
|
24329
24340
|
break;
|
|
@@ -24346,30 +24357,30 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
24346
24357
|
e.preventDefault();
|
|
24347
24358
|
})
|
|
24348
24359
|
.on(form, 'dragover', (event) => {
|
|
24349
|
-
if ((0,
|
|
24350
|
-
(0,
|
|
24360
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer) ||
|
|
24361
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasItems */ .Pb)(event.dataTransfer)) {
|
|
24351
24362
|
form.classList.add('jodit_drag_hover');
|
|
24352
24363
|
event.preventDefault();
|
|
24353
24364
|
}
|
|
24354
24365
|
})
|
|
24355
24366
|
.on(form, 'dragend dragleave', (event) => {
|
|
24356
24367
|
form.classList.remove('jodit_drag_hover');
|
|
24357
|
-
if ((0,
|
|
24368
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer)) {
|
|
24358
24369
|
event.preventDefault();
|
|
24359
24370
|
}
|
|
24360
24371
|
})
|
|
24361
24372
|
.on(form, 'drop', (event) => {
|
|
24362
24373
|
form.classList.remove('jodit_drag_hover');
|
|
24363
|
-
if ((0,
|
|
24374
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer)) {
|
|
24364
24375
|
event.preventDefault();
|
|
24365
24376
|
event.stopImmediatePropagation();
|
|
24366
|
-
(0,
|
|
24377
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, event.dataTransfer.files, handlerSuccess, handlerError).finally(onFinally);
|
|
24367
24378
|
}
|
|
24368
24379
|
});
|
|
24369
24380
|
const inputFile = form.querySelector('input[type=file]');
|
|
24370
24381
|
if (inputFile) {
|
|
24371
24382
|
self.j.e.on(inputFile, 'change', () => {
|
|
24372
|
-
(0,
|
|
24383
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, inputFile.files, handlerSuccess, handlerError)
|
|
24373
24384
|
.then(() => {
|
|
24374
24385
|
inputFile.value = '';
|
|
24375
24386
|
if (!/safari/i.test(navigator.userAgent)) {
|
|
@@ -24389,7 +24400,7 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
24389
24400
|
const handlerE = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isFunction)(handlerError)
|
|
24390
24401
|
? handlerError
|
|
24391
24402
|
: o.defaultHandlerError;
|
|
24392
|
-
(0,
|
|
24403
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .send */ .tN)(uploader, {
|
|
24393
24404
|
action: 'fileUploadRemote',
|
|
24394
24405
|
url
|
|
24395
24406
|
})
|
|
@@ -24409,11 +24420,11 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
24409
24420
|
super(editor);
|
|
24410
24421
|
this.path = '';
|
|
24411
24422
|
this.source = 'default';
|
|
24412
|
-
this.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(options || {}, (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(
|
|
24423
|
+
this.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(options || {}, (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.defaultOptions.uploader, (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isJoditObject)(editor) ? editor.o.uploader : {}));
|
|
24413
24424
|
}
|
|
24414
24425
|
destruct() {
|
|
24415
24426
|
this.setStatus(jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .STATUSES */ .f.beforeDestruct);
|
|
24416
|
-
const instances =
|
|
24427
|
+
const instances = jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .ajaxInstances */ .$j.get(this);
|
|
24417
24428
|
if (instances) {
|
|
24418
24429
|
instances.forEach(ajax => {
|
|
24419
24430
|
try {
|
|
@@ -24842,9 +24853,9 @@ const TabsWidget = (jodit, tabs, state) => {
|
|
|
24842
24853
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
24843
24854
|
/* harmony import */ var jodit_core_helpers___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65147);
|
|
24844
24855
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(931);
|
|
24845
|
-
/* harmony import */ var
|
|
24846
|
-
/* harmony import */ var
|
|
24847
|
-
/* harmony import */ var
|
|
24856
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
24857
|
+
/* harmony import */ var _about_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(17995);
|
|
24858
|
+
/* harmony import */ var _about_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_about_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
24848
24859
|
/*!
|
|
24849
24860
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
24850
24861
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -24858,7 +24869,7 @@ const TabsWidget = (jodit, tabs, state) => {
|
|
|
24858
24869
|
|
|
24859
24870
|
|
|
24860
24871
|
|
|
24861
|
-
|
|
24872
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.about = {
|
|
24862
24873
|
exec: (editor) => {
|
|
24863
24874
|
const dialog = editor.dlg({ closeOnClickOverlay: true }), i = editor.i18n.bind(editor);
|
|
24864
24875
|
dialog
|
|
@@ -24894,7 +24905,7 @@ function about(editor) {
|
|
|
24894
24905
|
});
|
|
24895
24906
|
}
|
|
24896
24907
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('about', about);
|
|
24897
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('about', (
|
|
24908
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('about', (_about_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
24898
24909
|
|
|
24899
24910
|
|
|
24900
24911
|
/***/ }),
|
|
@@ -25137,9 +25148,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('addNe
|
|
|
25137
25148
|
|
|
25138
25149
|
"use strict";
|
|
25139
25150
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
25140
|
-
/* harmony import */ var
|
|
25141
|
-
/* harmony import */ var
|
|
25142
|
-
/* harmony import */ var
|
|
25151
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
25152
|
+
/* harmony import */ var _enter_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(86634);
|
|
25153
|
+
/* harmony import */ var _enter_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_enter_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
25143
25154
|
/*!
|
|
25144
25155
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
25145
25156
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -25148,9 +25159,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('addNe
|
|
|
25148
25159
|
|
|
25149
25160
|
|
|
25150
25161
|
|
|
25151
|
-
|
|
25152
|
-
|
|
25153
|
-
|
|
25162
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLine = true;
|
|
25163
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineOnDBLClick = true;
|
|
25164
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineTagsTriggers = [
|
|
25154
25165
|
'table',
|
|
25155
25166
|
'iframe',
|
|
25156
25167
|
'img',
|
|
@@ -25158,8 +25169,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.addNewLineTa
|
|
|
25158
25169
|
'pre',
|
|
25159
25170
|
'jodit'
|
|
25160
25171
|
];
|
|
25161
|
-
|
|
25162
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (
|
|
25172
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineDeltaShow = 20;
|
|
25173
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (_enter_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
25163
25174
|
|
|
25164
25175
|
|
|
25165
25176
|
/***/ }),
|
|
@@ -25297,11 +25308,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('ai-as
|
|
|
25297
25308
|
|
|
25298
25309
|
"use strict";
|
|
25299
25310
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
25300
|
-
/* harmony import */ var
|
|
25301
|
-
/* harmony import */ var
|
|
25302
|
-
/* harmony import */ var
|
|
25303
|
-
/* harmony import */ var
|
|
25304
|
-
/* harmony import */ var
|
|
25311
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
25312
|
+
/* harmony import */ var _ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91115);
|
|
25313
|
+
/* harmony import */ var _ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
25314
|
+
/* harmony import */ var _chat_bot_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1916);
|
|
25315
|
+
/* harmony import */ var _chat_bot_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_chat_bot_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
25305
25316
|
/*!
|
|
25306
25317
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
25307
25318
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -25342,10 +25353,10 @@ const aiAssistantDefaults = {
|
|
|
25342
25353
|
aiTranslateToRussianPrompt: 'Translate this content into Russian, ensuring the translation is accurate and maintains the original meaning.',
|
|
25343
25354
|
aiTranslateToArabicPrompt: 'Translate this content into Arabic, ensuring the translation is accurate and maintains the original meaning.'
|
|
25344
25355
|
};
|
|
25345
|
-
|
|
25346
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-assistant', (
|
|
25347
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-commands', (
|
|
25348
|
-
|
|
25356
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.aiAssistant = aiAssistantDefaults;
|
|
25357
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-assistant', (_chat_bot_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
25358
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-commands', (_ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
25359
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls['ai-commands'] = {
|
|
25349
25360
|
isDisabled(editor) {
|
|
25350
25361
|
return !editor.o.aiAssistant.aiAssistantCallback;
|
|
25351
25362
|
},
|
|
@@ -25383,7 +25394,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls['ai
|
|
|
25383
25394
|
editor.e.fire('generateAiAssistantForm.ai-assistant', control.name);
|
|
25384
25395
|
}
|
|
25385
25396
|
};
|
|
25386
|
-
|
|
25397
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls['ai-assistant'] = {
|
|
25387
25398
|
isDisabled(editor) {
|
|
25388
25399
|
return !editor.o.aiAssistant.aiAssistantCallback;
|
|
25389
25400
|
},
|
|
@@ -25967,6 +25978,10 @@ function checkRemoveChar(jodit, fakeNode, backspace, mode) {
|
|
|
25967
25978
|
}
|
|
25968
25979
|
if (sibling.nodeValue?.length) {
|
|
25969
25980
|
removed = tryRemoveChar(sibling, backspace, step, anotherSibling);
|
|
25981
|
+
if (!sibling.nodeValue.length &&
|
|
25982
|
+
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.isInlineBlock(sibling.parentNode)) {
|
|
25983
|
+
sibling.nodeValue = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INVISIBLE_SPACE;
|
|
25984
|
+
}
|
|
25970
25985
|
}
|
|
25971
25986
|
if (!sibling.nodeValue?.length) {
|
|
25972
25987
|
removeNeighbor = sibling;
|
|
@@ -26519,20 +26534,20 @@ function getMoveFilter(jodit) {
|
|
|
26519
26534
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(56298);
|
|
26520
26535
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65147);
|
|
26521
26536
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(931);
|
|
26522
|
-
/* harmony import */ var
|
|
26523
|
-
/* harmony import */ var
|
|
26524
|
-
/* harmony import */ var
|
|
26525
|
-
/* harmony import */ var
|
|
26526
|
-
/* harmony import */ var
|
|
26527
|
-
/* harmony import */ var
|
|
26528
|
-
/* harmony import */ var
|
|
26529
|
-
/* harmony import */ var
|
|
26530
|
-
/* harmony import */ var
|
|
26531
|
-
/* harmony import */ var
|
|
26532
|
-
/* harmony import */ var
|
|
26533
|
-
/* harmony import */ var
|
|
26534
|
-
/* harmony import */ var
|
|
26535
|
-
/* harmony import */ var
|
|
26537
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
26538
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(73124);
|
|
26539
|
+
/* harmony import */ var _icons_bold_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(52450);
|
|
26540
|
+
/* harmony import */ var _icons_bold_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_bold_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
26541
|
+
/* harmony import */ var _icons_italic_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(41111);
|
|
26542
|
+
/* harmony import */ var _icons_italic_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_icons_italic_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
26543
|
+
/* harmony import */ var _icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(49972);
|
|
26544
|
+
/* harmony import */ var _icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7__);
|
|
26545
|
+
/* harmony import */ var _icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(45062);
|
|
26546
|
+
/* harmony import */ var _icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8__);
|
|
26547
|
+
/* harmony import */ var _icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(18605);
|
|
26548
|
+
/* harmony import */ var _icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9__);
|
|
26549
|
+
/* harmony import */ var _icons_underline_svg__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(83389);
|
|
26550
|
+
/* harmony import */ var _icons_underline_svg__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_icons_underline_svg__WEBPACK_IMPORTED_MODULE_10__);
|
|
26536
26551
|
/*!
|
|
26537
26552
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
26538
26553
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -26555,7 +26570,7 @@ function getMoveFilter(jodit) {
|
|
|
26555
26570
|
*/
|
|
26556
26571
|
function bold(editor) {
|
|
26557
26572
|
const callBack = (command) => {
|
|
26558
|
-
const control =
|
|
26573
|
+
const control = jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.defaultOptions.controls[command], cssOptions = {
|
|
26559
26574
|
...control.css
|
|
26560
26575
|
};
|
|
26561
26576
|
let cssRules;
|
|
@@ -26609,12 +26624,12 @@ function bold(editor) {
|
|
|
26609
26624
|
});
|
|
26610
26625
|
}
|
|
26611
26626
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('bold', bold);
|
|
26612
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('bold', (
|
|
26613
|
-
.set('italic', (
|
|
26614
|
-
.set('strikethrough', (
|
|
26615
|
-
.set('subscript', (
|
|
26616
|
-
.set('superscript', (
|
|
26617
|
-
.set('underline', (
|
|
26627
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('bold', (_icons_bold_svg__WEBPACK_IMPORTED_MODULE_5___default()))
|
|
26628
|
+
.set('italic', (_icons_italic_svg__WEBPACK_IMPORTED_MODULE_6___default()))
|
|
26629
|
+
.set('strikethrough', (_icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7___default()))
|
|
26630
|
+
.set('subscript', (_icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8___default()))
|
|
26631
|
+
.set('superscript', (_icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9___default()))
|
|
26632
|
+
.set('underline', (_icons_underline_svg__WEBPACK_IMPORTED_MODULE_10___default()));
|
|
26618
26633
|
|
|
26619
26634
|
|
|
26620
26635
|
/***/ }),
|
|
@@ -26684,9 +26699,9 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.controls.str
|
|
|
26684
26699
|
/* harmony import */ var jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(84976);
|
|
26685
26700
|
/* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(71005);
|
|
26686
26701
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(931);
|
|
26687
|
-
/* harmony import */ var
|
|
26688
|
-
/* harmony import */ var
|
|
26689
|
-
/* harmony import */ var
|
|
26702
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(36115);
|
|
26703
|
+
/* harmony import */ var _class_span_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(93267);
|
|
26704
|
+
/* harmony import */ var _class_span_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_class_span_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
26690
26705
|
/*!
|
|
26691
26706
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
26692
26707
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -26699,7 +26714,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.controls.str
|
|
|
26699
26714
|
|
|
26700
26715
|
|
|
26701
26716
|
|
|
26702
|
-
|
|
26717
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.classSpan = {
|
|
26703
26718
|
command: 'applyClassName',
|
|
26704
26719
|
exec: jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_2__/* .memorizeExec */ .qN,
|
|
26705
26720
|
list: [
|
|
@@ -26787,7 +26802,7 @@ class classSpan extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_3__/* .Plugin
|
|
|
26787
26802
|
beforeDestruct() { }
|
|
26788
26803
|
}
|
|
26789
26804
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('classSpan', classSpan);
|
|
26790
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('class-span', (
|
|
26805
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('class-span', (_class_span_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
26791
26806
|
|
|
26792
26807
|
|
|
26793
26808
|
/***/ }),
|
|
@@ -26926,9 +26941,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('clean
|
|
|
26926
26941
|
|
|
26927
26942
|
"use strict";
|
|
26928
26943
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
26929
|
-
/* harmony import */ var
|
|
26930
|
-
/* harmony import */ var
|
|
26931
|
-
/* harmony import */ var
|
|
26944
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
26945
|
+
/* harmony import */ var _eraser_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(71948);
|
|
26946
|
+
/* harmony import */ var _eraser_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_eraser_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
26932
26947
|
/*!
|
|
26933
26948
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
26934
26949
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -26937,7 +26952,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('clean
|
|
|
26937
26952
|
|
|
26938
26953
|
|
|
26939
26954
|
|
|
26940
|
-
|
|
26955
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.cleanHTML = {
|
|
26941
26956
|
timeout: 300,
|
|
26942
26957
|
removeEmptyElements: true,
|
|
26943
26958
|
fillEmptyParagraph: true,
|
|
@@ -26953,11 +26968,11 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.cleanHTML =
|
|
|
26953
26968
|
safeJavaScriptLink: true,
|
|
26954
26969
|
disableCleanFilter: null
|
|
26955
26970
|
};
|
|
26956
|
-
|
|
26971
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.eraser = {
|
|
26957
26972
|
command: 'removeFormat',
|
|
26958
26973
|
tooltip: 'Clear Formatting'
|
|
26959
26974
|
};
|
|
26960
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('eraser', (
|
|
26975
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('eraser', (_eraser_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
26961
26976
|
|
|
26962
26977
|
|
|
26963
26978
|
/***/ }),
|
|
@@ -27623,15 +27638,15 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('clipb
|
|
|
27623
27638
|
|
|
27624
27639
|
"use strict";
|
|
27625
27640
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
27626
|
-
/* harmony import */ var
|
|
27627
|
-
/* harmony import */ var
|
|
27628
|
-
/* harmony import */ var
|
|
27629
|
-
/* harmony import */ var
|
|
27630
|
-
/* harmony import */ var
|
|
27631
|
-
/* harmony import */ var
|
|
27632
|
-
/* harmony import */ var
|
|
27633
|
-
/* harmony import */ var
|
|
27634
|
-
/* harmony import */ var
|
|
27641
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
27642
|
+
/* harmony import */ var _icons_copy_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(51457);
|
|
27643
|
+
/* harmony import */ var _icons_copy_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_icons_copy_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
27644
|
+
/* harmony import */ var _icons_cut_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(23602);
|
|
27645
|
+
/* harmony import */ var _icons_cut_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_cut_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
27646
|
+
/* harmony import */ var _icons_paste_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(86899);
|
|
27647
|
+
/* harmony import */ var _icons_paste_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_paste_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
27648
|
+
/* harmony import */ var _icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(95320);
|
|
27649
|
+
/* harmony import */ var _icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
27635
27650
|
/*!
|
|
27636
27651
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27637
27652
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27643,25 +27658,25 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('clipb
|
|
|
27643
27658
|
|
|
27644
27659
|
|
|
27645
27660
|
|
|
27646
|
-
|
|
27661
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.cut = {
|
|
27647
27662
|
command: 'cut',
|
|
27648
27663
|
isDisabled: (editor) => editor.s.isCollapsed(),
|
|
27649
27664
|
tooltip: 'Cut selection'
|
|
27650
27665
|
};
|
|
27651
|
-
|
|
27666
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.copy = {
|
|
27652
27667
|
command: 'copy',
|
|
27653
27668
|
isDisabled: (editor) => editor.s.isCollapsed(),
|
|
27654
27669
|
tooltip: 'Copy selection'
|
|
27655
27670
|
};
|
|
27656
|
-
|
|
27671
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.selectall = {
|
|
27657
27672
|
icon: 'select-all',
|
|
27658
27673
|
command: 'selectall',
|
|
27659
27674
|
tooltip: 'Select all'
|
|
27660
27675
|
};
|
|
27661
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('copy', (
|
|
27662
|
-
.set('cut', (
|
|
27663
|
-
.set('paste', (
|
|
27664
|
-
.set('select-all', (
|
|
27676
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('copy', (_icons_copy_svg__WEBPACK_IMPORTED_MODULE_2___default()))
|
|
27677
|
+
.set('cut', (_icons_cut_svg__WEBPACK_IMPORTED_MODULE_3___default()))
|
|
27678
|
+
.set('paste', (_icons_paste_svg__WEBPACK_IMPORTED_MODULE_4___default()))
|
|
27679
|
+
.set('select-all', (_icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
27665
27680
|
|
|
27666
27681
|
|
|
27667
27682
|
/***/ }),
|
|
@@ -27733,10 +27748,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('color
|
|
|
27733
27748
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55186);
|
|
27734
27749
|
/* harmony import */ var jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65147);
|
|
27735
27750
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(931);
|
|
27736
|
-
/* harmony import */ var
|
|
27737
|
-
/* harmony import */ var
|
|
27738
|
-
/* harmony import */ var
|
|
27739
|
-
/* harmony import */ var
|
|
27751
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
27752
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(16116);
|
|
27753
|
+
/* harmony import */ var _brush_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(45674);
|
|
27754
|
+
/* harmony import */ var _brush_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_brush_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
27740
27755
|
/*!
|
|
27741
27756
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27742
27757
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27748,8 +27763,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('color
|
|
|
27748
27763
|
|
|
27749
27764
|
|
|
27750
27765
|
|
|
27751
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('brush', (
|
|
27752
|
-
|
|
27766
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('brush', (_brush_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
27767
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.brushCell = {
|
|
27753
27768
|
isVisible: (editor) => {
|
|
27754
27769
|
return !editor.o.disablePlugins.includes('color');
|
|
27755
27770
|
},
|
|
@@ -27762,7 +27777,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
27762
27777
|
if (!selected.length) {
|
|
27763
27778
|
return false;
|
|
27764
27779
|
}
|
|
27765
|
-
const makeColorPicker = (key) => (0,
|
|
27780
|
+
const makeColorPicker = (key) => (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, (value) => {
|
|
27766
27781
|
selected.forEach(cell => {
|
|
27767
27782
|
(0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.css)(cell, key, value);
|
|
27768
27783
|
});
|
|
@@ -27771,7 +27786,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
27771
27786
|
close();
|
|
27772
27787
|
editor.unlock();
|
|
27773
27788
|
}, (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.css)(selected[0], key));
|
|
27774
|
-
return (0,
|
|
27789
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .TabsWidget */ .Zg)(editor, [
|
|
27775
27790
|
{
|
|
27776
27791
|
name: 'Background',
|
|
27777
27792
|
content: makeColorPicker('background-color')
|
|
@@ -27782,7 +27797,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
27782
27797
|
},
|
|
27783
27798
|
tooltip: 'Background'
|
|
27784
27799
|
};
|
|
27785
|
-
|
|
27800
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.brush = {
|
|
27786
27801
|
isVisible: (editor) => {
|
|
27787
27802
|
return !editor.o.disablePlugins.includes('color');
|
|
27788
27803
|
},
|
|
@@ -27830,7 +27845,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
27830
27845
|
}
|
|
27831
27846
|
}, editor.editor);
|
|
27832
27847
|
}
|
|
27833
|
-
const backgroundTag = (0,
|
|
27848
|
+
const backgroundTag = (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, (value) => {
|
|
27834
27849
|
if (!currentElement) {
|
|
27835
27850
|
editor.execCommand('background', false, value);
|
|
27836
27851
|
}
|
|
@@ -27841,7 +27856,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
27841
27856
|
(0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.dataBind)(button, 'color-mode', 'background');
|
|
27842
27857
|
close();
|
|
27843
27858
|
}, bg_color);
|
|
27844
|
-
const colorTab = (0,
|
|
27859
|
+
const colorTab = (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, (value) => {
|
|
27845
27860
|
if (!currentElement) {
|
|
27846
27861
|
editor.execCommand('forecolor', false, value);
|
|
27847
27862
|
}
|
|
@@ -27865,7 +27880,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
27865
27880
|
if (editor.o.colorPickerDefaultTab !== 'background') {
|
|
27866
27881
|
tabs = tabs.reverse();
|
|
27867
27882
|
}
|
|
27868
|
-
return (0,
|
|
27883
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .TabsWidget */ .Zg)(editor, tabs, currentElement);
|
|
27869
27884
|
},
|
|
27870
27885
|
exec(jodit, current, { button }) {
|
|
27871
27886
|
const mode = (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.dataBind)(button, 'color-mode'), color = (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.dataBind)(button, 'color');
|
|
@@ -27904,10 +27919,10 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
27904
27919
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
27905
27920
|
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38322);
|
|
27906
27921
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(931);
|
|
27907
|
-
/* harmony import */ var
|
|
27908
|
-
/* harmony import */ var
|
|
27909
|
-
/* harmony import */ var
|
|
27910
|
-
/* harmony import */ var
|
|
27922
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
27923
|
+
/* harmony import */ var _copy_format_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(3843);
|
|
27924
|
+
/* harmony import */ var _copy_format_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_copy_format_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
27925
|
+
/* harmony import */ var _langs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(94628);
|
|
27911
27926
|
/*!
|
|
27912
27927
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27913
27928
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27965,7 +27980,7 @@ const getStyles = (editor, box, defaultStyles) => {
|
|
|
27965
27980
|
}
|
|
27966
27981
|
return result;
|
|
27967
27982
|
};
|
|
27968
|
-
|
|
27983
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.copyformat = {
|
|
27969
27984
|
exec: (editor, current, { button }) => {
|
|
27970
27985
|
if (!current) {
|
|
27971
27986
|
return;
|
|
@@ -28015,10 +28030,10 @@ function copyFormat(editor) {
|
|
|
28015
28030
|
name: 'copyformat',
|
|
28016
28031
|
group: 'clipboard'
|
|
28017
28032
|
});
|
|
28018
|
-
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .extendLang */ .JW)(
|
|
28033
|
+
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .extendLang */ .JW)(_langs__WEBPACK_IMPORTED_MODULE_5__);
|
|
28019
28034
|
}
|
|
28020
28035
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('copyformat', copyFormat);
|
|
28021
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('copyformat', (
|
|
28036
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('copyformat', (_copy_format_svg__WEBPACK_IMPORTED_MODULE_4___default()));
|
|
28022
28037
|
|
|
28023
28038
|
|
|
28024
28039
|
/***/ }),
|
|
@@ -29429,8 +29444,8 @@ function wrapText(fake, jodit) {
|
|
|
29429
29444
|
/* unused harmony export file */
|
|
29430
29445
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55186);
|
|
29431
29446
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
29432
|
-
/* harmony import */ var
|
|
29433
|
-
/* harmony import */ var
|
|
29447
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
29448
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(16116);
|
|
29434
29449
|
/*!
|
|
29435
29450
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
29436
29451
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -29440,7 +29455,7 @@ function wrapText(fake, jodit) {
|
|
|
29440
29455
|
|
|
29441
29456
|
|
|
29442
29457
|
|
|
29443
|
-
|
|
29458
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.file = {
|
|
29444
29459
|
popup: (editor, current, close) => {
|
|
29445
29460
|
const insert = (url, title = '') => {
|
|
29446
29461
|
editor.s.insertNode(editor.createInside.fromHTML(`<a href="${url}" title="${title}">${title || url}</a>`));
|
|
@@ -29453,7 +29468,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fil
|
|
|
29453
29468
|
? current
|
|
29454
29469
|
: jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor);
|
|
29455
29470
|
}
|
|
29456
|
-
return (0,
|
|
29471
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_3__/* .FileSelectorWidget */ .kG)(editor, {
|
|
29457
29472
|
filebrowser: (data) => {
|
|
29458
29473
|
data.files &&
|
|
29459
29474
|
data.files.forEach(file => insert(data.baseurl + file));
|
|
@@ -29576,11 +29591,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('focus
|
|
|
29576
29591
|
/* harmony import */ var jodit_core_helpers_string_trim__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(59101);
|
|
29577
29592
|
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38322);
|
|
29578
29593
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(931);
|
|
29579
|
-
/* harmony import */ var
|
|
29580
|
-
/* harmony import */ var
|
|
29581
|
-
/* harmony import */ var
|
|
29582
|
-
/* harmony import */ var
|
|
29583
|
-
/* harmony import */ var
|
|
29594
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
29595
|
+
/* harmony import */ var _icons_font_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(48842);
|
|
29596
|
+
/* harmony import */ var _icons_font_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_font_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
29597
|
+
/* harmony import */ var _icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(25501);
|
|
29598
|
+
/* harmony import */ var _icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
29584
29599
|
/*!
|
|
29585
29600
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
29586
29601
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -29596,9 +29611,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('focus
|
|
|
29596
29611
|
/**
|
|
29597
29612
|
* Default font-size points
|
|
29598
29613
|
*/
|
|
29599
|
-
|
|
29600
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('font', (
|
|
29601
|
-
|
|
29614
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.defaultFontSizePoints = 'px';
|
|
29615
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('font', (_icons_font_svg__WEBPACK_IMPORTED_MODULE_4___default())).set('fontsize', (_icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
29616
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fontsize = {
|
|
29602
29617
|
command: 'fontsize',
|
|
29603
29618
|
data: {
|
|
29604
29619
|
cssRule: 'font-size',
|
|
@@ -29654,8 +29669,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.fon
|
|
|
29654
29669
|
return keySet.has(normalize(value.toString()));
|
|
29655
29670
|
}
|
|
29656
29671
|
};
|
|
29657
|
-
|
|
29658
|
-
...
|
|
29672
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.font = {
|
|
29673
|
+
...jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fontsize,
|
|
29659
29674
|
command: 'fontname',
|
|
29660
29675
|
textTemplate: (j, value) => {
|
|
29661
29676
|
const [first] = value.split(',');
|
|
@@ -29765,11 +29780,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('font'
|
|
|
29765
29780
|
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
29766
29781
|
|
|
29767
29782
|
"use strict";
|
|
29768
|
-
/* harmony import */ var
|
|
29783
|
+
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55186);
|
|
29784
|
+
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(25376);
|
|
29769
29785
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(931);
|
|
29770
|
-
/* harmony import */ var
|
|
29771
|
-
/* harmony import */ var
|
|
29772
|
-
/* harmony import */ var
|
|
29786
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
29787
|
+
/* harmony import */ var _paragraph_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(29348);
|
|
29788
|
+
/* harmony import */ var _paragraph_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_paragraph_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
29773
29789
|
/*!
|
|
29774
29790
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
29775
29791
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -29779,12 +29795,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('font'
|
|
|
29779
29795
|
|
|
29780
29796
|
|
|
29781
29797
|
|
|
29782
|
-
|
|
29783
|
-
|
|
29798
|
+
|
|
29799
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('paragraph', (_paragraph_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
29800
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.paragraph = {
|
|
29784
29801
|
command: 'formatBlock',
|
|
29785
29802
|
value(editor, button) {
|
|
29786
29803
|
const control = button.control, current = editor.s.current();
|
|
29787
|
-
const currentBox =
|
|
29804
|
+
const currentBox = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.isBlock, editor.editor);
|
|
29788
29805
|
return currentBox?.nodeName.toLowerCase() ?? control.data?.currentValue;
|
|
29789
29806
|
},
|
|
29790
29807
|
update(editor, button) {
|
|
@@ -29793,7 +29810,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.par
|
|
|
29793
29810
|
return false;
|
|
29794
29811
|
}
|
|
29795
29812
|
const currentValue = button.state.value, list = control.list;
|
|
29796
|
-
if (list && list[currentValue.toString()]) {
|
|
29813
|
+
if ((0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__/* .isPlainObject */ .Q)(list) && list[currentValue.toString()]) {
|
|
29797
29814
|
if (editor.o.textIcons) {
|
|
29798
29815
|
button.state.text = list[currentValue.toString()].toString();
|
|
29799
29816
|
}
|
|
@@ -29817,7 +29834,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.par
|
|
|
29817
29834
|
},
|
|
29818
29835
|
isActive: (editor, button) => {
|
|
29819
29836
|
return (button.state.value !== editor.o.enter &&
|
|
29820
|
-
|
|
29837
|
+
(0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__/* .isPlainObject */ .Q)(button.control.list) &&
|
|
29838
|
+
Boolean(button.control.list[button.state.value]));
|
|
29821
29839
|
},
|
|
29822
29840
|
childTemplate: (e, key, value) => `<${key} style="margin:0;padding:0"><span>${e.i18n(value)}</span></${key}>`,
|
|
29823
29841
|
tooltip: 'Insert format block'
|
|
@@ -29867,11 +29885,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('forma
|
|
|
29867
29885
|
"use strict";
|
|
29868
29886
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17352);
|
|
29869
29887
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(931);
|
|
29870
|
-
/* harmony import */ var
|
|
29871
|
-
/* harmony import */ var
|
|
29872
|
-
/* harmony import */ var
|
|
29873
|
-
/* harmony import */ var
|
|
29874
|
-
/* harmony import */ var
|
|
29888
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
29889
|
+
/* harmony import */ var _icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(24772);
|
|
29890
|
+
/* harmony import */ var _icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
29891
|
+
/* harmony import */ var _icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(66547);
|
|
29892
|
+
/* harmony import */ var _icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
29875
29893
|
/*!
|
|
29876
29894
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
29877
29895
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -29883,10 +29901,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('forma
|
|
|
29883
29901
|
|
|
29884
29902
|
|
|
29885
29903
|
|
|
29886
|
-
|
|
29887
|
-
|
|
29888
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('fullsize', (
|
|
29889
|
-
|
|
29904
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.fullsize = false;
|
|
29905
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.globalFullSize = true;
|
|
29906
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('fullsize', (_icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3___default())).set('shrink', (_icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4___default()));
|
|
29907
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.fullsize = {
|
|
29890
29908
|
exec: (editor) => {
|
|
29891
29909
|
editor.toggleFullSize();
|
|
29892
29910
|
},
|
|
@@ -30025,19 +30043,6 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('fulls
|
|
|
30025
30043
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
30026
30044
|
*/
|
|
30027
30045
|
|
|
30028
|
-
/**
|
|
30029
|
-
* You can redefine hotkeys for some command
|
|
30030
|
-
*
|
|
30031
|
-
* @example
|
|
30032
|
-
* ```js
|
|
30033
|
-
* var jodit = Jodit.make('#editor', {
|
|
30034
|
-
* commandToHotkeys: {
|
|
30035
|
-
* bold: 'ctrl+shift+b',
|
|
30036
|
-
* italic: ['ctrl+i', 'ctrl+b'],
|
|
30037
|
-
* }
|
|
30038
|
-
* })
|
|
30039
|
-
* ```
|
|
30040
|
-
*/
|
|
30041
30046
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.commandToHotkeys = {
|
|
30042
30047
|
removeFormat: ['ctrl+shift+m', 'cmd+shift+m'],
|
|
30043
30048
|
insertOrderedList: ['ctrl+shift+7', 'cmd+shift+7'],
|
|
@@ -30212,9 +30217,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('hotke
|
|
|
30212
30217
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(71842);
|
|
30213
30218
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
30214
30219
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(931);
|
|
30215
|
-
/* harmony import */ var
|
|
30216
|
-
/* harmony import */ var
|
|
30217
|
-
/* harmony import */ var
|
|
30220
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
30221
|
+
/* harmony import */ var _hr_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(89097);
|
|
30222
|
+
/* harmony import */ var _hr_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_hr_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
30218
30223
|
/*!
|
|
30219
30224
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30220
30225
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30225,8 +30230,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('hotke
|
|
|
30225
30230
|
|
|
30226
30231
|
|
|
30227
30232
|
|
|
30228
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('hr', (
|
|
30229
|
-
|
|
30233
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('hr', (_hr_svg__WEBPACK_IMPORTED_MODULE_4___default()));
|
|
30234
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.hr = {
|
|
30230
30235
|
command: 'insertHorizontalRule',
|
|
30231
30236
|
tags: ['hr'],
|
|
30232
30237
|
tooltip: 'Insert Horizontal Line'
|
|
@@ -30703,6 +30708,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('image
|
|
|
30703
30708
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
30704
30709
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
30705
30710
|
*/
|
|
30711
|
+
/**
|
|
30712
|
+
* @module plugins/image-properties
|
|
30713
|
+
*/
|
|
30706
30714
|
|
|
30707
30715
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.image = {
|
|
30708
30716
|
dialogWidth: 600,
|
|
@@ -32203,10 +32211,10 @@ function applySize(image, imageWidth, imageHeight, sizeIsLocked) {
|
|
|
32203
32211
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
32204
32212
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65147);
|
|
32205
32213
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(931);
|
|
32206
|
-
/* harmony import */ var
|
|
32207
|
-
/* harmony import */ var
|
|
32208
|
-
/* harmony import */ var
|
|
32209
|
-
/* harmony import */ var
|
|
32214
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
32215
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(16116);
|
|
32216
|
+
/* harmony import */ var _image_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(64831);
|
|
32217
|
+
/* harmony import */ var _image_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_image_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
32210
32218
|
/*!
|
|
32211
32219
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
32212
32220
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -32219,8 +32227,8 @@ function applySize(image, imageWidth, imageHeight, sizeIsLocked) {
|
|
|
32219
32227
|
|
|
32220
32228
|
|
|
32221
32229
|
|
|
32222
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('image', (
|
|
32223
|
-
|
|
32230
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('image', (_image_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
32231
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.image = {
|
|
32224
32232
|
popup: (editor, current, close) => {
|
|
32225
32233
|
let sourceImage = null;
|
|
32226
32234
|
if (current &&
|
|
@@ -32232,7 +32240,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.prototype.controls.ima
|
|
|
32232
32240
|
: (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.$$)('img', current)[0];
|
|
32233
32241
|
}
|
|
32234
32242
|
editor.s.save();
|
|
32235
|
-
return (0,
|
|
32243
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__/* .FileSelectorWidget */ .kG)(editor, {
|
|
32236
32244
|
filebrowser: (data) => {
|
|
32237
32245
|
editor.s.restore();
|
|
32238
32246
|
data.files &&
|
|
@@ -32275,12 +32283,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('image
|
|
|
32275
32283
|
"use strict";
|
|
32276
32284
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(71842);
|
|
32277
32285
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(931);
|
|
32278
|
-
/* harmony import */ var
|
|
32279
|
-
/* harmony import */ var
|
|
32280
|
-
/* harmony import */ var
|
|
32281
|
-
/* harmony import */ var
|
|
32282
|
-
/* harmony import */ var
|
|
32283
|
-
/* harmony import */ var
|
|
32286
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
32287
|
+
/* harmony import */ var _icons_indent_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(67176);
|
|
32288
|
+
/* harmony import */ var _icons_indent_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_indent_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
32289
|
+
/* harmony import */ var _icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(14017);
|
|
32290
|
+
/* harmony import */ var _icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
32291
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(3392);
|
|
32284
32292
|
/*!
|
|
32285
32293
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
32286
32294
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -32292,17 +32300,17 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('image
|
|
|
32292
32300
|
|
|
32293
32301
|
|
|
32294
32302
|
|
|
32295
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('indent', (
|
|
32296
|
-
|
|
32303
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('indent', (_icons_indent_svg__WEBPACK_IMPORTED_MODULE_3___default())).set('outdent', (_icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4___default()));
|
|
32304
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.indent = {
|
|
32297
32305
|
tooltip: 'Increase Indent'
|
|
32298
32306
|
};
|
|
32299
|
-
|
|
32307
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.outdent = {
|
|
32300
32308
|
isDisabled: (editor) => {
|
|
32301
32309
|
const current = editor.s.current();
|
|
32302
32310
|
if (current) {
|
|
32303
32311
|
const currentBox = jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.isBlock, editor.editor);
|
|
32304
32312
|
if (currentBox) {
|
|
32305
|
-
const arrow = (0,
|
|
32313
|
+
const arrow = (0,_helpers__WEBPACK_IMPORTED_MODULE_5__/* .getKey */ .i)(editor.o.direction, currentBox);
|
|
32306
32314
|
return (!currentBox.style[arrow] ||
|
|
32307
32315
|
parseInt(currentBox.style[arrow], 10) <= 0);
|
|
32308
32316
|
}
|
|
@@ -32311,7 +32319,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.out
|
|
|
32311
32319
|
},
|
|
32312
32320
|
tooltip: 'Decrease Indent'
|
|
32313
32321
|
};
|
|
32314
|
-
|
|
32322
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.indentMargin = 10;
|
|
32315
32323
|
|
|
32316
32324
|
|
|
32317
32325
|
/***/ }),
|
|
@@ -32572,12 +32580,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inden
|
|
|
32572
32580
|
|
|
32573
32581
|
"use strict";
|
|
32574
32582
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
32575
|
-
/* harmony import */ var
|
|
32576
|
-
/* harmony import */ var
|
|
32577
|
-
/* harmony import */ var
|
|
32578
|
-
/* harmony import */ var
|
|
32583
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
32584
|
+
/* harmony import */ var _items_a__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(97836);
|
|
32585
|
+
/* harmony import */ var _items_cells__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(82558);
|
|
32586
|
+
/* harmony import */ var _items_iframe__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(6295);
|
|
32587
|
+
/* harmony import */ var _items_img__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(26396);
|
|
32579
32588
|
/* harmony import */ var _items_toolbar__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(58540);
|
|
32580
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(36115);
|
|
32581
32589
|
/* harmony import */ var jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38681);
|
|
32582
32590
|
/* harmony import */ var jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
32583
32591
|
/* harmony import */ var jodit_plugins_inline_popup_icons_addrow_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(64637);
|
|
@@ -32611,10 +32619,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inden
|
|
|
32611
32619
|
|
|
32612
32620
|
|
|
32613
32621
|
|
|
32614
|
-
|
|
32615
|
-
|
|
32616
|
-
|
|
32617
|
-
|
|
32622
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInline = true;
|
|
32623
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineForSelection = false;
|
|
32624
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineDisableFor = [];
|
|
32625
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineDisabledButtons = ['source'];
|
|
32618
32626
|
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('addcolumn', (jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_6___default()))
|
|
32619
32627
|
.set('addrow', (jodit_plugins_inline_popup_icons_addrow_svg__WEBPACK_IMPORTED_MODULE_7___default()))
|
|
32620
32628
|
.set('merge', (jodit_plugins_inline_popup_icons_merge_svg__WEBPACK_IMPORTED_MODULE_8___default()))
|
|
@@ -32622,14 +32630,14 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('addcolumn', (
|
|
|
32622
32630
|
.set('splitg', (jodit_plugins_inline_popup_icons_splitg_svg__WEBPACK_IMPORTED_MODULE_9___default()))
|
|
32623
32631
|
.set('splitv', (jodit_plugins_inline_popup_icons_splitv_svg__WEBPACK_IMPORTED_MODULE_10___default()))
|
|
32624
32632
|
.set('th-list', (jodit_plugins_inline_popup_icons_th_list_svg__WEBPACK_IMPORTED_MODULE_12___default()));
|
|
32625
|
-
|
|
32626
|
-
a:
|
|
32627
|
-
img:
|
|
32628
|
-
cells:
|
|
32633
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.popup = {
|
|
32634
|
+
a: _items_a__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A,
|
|
32635
|
+
img: _items_img__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .A,
|
|
32636
|
+
cells: _items_cells__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .A,
|
|
32629
32637
|
toolbar: _items_toolbar__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .A,
|
|
32630
|
-
jodit:
|
|
32631
|
-
iframe:
|
|
32632
|
-
'jodit-media':
|
|
32638
|
+
jodit: _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
32639
|
+
iframe: _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
32640
|
+
'jodit-media': _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
32633
32641
|
selection: [
|
|
32634
32642
|
'bold',
|
|
32635
32643
|
'underline',
|
|
@@ -33241,12 +33249,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inlin
|
|
|
33241
33249
|
/* unused harmony export justify */
|
|
33242
33250
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55186);
|
|
33243
33251
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
33244
|
-
/* harmony import */ var
|
|
33245
|
-
/* harmony import */ var
|
|
33246
|
-
/* harmony import */ var
|
|
33247
|
-
/* harmony import */ var
|
|
33248
|
-
/* harmony import */ var _justify_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_justify_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
33252
|
+
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65147);
|
|
33253
|
+
/* harmony import */ var jodit_core_helpers_utils_align__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(40080);
|
|
33254
|
+
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(38322);
|
|
33255
|
+
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(931);
|
|
33249
33256
|
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(36115);
|
|
33257
|
+
/* harmony import */ var _justify_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(80515);
|
|
33258
|
+
/* harmony import */ var _justify_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_justify_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
33250
33259
|
/*!
|
|
33251
33260
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
33252
33261
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -33259,7 +33268,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inlin
|
|
|
33259
33268
|
|
|
33260
33269
|
|
|
33261
33270
|
|
|
33262
|
-
|
|
33271
|
+
|
|
33272
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('justify', (_justify_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
33263
33273
|
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.align = {
|
|
33264
33274
|
name: 'left',
|
|
33265
33275
|
tooltip: 'Align',
|
|
@@ -33268,22 +33278,25 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.ali
|
|
|
33268
33278
|
if (current) {
|
|
33269
33279
|
const currentBox = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.isBlock, editor.editor) ||
|
|
33270
33280
|
editor.editor;
|
|
33271
|
-
let currentValue = (0,
|
|
33281
|
+
let currentValue = (0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__/* .css */ .A)(currentBox, 'text-align').toString();
|
|
33272
33282
|
if (control.defaultValue &&
|
|
33273
33283
|
control.defaultValue.indexOf(currentValue) !== -1) {
|
|
33274
33284
|
currentValue = 'left';
|
|
33275
33285
|
}
|
|
33276
|
-
|
|
33277
|
-
|
|
33278
|
-
|
|
33279
|
-
|
|
33286
|
+
const { list, data } = control;
|
|
33287
|
+
if (data &&
|
|
33288
|
+
data.currentValue !== currentValue &&
|
|
33289
|
+
list &&
|
|
33290
|
+
((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isPlainObject)(list)
|
|
33291
|
+
? list[currentValue]
|
|
33292
|
+
: list.includes(currentValue))) {
|
|
33280
33293
|
if (editor.o.textIcons || control.component === 'select') {
|
|
33281
33294
|
button.state.text = currentValue;
|
|
33282
33295
|
}
|
|
33283
33296
|
else {
|
|
33284
33297
|
button.state.icon.name = currentValue;
|
|
33285
33298
|
}
|
|
33286
|
-
|
|
33299
|
+
data.currentValue = currentValue;
|
|
33287
33300
|
}
|
|
33288
33301
|
}
|
|
33289
33302
|
},
|
|
@@ -33294,7 +33307,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.ali
|
|
|
33294
33307
|
}
|
|
33295
33308
|
const currentBox = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.isBlock, editor.editor) ||
|
|
33296
33309
|
editor.editor;
|
|
33297
|
-
return (btn.control.defaultValue.indexOf((0,
|
|
33310
|
+
return (btn.control.defaultValue.indexOf((0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__/* .css */ .A)(currentBox, 'text-align').toString()) === -1);
|
|
33298
33311
|
},
|
|
33299
33312
|
defaultValue: ['left', 'start', 'inherit'],
|
|
33300
33313
|
data: {
|
|
@@ -33348,7 +33361,7 @@ function justify(editor) {
|
|
|
33348
33361
|
if (!currentBox) {
|
|
33349
33362
|
currentBox = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.wrapInline(current, editor.o.enterBlock, editor);
|
|
33350
33363
|
}
|
|
33351
|
-
(0,
|
|
33364
|
+
(0,jodit_core_helpers_utils_align__WEBPACK_IMPORTED_MODULE_3__/* .alignElement */ .Op)(command, currentBox);
|
|
33352
33365
|
});
|
|
33353
33366
|
return false;
|
|
33354
33367
|
};
|
|
@@ -33559,9 +33572,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('limit
|
|
|
33559
33572
|
"use strict";
|
|
33560
33573
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(65147);
|
|
33561
33574
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(931);
|
|
33562
|
-
/* harmony import */ var
|
|
33563
|
-
/* harmony import */ var
|
|
33564
|
-
/* harmony import */ var
|
|
33575
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
33576
|
+
/* harmony import */ var _line_height_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(223);
|
|
33577
|
+
/* harmony import */ var _line_height_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_line_height_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
33565
33578
|
/*!
|
|
33566
33579
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
33567
33580
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -33571,9 +33584,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('limit
|
|
|
33571
33584
|
|
|
33572
33585
|
|
|
33573
33586
|
|
|
33574
|
-
|
|
33575
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('line-height', (
|
|
33576
|
-
|
|
33587
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.defaultLineHeight = null;
|
|
33588
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('line-height', (_line_height_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
33589
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.lineHeight = {
|
|
33577
33590
|
command: 'applyLineHeight',
|
|
33578
33591
|
tags: ['ol'],
|
|
33579
33592
|
tooltip: 'Line height',
|
|
@@ -33741,12 +33754,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('lineH
|
|
|
33741
33754
|
"use strict";
|
|
33742
33755
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55186);
|
|
33743
33756
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(931);
|
|
33744
|
-
/* harmony import */ var
|
|
33745
|
-
/* harmony import */ var
|
|
33746
|
-
/* harmony import */ var
|
|
33747
|
-
/* harmony import */ var
|
|
33748
|
-
/* harmony import */ var
|
|
33749
|
-
/* harmony import */ var
|
|
33757
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
33758
|
+
/* harmony import */ var _icons_link_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(95032);
|
|
33759
|
+
/* harmony import */ var _icons_link_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_link_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
33760
|
+
/* harmony import */ var _icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(73533);
|
|
33761
|
+
/* harmony import */ var _icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
33762
|
+
/* harmony import */ var _template__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(21329);
|
|
33750
33763
|
/*!
|
|
33751
33764
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
33752
33765
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -33758,8 +33771,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('lineH
|
|
|
33758
33771
|
|
|
33759
33772
|
|
|
33760
33773
|
|
|
33761
|
-
|
|
33762
|
-
formTemplate:
|
|
33774
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.link = {
|
|
33775
|
+
formTemplate: _template__WEBPACK_IMPORTED_MODULE_5__/* .formTemplate */ .B,
|
|
33763
33776
|
followOnDblClick: false,
|
|
33764
33777
|
processVideoLink: true,
|
|
33765
33778
|
processPastedLink: true,
|
|
@@ -33771,8 +33784,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.link = {
|
|
|
33771
33784
|
selectOptionsClassName: [],
|
|
33772
33785
|
hotkeys: ['ctrl+k', 'cmd+k']
|
|
33773
33786
|
};
|
|
33774
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('link', (
|
|
33775
|
-
|
|
33787
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('link', (_icons_link_svg__WEBPACK_IMPORTED_MODULE_3___default())).set('unlink', (_icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4___default()));
|
|
33788
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.unlink = {
|
|
33776
33789
|
exec: (editor, current) => {
|
|
33777
33790
|
const anchor = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor);
|
|
33778
33791
|
if (anchor) {
|
|
@@ -33783,7 +33796,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.unl
|
|
|
33783
33796
|
},
|
|
33784
33797
|
tooltip: 'Unlink'
|
|
33785
33798
|
};
|
|
33786
|
-
|
|
33799
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.link = {
|
|
33787
33800
|
isActive: (editor) => {
|
|
33788
33801
|
const current = editor.s.current();
|
|
33789
33802
|
return Boolean(current && jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor));
|
|
@@ -34327,9 +34340,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('media
|
|
|
34327
34340
|
"use strict";
|
|
34328
34341
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17352);
|
|
34329
34342
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65147);
|
|
34330
|
-
/* harmony import */ var
|
|
34331
|
-
/* harmony import */ var
|
|
34332
|
-
/* harmony import */ var
|
|
34343
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
34344
|
+
/* harmony import */ var jodit_modules_toolbar_collection_collection__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(97394);
|
|
34345
|
+
/* harmony import */ var jodit_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(8809);
|
|
34333
34346
|
/*!
|
|
34334
34347
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
34335
34348
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -34340,9 +34353,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('media
|
|
|
34340
34353
|
|
|
34341
34354
|
|
|
34342
34355
|
|
|
34343
|
-
|
|
34344
|
-
|
|
34345
|
-
|
|
34356
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.mobileTapTimeout = 300;
|
|
34357
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.toolbarAdaptive = true;
|
|
34358
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsMD = [
|
|
34346
34359
|
{
|
|
34347
34360
|
group: 'font-style',
|
|
34348
34361
|
buttons: []
|
|
@@ -34389,7 +34402,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsMD =
|
|
|
34389
34402
|
'|',
|
|
34390
34403
|
'dots'
|
|
34391
34404
|
];
|
|
34392
|
-
|
|
34405
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsSM = [
|
|
34393
34406
|
{
|
|
34394
34407
|
group: 'font-style',
|
|
34395
34408
|
buttons: []
|
|
@@ -34424,7 +34437,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsSM =
|
|
|
34424
34437
|
'|',
|
|
34425
34438
|
'dots'
|
|
34426
34439
|
];
|
|
34427
|
-
|
|
34440
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsXS = [
|
|
34428
34441
|
{
|
|
34429
34442
|
group: 'font-style',
|
|
34430
34443
|
buttons: []
|
|
@@ -34445,16 +34458,16 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsXS =
|
|
|
34445
34458
|
'---',
|
|
34446
34459
|
'dots'
|
|
34447
34460
|
];
|
|
34448
|
-
|
|
34461
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.dots = {
|
|
34449
34462
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SOURCE + jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_WYSIWYG,
|
|
34450
34463
|
popup: (editor, current, close, button) => {
|
|
34451
34464
|
let store = button.control.data;
|
|
34452
34465
|
if (store === undefined) {
|
|
34453
34466
|
store = {
|
|
34454
|
-
toolbar: (0,
|
|
34467
|
+
toolbar: (0,jodit_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_4__/* .makeCollection */ .$K)(editor),
|
|
34455
34468
|
rebuild: () => {
|
|
34456
34469
|
if (button) {
|
|
34457
|
-
const buttons = editor.e.fire('getDiffButtons.mobile', button.closest(
|
|
34470
|
+
const buttons = editor.e.fire('getDiffButtons.mobile', button.closest(jodit_modules_toolbar_collection_collection__WEBPACK_IMPORTED_MODULE_3__/* .ToolbarCollection */ .Q));
|
|
34458
34471
|
if (buttons && store) {
|
|
34459
34472
|
store.toolbar.build((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.splitArray)(buttons));
|
|
34460
34473
|
const w = editor.toolbar?.firstButton?.container
|
|
@@ -34565,11 +34578,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('mobil
|
|
|
34565
34578
|
"use strict";
|
|
34566
34579
|
/* harmony import */ var jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(72197);
|
|
34567
34580
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(931);
|
|
34568
|
-
/* harmony import */ var
|
|
34569
|
-
/* harmony import */ var
|
|
34570
|
-
/* harmony import */ var
|
|
34571
|
-
/* harmony import */ var
|
|
34572
|
-
/* harmony import */ var
|
|
34581
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
34582
|
+
/* harmony import */ var _icons_ol_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(40037);
|
|
34583
|
+
/* harmony import */ var _icons_ol_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_ol_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
34584
|
+
/* harmony import */ var _icons_ul_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(83207);
|
|
34585
|
+
/* harmony import */ var _icons_ul_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_ul_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
34573
34586
|
/*!
|
|
34574
34587
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
34575
34588
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -34586,8 +34599,8 @@ const memoExec = (jodit, _, { control }) => {
|
|
|
34586
34599
|
(0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_0__/* .dataBind */ .m)(jodit, key, value);
|
|
34587
34600
|
jodit.execCommand(control.command, false, value === 'default' ? null : value);
|
|
34588
34601
|
};
|
|
34589
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('ol', (
|
|
34590
|
-
|
|
34602
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('ol', (_icons_ol_svg__WEBPACK_IMPORTED_MODULE_3___default())).set('ul', (_icons_ul_svg__WEBPACK_IMPORTED_MODULE_4___default()));
|
|
34603
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.ul = {
|
|
34591
34604
|
command: 'insertUnorderedList',
|
|
34592
34605
|
tags: ['ul'],
|
|
34593
34606
|
tooltip: 'Insert Unordered List',
|
|
@@ -34599,7 +34612,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.ul
|
|
|
34599
34612
|
},
|
|
34600
34613
|
exec: memoExec
|
|
34601
34614
|
};
|
|
34602
|
-
|
|
34615
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.ol = {
|
|
34603
34616
|
command: 'insertOrderedList',
|
|
34604
34617
|
tags: ['ol'],
|
|
34605
34618
|
tooltip: 'Insert Ordered List',
|
|
@@ -34973,8 +34986,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('paste
|
|
|
34973
34986
|
|
|
34974
34987
|
"use strict";
|
|
34975
34988
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17352);
|
|
34976
|
-
/* harmony import */ var
|
|
34977
|
-
/* harmony import */ var
|
|
34989
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
34990
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(90823);
|
|
34978
34991
|
/*!
|
|
34979
34992
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
34980
34993
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -34983,19 +34996,19 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('paste
|
|
|
34983
34996
|
|
|
34984
34997
|
|
|
34985
34998
|
|
|
34986
|
-
|
|
34987
|
-
|
|
34988
|
-
|
|
34989
|
-
|
|
34990
|
-
|
|
34999
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.askBeforePasteHTML = true;
|
|
35000
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.processPasteHTML = true;
|
|
35001
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.scrollToPastedContent = true;
|
|
35002
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.pasteExcludeStripTags = ['br', 'hr'];
|
|
35003
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.pasteHTMLActionList = [
|
|
34991
35004
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_AS_HTML, text: 'Keep' },
|
|
34992
35005
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_AS_TEXT, text: 'Insert as Text' },
|
|
34993
35006
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_ONLY_TEXT, text: 'Insert only Text' }
|
|
34994
35007
|
];
|
|
34995
|
-
|
|
34996
|
-
|
|
35008
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.memorizeChoiceWhenPasteFragment = false;
|
|
35009
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.nl2brInPlainText = true;
|
|
34997
35010
|
const psKey = 'pasteStorage';
|
|
34998
|
-
|
|
35011
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.paste = {
|
|
34999
35012
|
tooltip: 'Paste from clipboard',
|
|
35000
35013
|
async exec(editor, _, { control }) {
|
|
35001
35014
|
if (control.name === psKey) {
|
|
@@ -35043,7 +35056,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.pas
|
|
|
35043
35056
|
!error && editor.e.fire('afterPaste');
|
|
35044
35057
|
}
|
|
35045
35058
|
else if (text.length) {
|
|
35046
|
-
(0,
|
|
35059
|
+
(0,_helpers__WEBPACK_IMPORTED_MODULE_2__/* .pasteInsertHtml */ .sX)(null, editor, text);
|
|
35047
35060
|
editor.e.fire('afterPaste');
|
|
35048
35061
|
}
|
|
35049
35062
|
else {
|
|
@@ -35767,10 +35780,10 @@ function generateCriticalCSS(jodit) {
|
|
|
35767
35780
|
/* harmony import */ var jodit_core_helpers_utils_default_language__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(17527);
|
|
35768
35781
|
/* harmony import */ var jodit_core_helpers_utils_print__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(98434);
|
|
35769
35782
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(931);
|
|
35770
|
-
/* harmony import */ var
|
|
35771
|
-
/* harmony import */ var
|
|
35772
|
-
/* harmony import */ var
|
|
35773
|
-
/* harmony import */ var
|
|
35783
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(36115);
|
|
35784
|
+
/* harmony import */ var _lib_generate_critical_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(11131);
|
|
35785
|
+
/* harmony import */ var _print_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(59827);
|
|
35786
|
+
/* harmony import */ var _print_svg__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_print_svg__WEBPACK_IMPORTED_MODULE_7__);
|
|
35774
35787
|
/*!
|
|
35775
35788
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
35776
35789
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -35785,8 +35798,8 @@ function generateCriticalCSS(jodit) {
|
|
|
35785
35798
|
|
|
35786
35799
|
|
|
35787
35800
|
|
|
35788
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('print', (
|
|
35789
|
-
|
|
35801
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('print', (_print_svg__WEBPACK_IMPORTED_MODULE_7___default()));
|
|
35802
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.print = {
|
|
35790
35803
|
exec: (editor) => {
|
|
35791
35804
|
const iframe = editor.create.element('iframe');
|
|
35792
35805
|
Object.assign(iframe.style, {
|
|
@@ -35797,7 +35810,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_7__/* .Config */ .T.prototype.controls.pri
|
|
|
35797
35810
|
height: 0,
|
|
35798
35811
|
border: 0
|
|
35799
35812
|
});
|
|
35800
|
-
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .getContainer */ .My)(editor,
|
|
35813
|
+
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .getContainer */ .My)(editor, jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T).appendChild(iframe);
|
|
35801
35814
|
const afterFinishPrint = () => {
|
|
35802
35815
|
editor.e.off(editor.ow, 'mousemove', afterFinishPrint);
|
|
35803
35816
|
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.safeRemove(iframe);
|
|
@@ -35815,7 +35828,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_7__/* .Config */ .T.prototype.controls.pri
|
|
|
35815
35828
|
myWindow.document.write('<!doctype html><html lang="' +
|
|
35816
35829
|
(0,jodit_core_helpers_utils_default_language__WEBPACK_IMPORTED_MODULE_8__/* .defaultLanguage */ .e)(editor.o.language) +
|
|
35817
35830
|
'"><head><title></title></head><style>' +
|
|
35818
|
-
(0,
|
|
35831
|
+
(0,_lib_generate_critical_css__WEBPACK_IMPORTED_MODULE_6__/* .generateCriticalCSS */ .Y)(editor) +
|
|
35819
35832
|
'</style><body></body></html>');
|
|
35820
35833
|
myWindow.document.close();
|
|
35821
35834
|
(0,jodit_core_helpers_utils_print__WEBPACK_IMPORTED_MODULE_3__/* .previewBox */ .u)(editor, undefined, 'px', myWindow.document.body);
|
|
@@ -35853,11 +35866,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('print
|
|
|
35853
35866
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
35854
35867
|
/* harmony import */ var jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(29866);
|
|
35855
35868
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(931);
|
|
35856
|
-
/* harmony import */ var
|
|
35857
|
-
/* harmony import */ var
|
|
35858
|
-
/* harmony import */ var
|
|
35859
|
-
/* harmony import */ var
|
|
35860
|
-
/* harmony import */ var
|
|
35869
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
35870
|
+
/* harmony import */ var _icons_redo_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(34045);
|
|
35871
|
+
/* harmony import */ var _icons_redo_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_redo_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
35872
|
+
/* harmony import */ var _icons_undo_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(39199);
|
|
35873
|
+
/* harmony import */ var _icons_undo_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_icons_undo_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
35861
35874
|
/*!
|
|
35862
35875
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
35863
35876
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -35870,13 +35883,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('print
|
|
|
35870
35883
|
|
|
35871
35884
|
|
|
35872
35885
|
|
|
35873
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('redo', (
|
|
35874
|
-
|
|
35886
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('redo', (_icons_redo_svg__WEBPACK_IMPORTED_MODULE_5___default())).set('undo', (_icons_undo_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
35887
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.redo = {
|
|
35875
35888
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
35876
35889
|
isDisabled: (editor) => !editor.history.canRedo(),
|
|
35877
35890
|
tooltip: 'Redo'
|
|
35878
35891
|
};
|
|
35879
|
-
|
|
35892
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.undo = {
|
|
35880
35893
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
35881
35894
|
isDisabled: (editor) => !editor.history.canUndo(),
|
|
35882
35895
|
tooltip: 'Undo'
|
|
@@ -36895,9 +36908,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('resiz
|
|
|
36895
36908
|
|
|
36896
36909
|
"use strict";
|
|
36897
36910
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
36898
|
-
/* harmony import */ var
|
|
36899
|
-
/* harmony import */ var
|
|
36900
|
-
/* harmony import */ var
|
|
36911
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
36912
|
+
/* harmony import */ var _search_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(21917);
|
|
36913
|
+
/* harmony import */ var _search_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_search_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
36901
36914
|
/*!
|
|
36902
36915
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
36903
36916
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -36907,14 +36920,14 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('resiz
|
|
|
36907
36920
|
|
|
36908
36921
|
|
|
36909
36922
|
|
|
36910
|
-
|
|
36911
|
-
|
|
36923
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.useSearch = true;
|
|
36924
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.search = {
|
|
36912
36925
|
lazyIdleTimeout: 0,
|
|
36913
36926
|
// @ts-ignore Because Highlight is not defined in the types TS 5.3.3
|
|
36914
36927
|
useCustomHighlightAPI: typeof window.Highlight !== 'undefined'
|
|
36915
36928
|
};
|
|
36916
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('search', (
|
|
36917
|
-
|
|
36929
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('search', (_search_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
36930
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.find = {
|
|
36918
36931
|
tooltip: 'Find',
|
|
36919
36932
|
icon: 'search',
|
|
36920
36933
|
exec(jodit, _, { control }) {
|
|
@@ -38521,9 +38534,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('size'
|
|
|
38521
38534
|
"use strict";
|
|
38522
38535
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17352);
|
|
38523
38536
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(931);
|
|
38524
|
-
/* harmony import */ var
|
|
38525
|
-
/* harmony import */ var
|
|
38526
|
-
/* harmony import */ var
|
|
38537
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
38538
|
+
/* harmony import */ var _source_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9103);
|
|
38539
|
+
/* harmony import */ var _source_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_source_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
38527
38540
|
/*!
|
|
38528
38541
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
38529
38542
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -38533,9 +38546,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('size'
|
|
|
38533
38546
|
|
|
38534
38547
|
|
|
38535
38548
|
|
|
38536
|
-
|
|
38537
|
-
|
|
38538
|
-
|
|
38549
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.beautifyHTML = !jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.IS_IE;
|
|
38550
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditor = 'ace';
|
|
38551
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditorNativeOptions = {
|
|
38539
38552
|
/**
|
|
38540
38553
|
* Show gutter
|
|
38541
38554
|
*/
|
|
@@ -38557,15 +38570,15 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.sourceEditor
|
|
|
38557
38570
|
*/
|
|
38558
38571
|
highlightActiveLine: true
|
|
38559
38572
|
};
|
|
38560
|
-
|
|
38573
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditorCDNUrlsJS = [
|
|
38561
38574
|
'https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.2/ace.js'
|
|
38562
38575
|
];
|
|
38563
|
-
|
|
38576
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.beautifyHTMLCDNUrlsJS = [
|
|
38564
38577
|
'https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify.min.js',
|
|
38565
38578
|
'https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify-html.min.js'
|
|
38566
38579
|
];
|
|
38567
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('source', (
|
|
38568
|
-
|
|
38580
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('source', (_source_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
38581
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.source = {
|
|
38569
38582
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
38570
38583
|
exec: (editor) => {
|
|
38571
38584
|
editor.toggleMode();
|
|
@@ -39360,9 +39373,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('sourc
|
|
|
39360
39373
|
|
|
39361
39374
|
"use strict";
|
|
39362
39375
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
39363
|
-
/* harmony import */ var
|
|
39364
|
-
/* harmony import */ var
|
|
39365
|
-
/* harmony import */ var
|
|
39376
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
39377
|
+
/* harmony import */ var _spellcheck_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(49989);
|
|
39378
|
+
/* harmony import */ var _spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
39366
39379
|
/*!
|
|
39367
39380
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
39368
39381
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -39371,13 +39384,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('sourc
|
|
|
39371
39384
|
|
|
39372
39385
|
|
|
39373
39386
|
|
|
39374
|
-
|
|
39375
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('spellcheck', (
|
|
39376
|
-
|
|
39387
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.spellcheck = false;
|
|
39388
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('spellcheck', (_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
39389
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.spellcheck = {
|
|
39377
39390
|
isActive(e) {
|
|
39378
39391
|
return e.o.spellcheck;
|
|
39379
39392
|
},
|
|
39380
|
-
icon: (
|
|
39393
|
+
icon: (_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default()),
|
|
39381
39394
|
name: 'spellcheck',
|
|
39382
39395
|
command: 'toggleSpellcheck',
|
|
39383
39396
|
tooltip: 'Spellcheck'
|
|
@@ -39755,9 +39768,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('stick
|
|
|
39755
39768
|
|
|
39756
39769
|
"use strict";
|
|
39757
39770
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
39758
|
-
/* harmony import */ var
|
|
39759
|
-
/* harmony import */ var
|
|
39760
|
-
/* harmony import */ var
|
|
39771
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
39772
|
+
/* harmony import */ var _symbols_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(81875);
|
|
39773
|
+
/* harmony import */ var _symbols_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_symbols_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
39761
39774
|
/*!
|
|
39762
39775
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
39763
39776
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -39766,8 +39779,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('stick
|
|
|
39766
39779
|
|
|
39767
39780
|
|
|
39768
39781
|
|
|
39769
|
-
|
|
39770
|
-
|
|
39782
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.usePopupForSpecialCharacters = false;
|
|
39783
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.specialCharacters = [
|
|
39771
39784
|
'!',
|
|
39772
39785
|
'"',
|
|
39773
39786
|
'#',
|
|
@@ -39979,8 +39992,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.specialChara
|
|
|
39979
39992
|
'♦',
|
|
39980
39993
|
'≈'
|
|
39981
39994
|
];
|
|
39982
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('symbols', (
|
|
39983
|
-
|
|
39995
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('symbols', (_symbols_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
39996
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.symbols = {
|
|
39984
39997
|
hotkeys: ['ctrl+shift+i', 'cmd+shift+i'],
|
|
39985
39998
|
tooltip: 'Insert Special Character',
|
|
39986
39999
|
popup: (editor, current, close) => {
|
|
@@ -40572,9 +40585,9 @@ function findCell(editor, key) {
|
|
|
40572
40585
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65147);
|
|
40573
40586
|
/* harmony import */ var jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(97369);
|
|
40574
40587
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(931);
|
|
40575
|
-
/* harmony import */ var
|
|
40576
|
-
/* harmony import */ var
|
|
40577
|
-
/* harmony import */ var
|
|
40588
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
40589
|
+
/* harmony import */ var _table_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(67447);
|
|
40590
|
+
/* harmony import */ var _table_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_table_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
40578
40591
|
/*!
|
|
40579
40592
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
40580
40593
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -40586,12 +40599,12 @@ function findCell(editor, key) {
|
|
|
40586
40599
|
|
|
40587
40600
|
|
|
40588
40601
|
|
|
40589
|
-
|
|
40602
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.table = {
|
|
40590
40603
|
selectionCellStyle: 'border: 1px double #1e88e5 !important;',
|
|
40591
40604
|
useExtraClassesOptions: false
|
|
40592
40605
|
};
|
|
40593
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('table', (
|
|
40594
|
-
|
|
40606
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('table', (_table_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
40607
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.table = {
|
|
40595
40608
|
data: {
|
|
40596
40609
|
cols: 10,
|
|
40597
40610
|
rows: 10,
|
|
@@ -40758,10 +40771,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('table
|
|
|
40758
40771
|
/* harmony import */ var jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(35265);
|
|
40759
40772
|
/* harmony import */ var jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(20703);
|
|
40760
40773
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(931);
|
|
40761
|
-
/* harmony import */ var
|
|
40762
|
-
/* harmony import */ var
|
|
40763
|
-
/* harmony import */ var
|
|
40764
|
-
/* harmony import */ var
|
|
40774
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
40775
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(16116);
|
|
40776
|
+
/* harmony import */ var _video_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(36339);
|
|
40777
|
+
/* harmony import */ var _video_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_video_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
40765
40778
|
/*!
|
|
40766
40779
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
40767
40780
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -40774,8 +40787,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('table
|
|
|
40774
40787
|
|
|
40775
40788
|
|
|
40776
40789
|
|
|
40777
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('video', (
|
|
40778
|
-
|
|
40790
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('video', (_video_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
40791
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.video = {
|
|
40779
40792
|
popup: (editor, current, close) => {
|
|
40780
40793
|
const formLink = new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIForm */ .XV(editor, [
|
|
40781
40794
|
new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIBlock */ .Yh(editor, [
|
|
@@ -40822,7 +40835,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.prototype.controls.vid
|
|
|
40822
40835
|
formCode.onSubmit(data => {
|
|
40823
40836
|
insertCode(data.code);
|
|
40824
40837
|
});
|
|
40825
|
-
return (0,
|
|
40838
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__/* .TabsWidget */ .Zg)(editor, tabs);
|
|
40826
40839
|
},
|
|
40827
40840
|
tags: ['iframe'],
|
|
40828
40841
|
tooltip: 'Insert youtube/vimeo video'
|