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/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
|
|
@@ -19666,16 +19674,16 @@ async function loadTree(fb) {
|
|
|
19666
19674
|
/* harmony import */ var jodit_core_storage__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(63915);
|
|
19667
19675
|
/* harmony import */ var jodit_core_traits_dlgs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(58597);
|
|
19668
19676
|
/* harmony import */ var jodit_core_view_view_with_toolbar__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(14961);
|
|
19669
|
-
/* harmony import */ var
|
|
19677
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(36115);
|
|
19678
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(70265);
|
|
19670
19679
|
/* harmony import */ var _fetch_load_items__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(9979);
|
|
19671
|
-
/* harmony import */ var
|
|
19672
|
-
/* harmony import */ var
|
|
19673
|
-
/* harmony import */ var
|
|
19674
|
-
/* harmony import */ var
|
|
19675
|
-
/* harmony import */ var
|
|
19676
|
-
/* harmony import */ var
|
|
19677
|
-
/* harmony import */ var
|
|
19678
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(36115);
|
|
19680
|
+
/* harmony import */ var _fetch_load_tree__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(31859);
|
|
19681
|
+
/* harmony import */ var _listeners_native_listeners__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(62994);
|
|
19682
|
+
/* harmony import */ var _listeners_self_listeners__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(18043);
|
|
19683
|
+
/* harmony import */ var _listeners_state_listeners__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(80004);
|
|
19684
|
+
/* harmony import */ var _data_provider__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(75889);
|
|
19685
|
+
/* harmony import */ var _factories__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(83797);
|
|
19686
|
+
/* harmony import */ var _ui__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(10274);
|
|
19679
19687
|
/*!
|
|
19680
19688
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
19681
19689
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -19709,7 +19717,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
19709
19717
|
return 'FileBrowser';
|
|
19710
19718
|
}
|
|
19711
19719
|
get dataProvider() {
|
|
19712
|
-
return (0,
|
|
19720
|
+
return (0,_factories__WEBPACK_IMPORTED_MODULE_16__/* .makeDataProvider */ .S)(this, this.options);
|
|
19713
19721
|
}
|
|
19714
19722
|
// eslint-disable-next-line no-unused-vars
|
|
19715
19723
|
onSelect(callback) {
|
|
@@ -19823,7 +19831,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
19823
19831
|
this.__updateToolbarButtons();
|
|
19824
19832
|
this._dialog.open(this.browser, header);
|
|
19825
19833
|
this.e.fire('sort.filebrowser', this.state.sortBy);
|
|
19826
|
-
(0,
|
|
19834
|
+
(0,_fetch_load_tree__WEBPACK_IMPORTED_MODULE_11__/* .loadTree */ .r)(this)
|
|
19827
19835
|
.then(resolve, reject)
|
|
19828
19836
|
.finally(() => {
|
|
19829
19837
|
if (this.isInDestruct) {
|
|
@@ -19857,7 +19865,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
19857
19865
|
});
|
|
19858
19866
|
}
|
|
19859
19867
|
initUploader(editor) {
|
|
19860
|
-
const self = this, options = editor?.options?.uploader, uploaderOptions = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {},
|
|
19868
|
+
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);
|
|
19861
19869
|
const uploadHandler = () => (0,_fetch_load_items__WEBPACK_IMPORTED_MODULE_18__/* .loadItems */ .f)(this);
|
|
19862
19870
|
self.uploader = self.getInstance('Uploader', uploaderOptions);
|
|
19863
19871
|
self.uploader
|
|
@@ -19877,11 +19885,11 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
19877
19885
|
super(options);
|
|
19878
19886
|
this.browser = this.c.div(this.componentName);
|
|
19879
19887
|
this.status_line = this.c.div(this.getFullElName('status'));
|
|
19880
|
-
this.tree = new
|
|
19881
|
-
this.files = new
|
|
19888
|
+
this.tree = new _ui__WEBPACK_IMPORTED_MODULE_17__/* .FileBrowserTree */ .V(this);
|
|
19889
|
+
this.files = new _ui__WEBPACK_IMPORTED_MODULE_17__/* .FileBrowserFiles */ .Q(this);
|
|
19882
19890
|
this.state = (0,jodit_core_event_emitter__WEBPACK_IMPORTED_MODULE_4__/* .observable */ .sH)({
|
|
19883
19891
|
currentPath: '',
|
|
19884
|
-
currentSource:
|
|
19892
|
+
currentSource: _data_provider__WEBPACK_IMPORTED_MODULE_15__/* .DEFAULT_SOURCE_NAME */ .o,
|
|
19885
19893
|
currentBaseUrl: '',
|
|
19886
19894
|
activeElements: [],
|
|
19887
19895
|
elements: [],
|
|
@@ -19911,7 +19919,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
19911
19919
|
this.__prevButtons = [];
|
|
19912
19920
|
this.attachEvents(options);
|
|
19913
19921
|
const self = this;
|
|
19914
|
-
self.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {},
|
|
19922
|
+
self.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_9__/* .Config */ .T.defaultOptions.filebrowser);
|
|
19915
19923
|
self.browser.component = this;
|
|
19916
19924
|
self.container = self.browser;
|
|
19917
19925
|
if (self.o.showFoldersPanel) {
|
|
@@ -19919,9 +19927,9 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
19919
19927
|
}
|
|
19920
19928
|
self.browser.appendChild(self.files.container);
|
|
19921
19929
|
self.browser.appendChild(self.status_line);
|
|
19922
|
-
|
|
19923
|
-
|
|
19924
|
-
|
|
19930
|
+
_listeners_self_listeners__WEBPACK_IMPORTED_MODULE_13__/* .selfListeners */ .c.call(self);
|
|
19931
|
+
_listeners_native_listeners__WEBPACK_IMPORTED_MODULE_12__/* .nativeListeners */ .nW.call(self);
|
|
19932
|
+
_listeners_state_listeners__WEBPACK_IMPORTED_MODULE_14__/* .stateListeners */ .r.call(self);
|
|
19925
19933
|
const keys = [
|
|
19926
19934
|
'getLocalFileByUrl',
|
|
19927
19935
|
'crop',
|
|
@@ -20592,10 +20600,10 @@ class Command {
|
|
|
20592
20600
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(31635);
|
|
20593
20601
|
/* harmony import */ var jodit_core_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77753);
|
|
20594
20602
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(22664);
|
|
20603
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
20595
20604
|
/* harmony import */ var _command__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(84345);
|
|
20596
|
-
/* harmony import */ var
|
|
20605
|
+
/* harmony import */ var _snapshot__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(58770);
|
|
20597
20606
|
/* harmony import */ var _stack__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(66180);
|
|
20598
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
20599
20607
|
/*!
|
|
20600
20608
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
20601
20609
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -20608,7 +20616,7 @@ class Command {
|
|
|
20608
20616
|
|
|
20609
20617
|
|
|
20610
20618
|
|
|
20611
|
-
|
|
20619
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.history = {
|
|
20612
20620
|
enable: true,
|
|
20613
20621
|
maxHistoryLength: Infinity,
|
|
20614
20622
|
timeout: 1000
|
|
@@ -20659,7 +20667,7 @@ class History extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .ViewC
|
|
|
20659
20667
|
set startValue(value) {
|
|
20660
20668
|
this.__startValue = value;
|
|
20661
20669
|
}
|
|
20662
|
-
constructor(editor, stack = new _stack__WEBPACK_IMPORTED_MODULE_4__/* .Stack */ .B(editor.o.history.maxHistoryLength), snapshot = new
|
|
20670
|
+
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)) {
|
|
20663
20671
|
super(editor);
|
|
20664
20672
|
this.updateTick = 0;
|
|
20665
20673
|
this.__stack = stack;
|
|
@@ -20722,7 +20730,7 @@ class History extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .ViewC
|
|
|
20722
20730
|
*/
|
|
20723
20731
|
updateStack(replace = false) {
|
|
20724
20732
|
const newValue = this.snapshot.make();
|
|
20725
|
-
if (!
|
|
20733
|
+
if (!_snapshot__WEBPACK_IMPORTED_MODULE_3__/* .Snapshot */ .F.equal(newValue, this.startValue)) {
|
|
20726
20734
|
const newCommand = new _command__WEBPACK_IMPORTED_MODULE_5__/* .Command */ .u(this.startValue, newValue, this, this.updateTick);
|
|
20727
20735
|
if (replace) {
|
|
20728
20736
|
const command = this.__stack.current();
|
|
@@ -21055,11 +21063,11 @@ class Stack {
|
|
|
21055
21063
|
|
|
21056
21064
|
"use strict";
|
|
21057
21065
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
21058
|
-
/* harmony import */ var
|
|
21059
|
-
/* harmony import */ var
|
|
21060
|
-
/* harmony import */ var
|
|
21061
|
-
/* harmony import */ var
|
|
21062
|
-
/* harmony import */ var
|
|
21066
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
21067
|
+
/* harmony import */ var _icons_crop_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(928);
|
|
21068
|
+
/* harmony import */ var _icons_crop_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_icons_crop_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
21069
|
+
/* harmony import */ var _icons_resize_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(31230);
|
|
21070
|
+
/* harmony import */ var _icons_resize_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_resize_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
21063
21071
|
/*!
|
|
21064
21072
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
21065
21073
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -21069,7 +21077,7 @@ class Stack {
|
|
|
21069
21077
|
|
|
21070
21078
|
|
|
21071
21079
|
|
|
21072
|
-
|
|
21080
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.imageeditor = {
|
|
21073
21081
|
min_width: 20,
|
|
21074
21082
|
min_height: 20,
|
|
21075
21083
|
closeAfterSave: false,
|
|
@@ -21084,7 +21092,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.imageeditor
|
|
|
21084
21092
|
cropDefaultWidth: '70%',
|
|
21085
21093
|
cropDefaultHeight: '70%'
|
|
21086
21094
|
};
|
|
21087
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('crop', (
|
|
21095
|
+
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()));
|
|
21088
21096
|
|
|
21089
21097
|
|
|
21090
21098
|
/***/ }),
|
|
@@ -21103,9 +21111,9 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('crop', (_icon
|
|
|
21103
21111
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(71842);
|
|
21104
21112
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(65147);
|
|
21105
21113
|
/* harmony import */ var jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(35265);
|
|
21106
|
-
/* harmony import */ var
|
|
21107
|
-
/* harmony import */ var
|
|
21108
|
-
/* harmony import */ var
|
|
21114
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(36115);
|
|
21115
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(93027);
|
|
21116
|
+
/* harmony import */ var _templates_form__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(24863);
|
|
21109
21117
|
/*!
|
|
21110
21118
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
21111
21119
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -21565,7 +21573,7 @@ let ImageEditor = ImageEditor_1 = class ImageEditor extends jodit_core_component
|
|
|
21565
21573
|
this.options =
|
|
21566
21574
|
editor && editor.o && editor.o.imageeditor
|
|
21567
21575
|
? editor.o.imageeditor
|
|
21568
|
-
:
|
|
21576
|
+
: jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.defaultOptions.imageeditor;
|
|
21569
21577
|
const o = this.options;
|
|
21570
21578
|
this.resizeUseRatio = o.resizeUseRatio;
|
|
21571
21579
|
this.cropUseRatio = o.cropUseRatio;
|
|
@@ -21575,7 +21583,7 @@ let ImageEditor = ImageEditor_1 = class ImageEditor extends jodit_core_component
|
|
|
21575
21583
|
saveas: (0,jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_4__/* .Button */ .$n)(this.j, 'save', 'Save as ...')
|
|
21576
21584
|
};
|
|
21577
21585
|
this.activeTab = o.resize ? TABS.resize : TABS.crop;
|
|
21578
|
-
this.editor = (0,
|
|
21586
|
+
this.editor = (0,_templates_form__WEBPACK_IMPORTED_MODULE_7__/* .form */ .Z)(this.j, this.options);
|
|
21579
21587
|
const { resizeBox, cropBox } = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.refs)(this.editor);
|
|
21580
21588
|
this.resize_box = resizeBox;
|
|
21581
21589
|
this.crop_box = cropBox;
|
|
@@ -22991,7 +22999,8 @@ let ToolbarButton = class ToolbarButton extends jodit_core_ui_button__WEBPACK_IM
|
|
|
22991
22999
|
}
|
|
22992
23000
|
createContainer() {
|
|
22993
23001
|
const cn = this.componentName;
|
|
22994
|
-
const container = this.j.c.span(cn)
|
|
23002
|
+
const container = this.j.c.span(cn);
|
|
23003
|
+
const button = super.createContainer();
|
|
22995
23004
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.attr)(container, 'role', 'listitem');
|
|
22996
23005
|
button.classList.remove(cn);
|
|
22997
23006
|
button.classList.add(cn + '__button');
|
|
@@ -23380,8 +23389,9 @@ ToolbarContent = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
|
23380
23389
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
23381
23390
|
/* harmony export */ q: function() { return /* binding */ ToolbarSelect; }
|
|
23382
23391
|
/* harmony export */ });
|
|
23383
|
-
/* harmony import */ var
|
|
23392
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(31635);
|
|
23384
23393
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(22664);
|
|
23394
|
+
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25376);
|
|
23385
23395
|
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(98253);
|
|
23386
23396
|
/* harmony import */ var _button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3258);
|
|
23387
23397
|
/*!
|
|
@@ -23394,6 +23404,7 @@ ToolbarContent = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
|
23394
23404
|
|
|
23395
23405
|
|
|
23396
23406
|
|
|
23407
|
+
|
|
23397
23408
|
let ToolbarSelect = class ToolbarSelect extends _button__WEBPACK_IMPORTED_MODULE_1__/* .ToolbarButton */ .I {
|
|
23398
23409
|
className() {
|
|
23399
23410
|
return 'ToolbarSelect';
|
|
@@ -23411,13 +23422,13 @@ let ToolbarSelect = class ToolbarSelect extends _button__WEBPACK_IMPORTED_MODULE
|
|
|
23411
23422
|
const keys = Object.keys(list);
|
|
23412
23423
|
key = keys[0];
|
|
23413
23424
|
}
|
|
23414
|
-
const text = (list[key.toString()] || key).toString();
|
|
23425
|
+
const text = ((0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_3__/* .isPlainObject */ .Q)(list) ? list[key.toString()] || key : key).toString();
|
|
23415
23426
|
this.state.text =
|
|
23416
23427
|
this.control.textTemplate?.(this.jodit, text) ?? text;
|
|
23417
23428
|
}
|
|
23418
23429
|
}
|
|
23419
23430
|
};
|
|
23420
|
-
ToolbarSelect = (0,
|
|
23431
|
+
ToolbarSelect = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
23421
23432
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.component
|
|
23422
23433
|
], ToolbarSelect);
|
|
23423
23434
|
|
|
@@ -24249,9 +24260,9 @@ function send(uploader, data) {
|
|
|
24249
24260
|
/* harmony import */ var jodit_core_component___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77753);
|
|
24250
24261
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(17352);
|
|
24251
24262
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65147);
|
|
24252
|
-
/* harmony import */ var
|
|
24253
|
-
/* harmony import */ var
|
|
24254
|
-
/* harmony import */ var
|
|
24263
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
24264
|
+
/* harmony import */ var jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(74340);
|
|
24265
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(77334);
|
|
24255
24266
|
/*!
|
|
24256
24267
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
24257
24268
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -24323,14 +24334,14 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
24323
24334
|
}
|
|
24324
24335
|
};
|
|
24325
24336
|
// send data on server
|
|
24326
|
-
if (!jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && (0,
|
|
24327
|
-
(0,
|
|
24337
|
+
if (!jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && (0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(cData)) {
|
|
24338
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, cData.files, handlerSuccess, handlerError).finally(onFinally);
|
|
24328
24339
|
return false;
|
|
24329
24340
|
}
|
|
24330
24341
|
if (jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && !jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_ES_NEXT) {
|
|
24331
|
-
return (0,
|
|
24342
|
+
return (0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .processOldBrowserDrag */ .dT)(self, cData, handlerSuccess, handlerError, onFinally);
|
|
24332
24343
|
}
|
|
24333
|
-
if ((0,
|
|
24344
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasItems */ .Pb)(cData)) {
|
|
24334
24345
|
const { items } = cData;
|
|
24335
24346
|
for (i = 0; i < items.length; i += 1) {
|
|
24336
24347
|
if (items[i].kind === 'file' &&
|
|
@@ -24341,7 +24352,7 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
24341
24352
|
extension = mime[1]
|
|
24342
24353
|
? mime[1].toLowerCase()
|
|
24343
24354
|
: '';
|
|
24344
|
-
(0,
|
|
24355
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, [file], handlerSuccess, handlerError, processData).finally(onFinally);
|
|
24345
24356
|
}
|
|
24346
24357
|
e.preventDefault();
|
|
24347
24358
|
break;
|
|
@@ -24364,30 +24375,30 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
24364
24375
|
e.preventDefault();
|
|
24365
24376
|
})
|
|
24366
24377
|
.on(form, 'dragover', (event) => {
|
|
24367
|
-
if ((0,
|
|
24368
|
-
(0,
|
|
24378
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer) ||
|
|
24379
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasItems */ .Pb)(event.dataTransfer)) {
|
|
24369
24380
|
form.classList.add('jodit_drag_hover');
|
|
24370
24381
|
event.preventDefault();
|
|
24371
24382
|
}
|
|
24372
24383
|
})
|
|
24373
24384
|
.on(form, 'dragend dragleave', (event) => {
|
|
24374
24385
|
form.classList.remove('jodit_drag_hover');
|
|
24375
|
-
if ((0,
|
|
24386
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer)) {
|
|
24376
24387
|
event.preventDefault();
|
|
24377
24388
|
}
|
|
24378
24389
|
})
|
|
24379
24390
|
.on(form, 'drop', (event) => {
|
|
24380
24391
|
form.classList.remove('jodit_drag_hover');
|
|
24381
|
-
if ((0,
|
|
24392
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer)) {
|
|
24382
24393
|
event.preventDefault();
|
|
24383
24394
|
event.stopImmediatePropagation();
|
|
24384
|
-
(0,
|
|
24395
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, event.dataTransfer.files, handlerSuccess, handlerError).finally(onFinally);
|
|
24385
24396
|
}
|
|
24386
24397
|
});
|
|
24387
24398
|
const inputFile = form.querySelector('input[type=file]');
|
|
24388
24399
|
if (inputFile) {
|
|
24389
24400
|
self.j.e.on(inputFile, 'change', () => {
|
|
24390
|
-
(0,
|
|
24401
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, inputFile.files, handlerSuccess, handlerError)
|
|
24391
24402
|
.then(() => {
|
|
24392
24403
|
inputFile.value = '';
|
|
24393
24404
|
if (!/safari/i.test(navigator.userAgent)) {
|
|
@@ -24407,7 +24418,7 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
24407
24418
|
const handlerE = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isFunction)(handlerError)
|
|
24408
24419
|
? handlerError
|
|
24409
24420
|
: o.defaultHandlerError;
|
|
24410
|
-
(0,
|
|
24421
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .send */ .tN)(uploader, {
|
|
24411
24422
|
action: 'fileUploadRemote',
|
|
24412
24423
|
url
|
|
24413
24424
|
})
|
|
@@ -24427,11 +24438,11 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
24427
24438
|
super(editor);
|
|
24428
24439
|
this.path = '';
|
|
24429
24440
|
this.source = 'default';
|
|
24430
|
-
this.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(options || {}, (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(
|
|
24441
|
+
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 : {}));
|
|
24431
24442
|
}
|
|
24432
24443
|
destruct() {
|
|
24433
24444
|
this.setStatus(jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .STATUSES */ .f.beforeDestruct);
|
|
24434
|
-
const instances =
|
|
24445
|
+
const instances = jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .ajaxInstances */ .$j.get(this);
|
|
24435
24446
|
if (instances) {
|
|
24436
24447
|
instances.forEach(ajax => {
|
|
24437
24448
|
try {
|
|
@@ -24860,9 +24871,9 @@ const TabsWidget = (jodit, tabs, state) => {
|
|
|
24860
24871
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
24861
24872
|
/* harmony import */ var jodit_core_helpers___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65147);
|
|
24862
24873
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(931);
|
|
24863
|
-
/* harmony import */ var
|
|
24864
|
-
/* harmony import */ var
|
|
24865
|
-
/* harmony import */ var
|
|
24874
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
24875
|
+
/* harmony import */ var _about_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(17995);
|
|
24876
|
+
/* harmony import */ var _about_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_about_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
24866
24877
|
/*!
|
|
24867
24878
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
24868
24879
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -24876,7 +24887,7 @@ const TabsWidget = (jodit, tabs, state) => {
|
|
|
24876
24887
|
|
|
24877
24888
|
|
|
24878
24889
|
|
|
24879
|
-
|
|
24890
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.about = {
|
|
24880
24891
|
exec: (editor) => {
|
|
24881
24892
|
const dialog = editor.dlg({ closeOnClickOverlay: true }), i = editor.i18n.bind(editor);
|
|
24882
24893
|
dialog
|
|
@@ -24912,7 +24923,7 @@ function about(editor) {
|
|
|
24912
24923
|
});
|
|
24913
24924
|
}
|
|
24914
24925
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('about', about);
|
|
24915
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('about', (
|
|
24926
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('about', (_about_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
24916
24927
|
|
|
24917
24928
|
|
|
24918
24929
|
/***/ }),
|
|
@@ -25155,9 +25166,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('addNe
|
|
|
25155
25166
|
|
|
25156
25167
|
"use strict";
|
|
25157
25168
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
25158
|
-
/* harmony import */ var
|
|
25159
|
-
/* harmony import */ var
|
|
25160
|
-
/* harmony import */ var
|
|
25169
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
25170
|
+
/* harmony import */ var _enter_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(86634);
|
|
25171
|
+
/* harmony import */ var _enter_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_enter_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
25161
25172
|
/*!
|
|
25162
25173
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
25163
25174
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -25166,9 +25177,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('addNe
|
|
|
25166
25177
|
|
|
25167
25178
|
|
|
25168
25179
|
|
|
25169
|
-
|
|
25170
|
-
|
|
25171
|
-
|
|
25180
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLine = true;
|
|
25181
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineOnDBLClick = true;
|
|
25182
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineTagsTriggers = [
|
|
25172
25183
|
'table',
|
|
25173
25184
|
'iframe',
|
|
25174
25185
|
'img',
|
|
@@ -25176,8 +25187,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.addNewLineTa
|
|
|
25176
25187
|
'pre',
|
|
25177
25188
|
'jodit'
|
|
25178
25189
|
];
|
|
25179
|
-
|
|
25180
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (
|
|
25190
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineDeltaShow = 20;
|
|
25191
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (_enter_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
25181
25192
|
|
|
25182
25193
|
|
|
25183
25194
|
/***/ }),
|
|
@@ -25315,11 +25326,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('ai-as
|
|
|
25315
25326
|
|
|
25316
25327
|
"use strict";
|
|
25317
25328
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
25318
|
-
/* harmony import */ var
|
|
25319
|
-
/* harmony import */ var
|
|
25320
|
-
/* harmony import */ var
|
|
25321
|
-
/* harmony import */ var
|
|
25322
|
-
/* harmony import */ var
|
|
25329
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
25330
|
+
/* harmony import */ var _ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91115);
|
|
25331
|
+
/* harmony import */ var _ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
25332
|
+
/* harmony import */ var _chat_bot_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1916);
|
|
25333
|
+
/* harmony import */ var _chat_bot_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_chat_bot_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
25323
25334
|
/*!
|
|
25324
25335
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
25325
25336
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -25360,10 +25371,10 @@ const aiAssistantDefaults = {
|
|
|
25360
25371
|
aiTranslateToRussianPrompt: 'Translate this content into Russian, ensuring the translation is accurate and maintains the original meaning.',
|
|
25361
25372
|
aiTranslateToArabicPrompt: 'Translate this content into Arabic, ensuring the translation is accurate and maintains the original meaning.'
|
|
25362
25373
|
};
|
|
25363
|
-
|
|
25364
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-assistant', (
|
|
25365
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-commands', (
|
|
25366
|
-
|
|
25374
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.aiAssistant = aiAssistantDefaults;
|
|
25375
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-assistant', (_chat_bot_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
25376
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-commands', (_ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
25377
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls['ai-commands'] = {
|
|
25367
25378
|
isDisabled(editor) {
|
|
25368
25379
|
return !editor.o.aiAssistant.aiAssistantCallback;
|
|
25369
25380
|
},
|
|
@@ -25401,7 +25412,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls['ai
|
|
|
25401
25412
|
editor.e.fire('generateAiAssistantForm.ai-assistant', control.name);
|
|
25402
25413
|
}
|
|
25403
25414
|
};
|
|
25404
|
-
|
|
25415
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls['ai-assistant'] = {
|
|
25405
25416
|
isDisabled(editor) {
|
|
25406
25417
|
return !editor.o.aiAssistant.aiAssistantCallback;
|
|
25407
25418
|
},
|
|
@@ -26038,6 +26049,10 @@ function checkRemoveChar(jodit, fakeNode, backspace, mode) {
|
|
|
26038
26049
|
}
|
|
26039
26050
|
if (sibling.nodeValue?.length) {
|
|
26040
26051
|
removed = tryRemoveChar(sibling, backspace, step, anotherSibling);
|
|
26052
|
+
if (!sibling.nodeValue.length &&
|
|
26053
|
+
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.isInlineBlock(sibling.parentNode)) {
|
|
26054
|
+
sibling.nodeValue = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INVISIBLE_SPACE;
|
|
26055
|
+
}
|
|
26041
26056
|
}
|
|
26042
26057
|
if (!sibling.nodeValue?.length) {
|
|
26043
26058
|
removeNeighbor = sibling;
|
|
@@ -26590,20 +26605,20 @@ function getMoveFilter(jodit) {
|
|
|
26590
26605
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(56298);
|
|
26591
26606
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65147);
|
|
26592
26607
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(931);
|
|
26593
|
-
/* harmony import */ var
|
|
26594
|
-
/* harmony import */ var
|
|
26595
|
-
/* harmony import */ var
|
|
26596
|
-
/* harmony import */ var
|
|
26597
|
-
/* harmony import */ var
|
|
26598
|
-
/* harmony import */ var
|
|
26599
|
-
/* harmony import */ var
|
|
26600
|
-
/* harmony import */ var
|
|
26601
|
-
/* harmony import */ var
|
|
26602
|
-
/* harmony import */ var
|
|
26603
|
-
/* harmony import */ var
|
|
26604
|
-
/* harmony import */ var
|
|
26605
|
-
/* harmony import */ var
|
|
26606
|
-
/* harmony import */ var
|
|
26608
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
26609
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(73124);
|
|
26610
|
+
/* harmony import */ var _icons_bold_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(52450);
|
|
26611
|
+
/* harmony import */ var _icons_bold_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_bold_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
26612
|
+
/* harmony import */ var _icons_italic_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(41111);
|
|
26613
|
+
/* harmony import */ var _icons_italic_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_icons_italic_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
26614
|
+
/* harmony import */ var _icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(49972);
|
|
26615
|
+
/* harmony import */ var _icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7__);
|
|
26616
|
+
/* harmony import */ var _icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(45062);
|
|
26617
|
+
/* harmony import */ var _icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8__);
|
|
26618
|
+
/* harmony import */ var _icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(18605);
|
|
26619
|
+
/* harmony import */ var _icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9__);
|
|
26620
|
+
/* harmony import */ var _icons_underline_svg__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(83389);
|
|
26621
|
+
/* harmony import */ var _icons_underline_svg__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_icons_underline_svg__WEBPACK_IMPORTED_MODULE_10__);
|
|
26607
26622
|
/*!
|
|
26608
26623
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
26609
26624
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -26626,7 +26641,7 @@ function getMoveFilter(jodit) {
|
|
|
26626
26641
|
*/
|
|
26627
26642
|
function bold(editor) {
|
|
26628
26643
|
const callBack = (command) => {
|
|
26629
|
-
const control =
|
|
26644
|
+
const control = jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.defaultOptions.controls[command], cssOptions = {
|
|
26630
26645
|
...control.css
|
|
26631
26646
|
};
|
|
26632
26647
|
let cssRules;
|
|
@@ -26680,12 +26695,12 @@ function bold(editor) {
|
|
|
26680
26695
|
});
|
|
26681
26696
|
}
|
|
26682
26697
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('bold', bold);
|
|
26683
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('bold', (
|
|
26684
|
-
.set('italic', (
|
|
26685
|
-
.set('strikethrough', (
|
|
26686
|
-
.set('subscript', (
|
|
26687
|
-
.set('superscript', (
|
|
26688
|
-
.set('underline', (
|
|
26698
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('bold', (_icons_bold_svg__WEBPACK_IMPORTED_MODULE_5___default()))
|
|
26699
|
+
.set('italic', (_icons_italic_svg__WEBPACK_IMPORTED_MODULE_6___default()))
|
|
26700
|
+
.set('strikethrough', (_icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7___default()))
|
|
26701
|
+
.set('subscript', (_icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8___default()))
|
|
26702
|
+
.set('superscript', (_icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9___default()))
|
|
26703
|
+
.set('underline', (_icons_underline_svg__WEBPACK_IMPORTED_MODULE_10___default()));
|
|
26689
26704
|
|
|
26690
26705
|
|
|
26691
26706
|
/***/ }),
|
|
@@ -26755,9 +26770,9 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.controls.str
|
|
|
26755
26770
|
/* harmony import */ var jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(84976);
|
|
26756
26771
|
/* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(71005);
|
|
26757
26772
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(931);
|
|
26758
|
-
/* harmony import */ var
|
|
26759
|
-
/* harmony import */ var
|
|
26760
|
-
/* harmony import */ var
|
|
26773
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(36115);
|
|
26774
|
+
/* harmony import */ var _class_span_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(93267);
|
|
26775
|
+
/* harmony import */ var _class_span_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_class_span_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
26761
26776
|
/*!
|
|
26762
26777
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
26763
26778
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -26770,7 +26785,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.controls.str
|
|
|
26770
26785
|
|
|
26771
26786
|
|
|
26772
26787
|
|
|
26773
|
-
|
|
26788
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.classSpan = {
|
|
26774
26789
|
command: 'applyClassName',
|
|
26775
26790
|
exec: jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_2__/* .memorizeExec */ .qN,
|
|
26776
26791
|
list: [
|
|
@@ -26858,7 +26873,7 @@ class classSpan extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_3__/* .Plugin
|
|
|
26858
26873
|
beforeDestruct() { }
|
|
26859
26874
|
}
|
|
26860
26875
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('classSpan', classSpan);
|
|
26861
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('class-span', (
|
|
26876
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('class-span', (_class_span_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
26862
26877
|
|
|
26863
26878
|
|
|
26864
26879
|
/***/ }),
|
|
@@ -26997,9 +27012,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('clean
|
|
|
26997
27012
|
|
|
26998
27013
|
"use strict";
|
|
26999
27014
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
27000
|
-
/* harmony import */ var
|
|
27001
|
-
/* harmony import */ var
|
|
27002
|
-
/* harmony import */ var
|
|
27015
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
27016
|
+
/* harmony import */ var _eraser_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(71948);
|
|
27017
|
+
/* harmony import */ var _eraser_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_eraser_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
27003
27018
|
/*!
|
|
27004
27019
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27005
27020
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27008,7 +27023,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('clean
|
|
|
27008
27023
|
|
|
27009
27024
|
|
|
27010
27025
|
|
|
27011
|
-
|
|
27026
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.cleanHTML = {
|
|
27012
27027
|
timeout: 300,
|
|
27013
27028
|
removeEmptyElements: true,
|
|
27014
27029
|
fillEmptyParagraph: true,
|
|
@@ -27024,11 +27039,11 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.cleanHTML =
|
|
|
27024
27039
|
safeJavaScriptLink: true,
|
|
27025
27040
|
disableCleanFilter: null
|
|
27026
27041
|
};
|
|
27027
|
-
|
|
27042
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.eraser = {
|
|
27028
27043
|
command: 'removeFormat',
|
|
27029
27044
|
tooltip: 'Clear Formatting'
|
|
27030
27045
|
};
|
|
27031
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('eraser', (
|
|
27046
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('eraser', (_eraser_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
27032
27047
|
|
|
27033
27048
|
|
|
27034
27049
|
/***/ }),
|
|
@@ -27694,15 +27709,15 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('clipb
|
|
|
27694
27709
|
|
|
27695
27710
|
"use strict";
|
|
27696
27711
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
27697
|
-
/* harmony import */ var
|
|
27698
|
-
/* harmony import */ var
|
|
27699
|
-
/* harmony import */ var
|
|
27700
|
-
/* harmony import */ var
|
|
27701
|
-
/* harmony import */ var
|
|
27702
|
-
/* harmony import */ var
|
|
27703
|
-
/* harmony import */ var
|
|
27704
|
-
/* harmony import */ var
|
|
27705
|
-
/* harmony import */ var
|
|
27712
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
27713
|
+
/* harmony import */ var _icons_copy_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(51457);
|
|
27714
|
+
/* harmony import */ var _icons_copy_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_icons_copy_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
27715
|
+
/* harmony import */ var _icons_cut_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(23602);
|
|
27716
|
+
/* harmony import */ var _icons_cut_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_cut_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
27717
|
+
/* harmony import */ var _icons_paste_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(86899);
|
|
27718
|
+
/* harmony import */ var _icons_paste_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_paste_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
27719
|
+
/* harmony import */ var _icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(95320);
|
|
27720
|
+
/* harmony import */ var _icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
27706
27721
|
/*!
|
|
27707
27722
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27708
27723
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27714,25 +27729,25 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('clipb
|
|
|
27714
27729
|
|
|
27715
27730
|
|
|
27716
27731
|
|
|
27717
|
-
|
|
27732
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.cut = {
|
|
27718
27733
|
command: 'cut',
|
|
27719
27734
|
isDisabled: (editor) => editor.s.isCollapsed(),
|
|
27720
27735
|
tooltip: 'Cut selection'
|
|
27721
27736
|
};
|
|
27722
|
-
|
|
27737
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.copy = {
|
|
27723
27738
|
command: 'copy',
|
|
27724
27739
|
isDisabled: (editor) => editor.s.isCollapsed(),
|
|
27725
27740
|
tooltip: 'Copy selection'
|
|
27726
27741
|
};
|
|
27727
|
-
|
|
27742
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.selectall = {
|
|
27728
27743
|
icon: 'select-all',
|
|
27729
27744
|
command: 'selectall',
|
|
27730
27745
|
tooltip: 'Select all'
|
|
27731
27746
|
};
|
|
27732
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('copy', (
|
|
27733
|
-
.set('cut', (
|
|
27734
|
-
.set('paste', (
|
|
27735
|
-
.set('select-all', (
|
|
27747
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('copy', (_icons_copy_svg__WEBPACK_IMPORTED_MODULE_2___default()))
|
|
27748
|
+
.set('cut', (_icons_cut_svg__WEBPACK_IMPORTED_MODULE_3___default()))
|
|
27749
|
+
.set('paste', (_icons_paste_svg__WEBPACK_IMPORTED_MODULE_4___default()))
|
|
27750
|
+
.set('select-all', (_icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
27736
27751
|
|
|
27737
27752
|
|
|
27738
27753
|
/***/ }),
|
|
@@ -27804,10 +27819,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('color
|
|
|
27804
27819
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55186);
|
|
27805
27820
|
/* harmony import */ var jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65147);
|
|
27806
27821
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(931);
|
|
27807
|
-
/* harmony import */ var
|
|
27808
|
-
/* harmony import */ var
|
|
27809
|
-
/* harmony import */ var
|
|
27810
|
-
/* harmony import */ var
|
|
27822
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
27823
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(16116);
|
|
27824
|
+
/* harmony import */ var _brush_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(45674);
|
|
27825
|
+
/* harmony import */ var _brush_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_brush_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
27811
27826
|
/*!
|
|
27812
27827
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27813
27828
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27819,8 +27834,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('color
|
|
|
27819
27834
|
|
|
27820
27835
|
|
|
27821
27836
|
|
|
27822
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('brush', (
|
|
27823
|
-
|
|
27837
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('brush', (_brush_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
27838
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.brushCell = {
|
|
27824
27839
|
isVisible: (editor) => {
|
|
27825
27840
|
return !editor.o.disablePlugins.includes('color');
|
|
27826
27841
|
},
|
|
@@ -27833,7 +27848,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
27833
27848
|
if (!selected.length) {
|
|
27834
27849
|
return false;
|
|
27835
27850
|
}
|
|
27836
|
-
const makeColorPicker = (key) => (0,
|
|
27851
|
+
const makeColorPicker = (key) => (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, (value) => {
|
|
27837
27852
|
selected.forEach(cell => {
|
|
27838
27853
|
(0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.css)(cell, key, value);
|
|
27839
27854
|
});
|
|
@@ -27842,7 +27857,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
27842
27857
|
close();
|
|
27843
27858
|
editor.unlock();
|
|
27844
27859
|
}, (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.css)(selected[0], key));
|
|
27845
|
-
return (0,
|
|
27860
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .TabsWidget */ .Zg)(editor, [
|
|
27846
27861
|
{
|
|
27847
27862
|
name: 'Background',
|
|
27848
27863
|
content: makeColorPicker('background-color')
|
|
@@ -27853,7 +27868,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
27853
27868
|
},
|
|
27854
27869
|
tooltip: 'Background'
|
|
27855
27870
|
};
|
|
27856
|
-
|
|
27871
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.brush = {
|
|
27857
27872
|
isVisible: (editor) => {
|
|
27858
27873
|
return !editor.o.disablePlugins.includes('color');
|
|
27859
27874
|
},
|
|
@@ -27901,7 +27916,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
27901
27916
|
}
|
|
27902
27917
|
}, editor.editor);
|
|
27903
27918
|
}
|
|
27904
|
-
const backgroundTag = (0,
|
|
27919
|
+
const backgroundTag = (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, (value) => {
|
|
27905
27920
|
if (!currentElement) {
|
|
27906
27921
|
editor.execCommand('background', false, value);
|
|
27907
27922
|
}
|
|
@@ -27912,7 +27927,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
27912
27927
|
(0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.dataBind)(button, 'color-mode', 'background');
|
|
27913
27928
|
close();
|
|
27914
27929
|
}, bg_color);
|
|
27915
|
-
const colorTab = (0,
|
|
27930
|
+
const colorTab = (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, (value) => {
|
|
27916
27931
|
if (!currentElement) {
|
|
27917
27932
|
editor.execCommand('forecolor', false, value);
|
|
27918
27933
|
}
|
|
@@ -27936,7 +27951,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
27936
27951
|
if (editor.o.colorPickerDefaultTab !== 'background') {
|
|
27937
27952
|
tabs = tabs.reverse();
|
|
27938
27953
|
}
|
|
27939
|
-
return (0,
|
|
27954
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .TabsWidget */ .Zg)(editor, tabs, currentElement);
|
|
27940
27955
|
},
|
|
27941
27956
|
exec(jodit, current, { button }) {
|
|
27942
27957
|
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');
|
|
@@ -27975,10 +27990,10 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
27975
27990
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
27976
27991
|
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38322);
|
|
27977
27992
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(931);
|
|
27978
|
-
/* harmony import */ var
|
|
27979
|
-
/* harmony import */ var
|
|
27980
|
-
/* harmony import */ var
|
|
27981
|
-
/* harmony import */ var
|
|
27993
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
27994
|
+
/* harmony import */ var _copy_format_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(3843);
|
|
27995
|
+
/* harmony import */ var _copy_format_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_copy_format_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
27996
|
+
/* harmony import */ var _langs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(94628);
|
|
27982
27997
|
/*!
|
|
27983
27998
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27984
27999
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -28036,7 +28051,7 @@ const getStyles = (editor, box, defaultStyles) => {
|
|
|
28036
28051
|
}
|
|
28037
28052
|
return result;
|
|
28038
28053
|
};
|
|
28039
|
-
|
|
28054
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.copyformat = {
|
|
28040
28055
|
exec: (editor, current, { button }) => {
|
|
28041
28056
|
if (!current) {
|
|
28042
28057
|
return;
|
|
@@ -28086,10 +28101,10 @@ function copyFormat(editor) {
|
|
|
28086
28101
|
name: 'copyformat',
|
|
28087
28102
|
group: 'clipboard'
|
|
28088
28103
|
});
|
|
28089
|
-
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .extendLang */ .JW)(
|
|
28104
|
+
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .extendLang */ .JW)(_langs__WEBPACK_IMPORTED_MODULE_5__);
|
|
28090
28105
|
}
|
|
28091
28106
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('copyformat', copyFormat);
|
|
28092
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('copyformat', (
|
|
28107
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('copyformat', (_copy_format_svg__WEBPACK_IMPORTED_MODULE_4___default()));
|
|
28093
28108
|
|
|
28094
28109
|
|
|
28095
28110
|
/***/ }),
|
|
@@ -29897,8 +29912,8 @@ function wrapText(fake, jodit) {
|
|
|
29897
29912
|
/* unused harmony export file */
|
|
29898
29913
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55186);
|
|
29899
29914
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
29900
|
-
/* harmony import */ var
|
|
29901
|
-
/* harmony import */ var
|
|
29915
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
29916
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(16116);
|
|
29902
29917
|
/*!
|
|
29903
29918
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
29904
29919
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -29908,7 +29923,7 @@ function wrapText(fake, jodit) {
|
|
|
29908
29923
|
|
|
29909
29924
|
|
|
29910
29925
|
|
|
29911
|
-
|
|
29926
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.file = {
|
|
29912
29927
|
popup: (editor, current, close) => {
|
|
29913
29928
|
const insert = (url, title = '') => {
|
|
29914
29929
|
editor.s.insertNode(editor.createInside.fromHTML(`<a href="${url}" title="${title}">${title || url}</a>`));
|
|
@@ -29921,7 +29936,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fil
|
|
|
29921
29936
|
? current
|
|
29922
29937
|
: jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor);
|
|
29923
29938
|
}
|
|
29924
|
-
return (0,
|
|
29939
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_3__/* .FileSelectorWidget */ .kG)(editor, {
|
|
29925
29940
|
filebrowser: (data) => {
|
|
29926
29941
|
data.files &&
|
|
29927
29942
|
data.files.forEach(file => insert(data.baseurl + file));
|
|
@@ -30044,11 +30059,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('focus
|
|
|
30044
30059
|
/* harmony import */ var jodit_core_helpers_string_trim__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(59101);
|
|
30045
30060
|
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38322);
|
|
30046
30061
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(931);
|
|
30047
|
-
/* harmony import */ var
|
|
30048
|
-
/* harmony import */ var
|
|
30049
|
-
/* harmony import */ var
|
|
30050
|
-
/* harmony import */ var
|
|
30051
|
-
/* harmony import */ var
|
|
30062
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
30063
|
+
/* harmony import */ var _icons_font_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(48842);
|
|
30064
|
+
/* harmony import */ var _icons_font_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_font_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
30065
|
+
/* harmony import */ var _icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(25501);
|
|
30066
|
+
/* harmony import */ var _icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
30052
30067
|
/*!
|
|
30053
30068
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30054
30069
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30064,9 +30079,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('focus
|
|
|
30064
30079
|
/**
|
|
30065
30080
|
* Default font-size points
|
|
30066
30081
|
*/
|
|
30067
|
-
|
|
30068
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('font', (
|
|
30069
|
-
|
|
30082
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.defaultFontSizePoints = 'px';
|
|
30083
|
+
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()));
|
|
30084
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fontsize = {
|
|
30070
30085
|
command: 'fontsize',
|
|
30071
30086
|
data: {
|
|
30072
30087
|
cssRule: 'font-size',
|
|
@@ -30122,8 +30137,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.fon
|
|
|
30122
30137
|
return keySet.has(normalize(value.toString()));
|
|
30123
30138
|
}
|
|
30124
30139
|
};
|
|
30125
|
-
|
|
30126
|
-
...
|
|
30140
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.font = {
|
|
30141
|
+
...jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fontsize,
|
|
30127
30142
|
command: 'fontname',
|
|
30128
30143
|
textTemplate: (j, value) => {
|
|
30129
30144
|
const [first] = value.split(',');
|
|
@@ -30233,11 +30248,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('font'
|
|
|
30233
30248
|
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
30234
30249
|
|
|
30235
30250
|
"use strict";
|
|
30236
|
-
/* harmony import */ var
|
|
30251
|
+
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55186);
|
|
30252
|
+
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(25376);
|
|
30237
30253
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(931);
|
|
30238
|
-
/* harmony import */ var
|
|
30239
|
-
/* harmony import */ var
|
|
30240
|
-
/* harmony import */ var
|
|
30254
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
30255
|
+
/* harmony import */ var _paragraph_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(29348);
|
|
30256
|
+
/* harmony import */ var _paragraph_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_paragraph_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
30241
30257
|
/*!
|
|
30242
30258
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30243
30259
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30247,12 +30263,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('font'
|
|
|
30247
30263
|
|
|
30248
30264
|
|
|
30249
30265
|
|
|
30250
|
-
|
|
30251
|
-
|
|
30266
|
+
|
|
30267
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('paragraph', (_paragraph_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
30268
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.paragraph = {
|
|
30252
30269
|
command: 'formatBlock',
|
|
30253
30270
|
value(editor, button) {
|
|
30254
30271
|
const control = button.control, current = editor.s.current();
|
|
30255
|
-
const currentBox =
|
|
30272
|
+
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);
|
|
30256
30273
|
return currentBox?.nodeName.toLowerCase() ?? control.data?.currentValue;
|
|
30257
30274
|
},
|
|
30258
30275
|
update(editor, button) {
|
|
@@ -30261,7 +30278,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.par
|
|
|
30261
30278
|
return false;
|
|
30262
30279
|
}
|
|
30263
30280
|
const currentValue = button.state.value, list = control.list;
|
|
30264
|
-
if (list && list[currentValue.toString()]) {
|
|
30281
|
+
if ((0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__/* .isPlainObject */ .Q)(list) && list[currentValue.toString()]) {
|
|
30265
30282
|
if (editor.o.textIcons) {
|
|
30266
30283
|
button.state.text = list[currentValue.toString()].toString();
|
|
30267
30284
|
}
|
|
@@ -30285,7 +30302,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.par
|
|
|
30285
30302
|
},
|
|
30286
30303
|
isActive: (editor, button) => {
|
|
30287
30304
|
return (button.state.value !== editor.o.enter &&
|
|
30288
|
-
|
|
30305
|
+
(0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__/* .isPlainObject */ .Q)(button.control.list) &&
|
|
30306
|
+
Boolean(button.control.list[button.state.value]));
|
|
30289
30307
|
},
|
|
30290
30308
|
childTemplate: (e, key, value) => `<${key} style="margin:0;padding:0"><span>${e.i18n(value)}</span></${key}>`,
|
|
30291
30309
|
tooltip: 'Insert format block'
|
|
@@ -30335,11 +30353,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('forma
|
|
|
30335
30353
|
"use strict";
|
|
30336
30354
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17352);
|
|
30337
30355
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(931);
|
|
30338
|
-
/* harmony import */ var
|
|
30339
|
-
/* harmony import */ var
|
|
30340
|
-
/* harmony import */ var
|
|
30341
|
-
/* harmony import */ var
|
|
30342
|
-
/* harmony import */ var
|
|
30356
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
30357
|
+
/* harmony import */ var _icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(24772);
|
|
30358
|
+
/* harmony import */ var _icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
30359
|
+
/* harmony import */ var _icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(66547);
|
|
30360
|
+
/* harmony import */ var _icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
30343
30361
|
/*!
|
|
30344
30362
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30345
30363
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30351,10 +30369,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('forma
|
|
|
30351
30369
|
|
|
30352
30370
|
|
|
30353
30371
|
|
|
30354
|
-
|
|
30355
|
-
|
|
30356
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('fullsize', (
|
|
30357
|
-
|
|
30372
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.fullsize = false;
|
|
30373
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.globalFullSize = true;
|
|
30374
|
+
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()));
|
|
30375
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.fullsize = {
|
|
30358
30376
|
exec: (editor) => {
|
|
30359
30377
|
editor.toggleFullSize();
|
|
30360
30378
|
},
|
|
@@ -30493,19 +30511,6 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('fulls
|
|
|
30493
30511
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
30494
30512
|
*/
|
|
30495
30513
|
|
|
30496
|
-
/**
|
|
30497
|
-
* You can redefine hotkeys for some command
|
|
30498
|
-
*
|
|
30499
|
-
* @example
|
|
30500
|
-
* ```js
|
|
30501
|
-
* var jodit = Jodit.make('#editor', {
|
|
30502
|
-
* commandToHotkeys: {
|
|
30503
|
-
* bold: 'ctrl+shift+b',
|
|
30504
|
-
* italic: ['ctrl+i', 'ctrl+b'],
|
|
30505
|
-
* }
|
|
30506
|
-
* })
|
|
30507
|
-
* ```
|
|
30508
|
-
*/
|
|
30509
30514
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.commandToHotkeys = {
|
|
30510
30515
|
removeFormat: ['ctrl+shift+m', 'cmd+shift+m'],
|
|
30511
30516
|
insertOrderedList: ['ctrl+shift+7', 'cmd+shift+7'],
|
|
@@ -30680,9 +30685,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('hotke
|
|
|
30680
30685
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(71842);
|
|
30681
30686
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
30682
30687
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(931);
|
|
30683
|
-
/* harmony import */ var
|
|
30684
|
-
/* harmony import */ var
|
|
30685
|
-
/* harmony import */ var
|
|
30688
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
30689
|
+
/* harmony import */ var _hr_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(89097);
|
|
30690
|
+
/* harmony import */ var _hr_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_hr_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
30686
30691
|
/*!
|
|
30687
30692
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30688
30693
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30693,8 +30698,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('hotke
|
|
|
30693
30698
|
|
|
30694
30699
|
|
|
30695
30700
|
|
|
30696
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('hr', (
|
|
30697
|
-
|
|
30701
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('hr', (_hr_svg__WEBPACK_IMPORTED_MODULE_4___default()));
|
|
30702
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.hr = {
|
|
30698
30703
|
command: 'insertHorizontalRule',
|
|
30699
30704
|
tags: ['hr'],
|
|
30700
30705
|
tooltip: 'Insert Horizontal Line'
|
|
@@ -31171,6 +31176,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('image
|
|
|
31171
31176
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
31172
31177
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
31173
31178
|
*/
|
|
31179
|
+
/**
|
|
31180
|
+
* @module plugins/image-properties
|
|
31181
|
+
*/
|
|
31174
31182
|
|
|
31175
31183
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.image = {
|
|
31176
31184
|
dialogWidth: 600,
|
|
@@ -32671,10 +32679,10 @@ function applySize(image, imageWidth, imageHeight, sizeIsLocked) {
|
|
|
32671
32679
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
32672
32680
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65147);
|
|
32673
32681
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(931);
|
|
32674
|
-
/* harmony import */ var
|
|
32675
|
-
/* harmony import */ var
|
|
32676
|
-
/* harmony import */ var
|
|
32677
|
-
/* harmony import */ var
|
|
32682
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
32683
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(16116);
|
|
32684
|
+
/* harmony import */ var _image_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(64831);
|
|
32685
|
+
/* harmony import */ var _image_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_image_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
32678
32686
|
/*!
|
|
32679
32687
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
32680
32688
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -32687,8 +32695,8 @@ function applySize(image, imageWidth, imageHeight, sizeIsLocked) {
|
|
|
32687
32695
|
|
|
32688
32696
|
|
|
32689
32697
|
|
|
32690
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('image', (
|
|
32691
|
-
|
|
32698
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('image', (_image_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
32699
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.image = {
|
|
32692
32700
|
popup: (editor, current, close) => {
|
|
32693
32701
|
let sourceImage = null;
|
|
32694
32702
|
if (current &&
|
|
@@ -32700,7 +32708,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.prototype.controls.ima
|
|
|
32700
32708
|
: (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.$$)('img', current)[0];
|
|
32701
32709
|
}
|
|
32702
32710
|
editor.s.save();
|
|
32703
|
-
return (0,
|
|
32711
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__/* .FileSelectorWidget */ .kG)(editor, {
|
|
32704
32712
|
filebrowser: (data) => {
|
|
32705
32713
|
editor.s.restore();
|
|
32706
32714
|
data.files &&
|
|
@@ -32743,12 +32751,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('image
|
|
|
32743
32751
|
"use strict";
|
|
32744
32752
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(71842);
|
|
32745
32753
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(931);
|
|
32746
|
-
/* harmony import */ var
|
|
32747
|
-
/* harmony import */ var
|
|
32748
|
-
/* harmony import */ var
|
|
32749
|
-
/* harmony import */ var
|
|
32750
|
-
/* harmony import */ var
|
|
32751
|
-
/* harmony import */ var
|
|
32754
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
32755
|
+
/* harmony import */ var _icons_indent_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(67176);
|
|
32756
|
+
/* harmony import */ var _icons_indent_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_indent_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
32757
|
+
/* harmony import */ var _icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(14017);
|
|
32758
|
+
/* harmony import */ var _icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
32759
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(3392);
|
|
32752
32760
|
/*!
|
|
32753
32761
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
32754
32762
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -32760,17 +32768,17 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('image
|
|
|
32760
32768
|
|
|
32761
32769
|
|
|
32762
32770
|
|
|
32763
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('indent', (
|
|
32764
|
-
|
|
32771
|
+
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()));
|
|
32772
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.indent = {
|
|
32765
32773
|
tooltip: 'Increase Indent'
|
|
32766
32774
|
};
|
|
32767
|
-
|
|
32775
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.outdent = {
|
|
32768
32776
|
isDisabled: (editor) => {
|
|
32769
32777
|
const current = editor.s.current();
|
|
32770
32778
|
if (current) {
|
|
32771
32779
|
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);
|
|
32772
32780
|
if (currentBox) {
|
|
32773
|
-
const arrow = (0,
|
|
32781
|
+
const arrow = (0,_helpers__WEBPACK_IMPORTED_MODULE_5__/* .getKey */ .i)(editor.o.direction, currentBox);
|
|
32774
32782
|
return (!currentBox.style[arrow] ||
|
|
32775
32783
|
parseInt(currentBox.style[arrow], 10) <= 0);
|
|
32776
32784
|
}
|
|
@@ -32779,7 +32787,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.out
|
|
|
32779
32787
|
},
|
|
32780
32788
|
tooltip: 'Decrease Indent'
|
|
32781
32789
|
};
|
|
32782
|
-
|
|
32790
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.indentMargin = 10;
|
|
32783
32791
|
|
|
32784
32792
|
|
|
32785
32793
|
/***/ }),
|
|
@@ -33040,12 +33048,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inden
|
|
|
33040
33048
|
|
|
33041
33049
|
"use strict";
|
|
33042
33050
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
33043
|
-
/* harmony import */ var
|
|
33044
|
-
/* harmony import */ var
|
|
33045
|
-
/* harmony import */ var
|
|
33046
|
-
/* harmony import */ var
|
|
33051
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
33052
|
+
/* harmony import */ var _items_a__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(97836);
|
|
33053
|
+
/* harmony import */ var _items_cells__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(82558);
|
|
33054
|
+
/* harmony import */ var _items_iframe__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(6295);
|
|
33055
|
+
/* harmony import */ var _items_img__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(26396);
|
|
33047
33056
|
/* harmony import */ var _items_toolbar__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(58540);
|
|
33048
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(36115);
|
|
33049
33057
|
/* harmony import */ var jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38681);
|
|
33050
33058
|
/* 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__);
|
|
33051
33059
|
/* harmony import */ var jodit_plugins_inline_popup_icons_addrow_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(64637);
|
|
@@ -33079,10 +33087,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inden
|
|
|
33079
33087
|
|
|
33080
33088
|
|
|
33081
33089
|
|
|
33082
|
-
|
|
33083
|
-
|
|
33084
|
-
|
|
33085
|
-
|
|
33090
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInline = true;
|
|
33091
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineForSelection = false;
|
|
33092
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineDisableFor = [];
|
|
33093
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineDisabledButtons = ['source'];
|
|
33086
33094
|
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('addcolumn', (jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_6___default()))
|
|
33087
33095
|
.set('addrow', (jodit_plugins_inline_popup_icons_addrow_svg__WEBPACK_IMPORTED_MODULE_7___default()))
|
|
33088
33096
|
.set('merge', (jodit_plugins_inline_popup_icons_merge_svg__WEBPACK_IMPORTED_MODULE_8___default()))
|
|
@@ -33090,14 +33098,14 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('addcolumn', (
|
|
|
33090
33098
|
.set('splitg', (jodit_plugins_inline_popup_icons_splitg_svg__WEBPACK_IMPORTED_MODULE_9___default()))
|
|
33091
33099
|
.set('splitv', (jodit_plugins_inline_popup_icons_splitv_svg__WEBPACK_IMPORTED_MODULE_10___default()))
|
|
33092
33100
|
.set('th-list', (jodit_plugins_inline_popup_icons_th_list_svg__WEBPACK_IMPORTED_MODULE_12___default()));
|
|
33093
|
-
|
|
33094
|
-
a:
|
|
33095
|
-
img:
|
|
33096
|
-
cells:
|
|
33101
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.popup = {
|
|
33102
|
+
a: _items_a__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A,
|
|
33103
|
+
img: _items_img__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .A,
|
|
33104
|
+
cells: _items_cells__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .A,
|
|
33097
33105
|
toolbar: _items_toolbar__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .A,
|
|
33098
|
-
jodit:
|
|
33099
|
-
iframe:
|
|
33100
|
-
'jodit-media':
|
|
33106
|
+
jodit: _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
33107
|
+
iframe: _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
33108
|
+
'jodit-media': _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
33101
33109
|
selection: [
|
|
33102
33110
|
'bold',
|
|
33103
33111
|
'underline',
|
|
@@ -33709,12 +33717,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inlin
|
|
|
33709
33717
|
/* unused harmony export justify */
|
|
33710
33718
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55186);
|
|
33711
33719
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
33712
|
-
/* harmony import */ var
|
|
33713
|
-
/* harmony import */ var
|
|
33714
|
-
/* harmony import */ var
|
|
33715
|
-
/* harmony import */ var
|
|
33716
|
-
/* harmony import */ var _justify_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_justify_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
33720
|
+
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65147);
|
|
33721
|
+
/* harmony import */ var jodit_core_helpers_utils_align__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(40080);
|
|
33722
|
+
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(38322);
|
|
33723
|
+
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(931);
|
|
33717
33724
|
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(36115);
|
|
33725
|
+
/* harmony import */ var _justify_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(80515);
|
|
33726
|
+
/* harmony import */ var _justify_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_justify_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
33718
33727
|
/*!
|
|
33719
33728
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
33720
33729
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -33727,7 +33736,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inlin
|
|
|
33727
33736
|
|
|
33728
33737
|
|
|
33729
33738
|
|
|
33730
|
-
|
|
33739
|
+
|
|
33740
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('justify', (_justify_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
33731
33741
|
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.align = {
|
|
33732
33742
|
name: 'left',
|
|
33733
33743
|
tooltip: 'Align',
|
|
@@ -33736,22 +33746,25 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.ali
|
|
|
33736
33746
|
if (current) {
|
|
33737
33747
|
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) ||
|
|
33738
33748
|
editor.editor;
|
|
33739
|
-
let currentValue = (0,
|
|
33749
|
+
let currentValue = (0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__/* .css */ .A)(currentBox, 'text-align').toString();
|
|
33740
33750
|
if (control.defaultValue &&
|
|
33741
33751
|
control.defaultValue.indexOf(currentValue) !== -1) {
|
|
33742
33752
|
currentValue = 'left';
|
|
33743
33753
|
}
|
|
33744
|
-
|
|
33745
|
-
|
|
33746
|
-
|
|
33747
|
-
|
|
33754
|
+
const { list, data } = control;
|
|
33755
|
+
if (data &&
|
|
33756
|
+
data.currentValue !== currentValue &&
|
|
33757
|
+
list &&
|
|
33758
|
+
((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isPlainObject)(list)
|
|
33759
|
+
? list[currentValue]
|
|
33760
|
+
: list.includes(currentValue))) {
|
|
33748
33761
|
if (editor.o.textIcons || control.component === 'select') {
|
|
33749
33762
|
button.state.text = currentValue;
|
|
33750
33763
|
}
|
|
33751
33764
|
else {
|
|
33752
33765
|
button.state.icon.name = currentValue;
|
|
33753
33766
|
}
|
|
33754
|
-
|
|
33767
|
+
data.currentValue = currentValue;
|
|
33755
33768
|
}
|
|
33756
33769
|
}
|
|
33757
33770
|
},
|
|
@@ -33762,7 +33775,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.ali
|
|
|
33762
33775
|
}
|
|
33763
33776
|
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) ||
|
|
33764
33777
|
editor.editor;
|
|
33765
|
-
return (btn.control.defaultValue.indexOf((0,
|
|
33778
|
+
return (btn.control.defaultValue.indexOf((0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__/* .css */ .A)(currentBox, 'text-align').toString()) === -1);
|
|
33766
33779
|
},
|
|
33767
33780
|
defaultValue: ['left', 'start', 'inherit'],
|
|
33768
33781
|
data: {
|
|
@@ -33816,7 +33829,7 @@ function justify(editor) {
|
|
|
33816
33829
|
if (!currentBox) {
|
|
33817
33830
|
currentBox = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.wrapInline(current, editor.o.enterBlock, editor);
|
|
33818
33831
|
}
|
|
33819
|
-
(0,
|
|
33832
|
+
(0,jodit_core_helpers_utils_align__WEBPACK_IMPORTED_MODULE_3__/* .alignElement */ .Op)(command, currentBox);
|
|
33820
33833
|
});
|
|
33821
33834
|
return false;
|
|
33822
33835
|
};
|
|
@@ -34027,9 +34040,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('limit
|
|
|
34027
34040
|
"use strict";
|
|
34028
34041
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(65147);
|
|
34029
34042
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(931);
|
|
34030
|
-
/* harmony import */ var
|
|
34031
|
-
/* harmony import */ var
|
|
34032
|
-
/* harmony import */ var
|
|
34043
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
34044
|
+
/* harmony import */ var _line_height_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(223);
|
|
34045
|
+
/* harmony import */ var _line_height_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_line_height_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
34033
34046
|
/*!
|
|
34034
34047
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
34035
34048
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -34039,9 +34052,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('limit
|
|
|
34039
34052
|
|
|
34040
34053
|
|
|
34041
34054
|
|
|
34042
|
-
|
|
34043
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('line-height', (
|
|
34044
|
-
|
|
34055
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.defaultLineHeight = null;
|
|
34056
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('line-height', (_line_height_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
34057
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.lineHeight = {
|
|
34045
34058
|
command: 'applyLineHeight',
|
|
34046
34059
|
tags: ['ol'],
|
|
34047
34060
|
tooltip: 'Line height',
|
|
@@ -34606,12 +34619,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('lineH
|
|
|
34606
34619
|
"use strict";
|
|
34607
34620
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55186);
|
|
34608
34621
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(931);
|
|
34609
|
-
/* harmony import */ var
|
|
34610
|
-
/* harmony import */ var
|
|
34611
|
-
/* harmony import */ var
|
|
34612
|
-
/* harmony import */ var
|
|
34613
|
-
/* harmony import */ var
|
|
34614
|
-
/* harmony import */ var
|
|
34622
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
34623
|
+
/* harmony import */ var _icons_link_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(95032);
|
|
34624
|
+
/* harmony import */ var _icons_link_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_link_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
34625
|
+
/* harmony import */ var _icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(73533);
|
|
34626
|
+
/* harmony import */ var _icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
34627
|
+
/* harmony import */ var _template__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(21329);
|
|
34615
34628
|
/*!
|
|
34616
34629
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
34617
34630
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -34623,8 +34636,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('lineH
|
|
|
34623
34636
|
|
|
34624
34637
|
|
|
34625
34638
|
|
|
34626
|
-
|
|
34627
|
-
formTemplate:
|
|
34639
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.link = {
|
|
34640
|
+
formTemplate: _template__WEBPACK_IMPORTED_MODULE_5__/* .formTemplate */ .B,
|
|
34628
34641
|
followOnDblClick: false,
|
|
34629
34642
|
processVideoLink: true,
|
|
34630
34643
|
processPastedLink: true,
|
|
@@ -34636,8 +34649,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.link = {
|
|
|
34636
34649
|
selectOptionsClassName: [],
|
|
34637
34650
|
hotkeys: ['ctrl+k', 'cmd+k']
|
|
34638
34651
|
};
|
|
34639
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('link', (
|
|
34640
|
-
|
|
34652
|
+
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()));
|
|
34653
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.unlink = {
|
|
34641
34654
|
exec: (editor, current) => {
|
|
34642
34655
|
const anchor = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor);
|
|
34643
34656
|
if (anchor) {
|
|
@@ -34648,7 +34661,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.unl
|
|
|
34648
34661
|
},
|
|
34649
34662
|
tooltip: 'Unlink'
|
|
34650
34663
|
};
|
|
34651
|
-
|
|
34664
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.link = {
|
|
34652
34665
|
isActive: (editor) => {
|
|
34653
34666
|
const current = editor.s.current();
|
|
34654
34667
|
return Boolean(current && jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor));
|
|
@@ -35192,9 +35205,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('media
|
|
|
35192
35205
|
"use strict";
|
|
35193
35206
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17352);
|
|
35194
35207
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65147);
|
|
35195
|
-
/* harmony import */ var
|
|
35196
|
-
/* harmony import */ var
|
|
35197
|
-
/* harmony import */ var
|
|
35208
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
35209
|
+
/* harmony import */ var jodit_modules_toolbar_collection_collection__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(97394);
|
|
35210
|
+
/* harmony import */ var jodit_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(8809);
|
|
35198
35211
|
/*!
|
|
35199
35212
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
35200
35213
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -35205,9 +35218,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('media
|
|
|
35205
35218
|
|
|
35206
35219
|
|
|
35207
35220
|
|
|
35208
|
-
|
|
35209
|
-
|
|
35210
|
-
|
|
35221
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.mobileTapTimeout = 300;
|
|
35222
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.toolbarAdaptive = true;
|
|
35223
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsMD = [
|
|
35211
35224
|
{
|
|
35212
35225
|
group: 'font-style',
|
|
35213
35226
|
buttons: []
|
|
@@ -35254,7 +35267,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsMD =
|
|
|
35254
35267
|
'|',
|
|
35255
35268
|
'dots'
|
|
35256
35269
|
];
|
|
35257
|
-
|
|
35270
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsSM = [
|
|
35258
35271
|
{
|
|
35259
35272
|
group: 'font-style',
|
|
35260
35273
|
buttons: []
|
|
@@ -35289,7 +35302,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsSM =
|
|
|
35289
35302
|
'|',
|
|
35290
35303
|
'dots'
|
|
35291
35304
|
];
|
|
35292
|
-
|
|
35305
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsXS = [
|
|
35293
35306
|
{
|
|
35294
35307
|
group: 'font-style',
|
|
35295
35308
|
buttons: []
|
|
@@ -35310,16 +35323,16 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsXS =
|
|
|
35310
35323
|
'---',
|
|
35311
35324
|
'dots'
|
|
35312
35325
|
];
|
|
35313
|
-
|
|
35326
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.dots = {
|
|
35314
35327
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SOURCE + jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_WYSIWYG,
|
|
35315
35328
|
popup: (editor, current, close, button) => {
|
|
35316
35329
|
let store = button.control.data;
|
|
35317
35330
|
if (store === undefined) {
|
|
35318
35331
|
store = {
|
|
35319
|
-
toolbar: (0,
|
|
35332
|
+
toolbar: (0,jodit_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_4__/* .makeCollection */ .$K)(editor),
|
|
35320
35333
|
rebuild: () => {
|
|
35321
35334
|
if (button) {
|
|
35322
|
-
const buttons = editor.e.fire('getDiffButtons.mobile', button.closest(
|
|
35335
|
+
const buttons = editor.e.fire('getDiffButtons.mobile', button.closest(jodit_modules_toolbar_collection_collection__WEBPACK_IMPORTED_MODULE_3__/* .ToolbarCollection */ .Q));
|
|
35323
35336
|
if (buttons && store) {
|
|
35324
35337
|
store.toolbar.build((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.splitArray)(buttons));
|
|
35325
35338
|
const w = editor.toolbar?.firstButton?.container
|
|
@@ -35430,11 +35443,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('mobil
|
|
|
35430
35443
|
"use strict";
|
|
35431
35444
|
/* harmony import */ var jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(72197);
|
|
35432
35445
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(931);
|
|
35433
|
-
/* harmony import */ var
|
|
35434
|
-
/* harmony import */ var
|
|
35435
|
-
/* harmony import */ var
|
|
35436
|
-
/* harmony import */ var
|
|
35437
|
-
/* harmony import */ var
|
|
35446
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
35447
|
+
/* harmony import */ var _icons_ol_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(40037);
|
|
35448
|
+
/* harmony import */ var _icons_ol_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_ol_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
35449
|
+
/* harmony import */ var _icons_ul_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(83207);
|
|
35450
|
+
/* harmony import */ var _icons_ul_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_ul_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
35438
35451
|
/*!
|
|
35439
35452
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
35440
35453
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -35451,8 +35464,8 @@ const memoExec = (jodit, _, { control }) => {
|
|
|
35451
35464
|
(0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_0__/* .dataBind */ .m)(jodit, key, value);
|
|
35452
35465
|
jodit.execCommand(control.command, false, value === 'default' ? null : value);
|
|
35453
35466
|
};
|
|
35454
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('ol', (
|
|
35455
|
-
|
|
35467
|
+
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()));
|
|
35468
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.ul = {
|
|
35456
35469
|
command: 'insertUnorderedList',
|
|
35457
35470
|
tags: ['ul'],
|
|
35458
35471
|
tooltip: 'Insert Unordered List',
|
|
@@ -35464,7 +35477,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.ul
|
|
|
35464
35477
|
},
|
|
35465
35478
|
exec: memoExec
|
|
35466
35479
|
};
|
|
35467
|
-
|
|
35480
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.ol = {
|
|
35468
35481
|
command: 'insertOrderedList',
|
|
35469
35482
|
tags: ['ol'],
|
|
35470
35483
|
tooltip: 'Insert Ordered List',
|
|
@@ -35838,8 +35851,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('paste
|
|
|
35838
35851
|
|
|
35839
35852
|
"use strict";
|
|
35840
35853
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17352);
|
|
35841
|
-
/* harmony import */ var
|
|
35842
|
-
/* harmony import */ var
|
|
35854
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
35855
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(90823);
|
|
35843
35856
|
/*!
|
|
35844
35857
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
35845
35858
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -35848,19 +35861,19 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('paste
|
|
|
35848
35861
|
|
|
35849
35862
|
|
|
35850
35863
|
|
|
35851
|
-
|
|
35852
|
-
|
|
35853
|
-
|
|
35854
|
-
|
|
35855
|
-
|
|
35864
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.askBeforePasteHTML = true;
|
|
35865
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.processPasteHTML = true;
|
|
35866
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.scrollToPastedContent = true;
|
|
35867
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.pasteExcludeStripTags = ['br', 'hr'];
|
|
35868
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.pasteHTMLActionList = [
|
|
35856
35869
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_AS_HTML, text: 'Keep' },
|
|
35857
35870
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_AS_TEXT, text: 'Insert as Text' },
|
|
35858
35871
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_ONLY_TEXT, text: 'Insert only Text' }
|
|
35859
35872
|
];
|
|
35860
|
-
|
|
35861
|
-
|
|
35873
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.memorizeChoiceWhenPasteFragment = false;
|
|
35874
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.nl2brInPlainText = true;
|
|
35862
35875
|
const psKey = 'pasteStorage';
|
|
35863
|
-
|
|
35876
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.paste = {
|
|
35864
35877
|
tooltip: 'Paste from clipboard',
|
|
35865
35878
|
async exec(editor, _, { control }) {
|
|
35866
35879
|
if (control.name === psKey) {
|
|
@@ -35908,7 +35921,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.pas
|
|
|
35908
35921
|
!error && editor.e.fire('afterPaste');
|
|
35909
35922
|
}
|
|
35910
35923
|
else if (text.length) {
|
|
35911
|
-
(0,
|
|
35924
|
+
(0,_helpers__WEBPACK_IMPORTED_MODULE_2__/* .pasteInsertHtml */ .sX)(null, editor, text);
|
|
35912
35925
|
editor.e.fire('afterPaste');
|
|
35913
35926
|
}
|
|
35914
35927
|
else {
|
|
@@ -36632,10 +36645,10 @@ function generateCriticalCSS(jodit) {
|
|
|
36632
36645
|
/* harmony import */ var jodit_core_helpers_utils_default_language__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(17527);
|
|
36633
36646
|
/* harmony import */ var jodit_core_helpers_utils_print__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(98434);
|
|
36634
36647
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(931);
|
|
36635
|
-
/* harmony import */ var
|
|
36636
|
-
/* harmony import */ var
|
|
36637
|
-
/* harmony import */ var
|
|
36638
|
-
/* harmony import */ var
|
|
36648
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(36115);
|
|
36649
|
+
/* harmony import */ var _lib_generate_critical_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(11131);
|
|
36650
|
+
/* harmony import */ var _print_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(59827);
|
|
36651
|
+
/* harmony import */ var _print_svg__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_print_svg__WEBPACK_IMPORTED_MODULE_7__);
|
|
36639
36652
|
/*!
|
|
36640
36653
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
36641
36654
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -36650,8 +36663,8 @@ function generateCriticalCSS(jodit) {
|
|
|
36650
36663
|
|
|
36651
36664
|
|
|
36652
36665
|
|
|
36653
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('print', (
|
|
36654
|
-
|
|
36666
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('print', (_print_svg__WEBPACK_IMPORTED_MODULE_7___default()));
|
|
36667
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.print = {
|
|
36655
36668
|
exec: (editor) => {
|
|
36656
36669
|
const iframe = editor.create.element('iframe');
|
|
36657
36670
|
Object.assign(iframe.style, {
|
|
@@ -36662,7 +36675,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_7__/* .Config */ .T.prototype.controls.pri
|
|
|
36662
36675
|
height: 0,
|
|
36663
36676
|
border: 0
|
|
36664
36677
|
});
|
|
36665
|
-
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .getContainer */ .My)(editor,
|
|
36678
|
+
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .getContainer */ .My)(editor, jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T).appendChild(iframe);
|
|
36666
36679
|
const afterFinishPrint = () => {
|
|
36667
36680
|
editor.e.off(editor.ow, 'mousemove', afterFinishPrint);
|
|
36668
36681
|
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.safeRemove(iframe);
|
|
@@ -36680,7 +36693,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_7__/* .Config */ .T.prototype.controls.pri
|
|
|
36680
36693
|
myWindow.document.write('<!doctype html><html lang="' +
|
|
36681
36694
|
(0,jodit_core_helpers_utils_default_language__WEBPACK_IMPORTED_MODULE_8__/* .defaultLanguage */ .e)(editor.o.language) +
|
|
36682
36695
|
'"><head><title></title></head><style>' +
|
|
36683
|
-
(0,
|
|
36696
|
+
(0,_lib_generate_critical_css__WEBPACK_IMPORTED_MODULE_6__/* .generateCriticalCSS */ .Y)(editor) +
|
|
36684
36697
|
'</style><body></body></html>');
|
|
36685
36698
|
myWindow.document.close();
|
|
36686
36699
|
(0,jodit_core_helpers_utils_print__WEBPACK_IMPORTED_MODULE_3__/* .previewBox */ .u)(editor, undefined, 'px', myWindow.document.body);
|
|
@@ -36718,11 +36731,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('print
|
|
|
36718
36731
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
36719
36732
|
/* harmony import */ var jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(29866);
|
|
36720
36733
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(931);
|
|
36721
|
-
/* harmony import */ var
|
|
36722
|
-
/* harmony import */ var
|
|
36723
|
-
/* harmony import */ var
|
|
36724
|
-
/* harmony import */ var
|
|
36725
|
-
/* harmony import */ var
|
|
36734
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
36735
|
+
/* harmony import */ var _icons_redo_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(34045);
|
|
36736
|
+
/* harmony import */ var _icons_redo_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_redo_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
36737
|
+
/* harmony import */ var _icons_undo_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(39199);
|
|
36738
|
+
/* harmony import */ var _icons_undo_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_icons_undo_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
36726
36739
|
/*!
|
|
36727
36740
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
36728
36741
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -36735,13 +36748,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('print
|
|
|
36735
36748
|
|
|
36736
36749
|
|
|
36737
36750
|
|
|
36738
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('redo', (
|
|
36739
|
-
|
|
36751
|
+
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()));
|
|
36752
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.redo = {
|
|
36740
36753
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
36741
36754
|
isDisabled: (editor) => !editor.history.canRedo(),
|
|
36742
36755
|
tooltip: 'Redo'
|
|
36743
36756
|
};
|
|
36744
|
-
|
|
36757
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.undo = {
|
|
36745
36758
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
36746
36759
|
isDisabled: (editor) => !editor.history.canUndo(),
|
|
36747
36760
|
tooltip: 'Undo'
|
|
@@ -37760,9 +37773,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('resiz
|
|
|
37760
37773
|
|
|
37761
37774
|
"use strict";
|
|
37762
37775
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
37763
|
-
/* harmony import */ var
|
|
37764
|
-
/* harmony import */ var
|
|
37765
|
-
/* harmony import */ var
|
|
37776
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
37777
|
+
/* harmony import */ var _search_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(21917);
|
|
37778
|
+
/* harmony import */ var _search_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_search_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
37766
37779
|
/*!
|
|
37767
37780
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
37768
37781
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -37772,14 +37785,14 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('resiz
|
|
|
37772
37785
|
|
|
37773
37786
|
|
|
37774
37787
|
|
|
37775
|
-
|
|
37776
|
-
|
|
37788
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.useSearch = true;
|
|
37789
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.search = {
|
|
37777
37790
|
lazyIdleTimeout: 0,
|
|
37778
37791
|
// @ts-ignore Because Highlight is not defined in the types TS 5.3.3
|
|
37779
37792
|
useCustomHighlightAPI: typeof window.Highlight !== 'undefined'
|
|
37780
37793
|
};
|
|
37781
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('search', (
|
|
37782
|
-
|
|
37794
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('search', (_search_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
37795
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.find = {
|
|
37783
37796
|
tooltip: 'Find',
|
|
37784
37797
|
icon: 'search',
|
|
37785
37798
|
exec(jodit, _, { control }) {
|
|
@@ -39386,9 +39399,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('size'
|
|
|
39386
39399
|
"use strict";
|
|
39387
39400
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17352);
|
|
39388
39401
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(931);
|
|
39389
|
-
/* harmony import */ var
|
|
39390
|
-
/* harmony import */ var
|
|
39391
|
-
/* harmony import */ var
|
|
39402
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
39403
|
+
/* harmony import */ var _source_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9103);
|
|
39404
|
+
/* harmony import */ var _source_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_source_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
39392
39405
|
/*!
|
|
39393
39406
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
39394
39407
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -39398,9 +39411,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('size'
|
|
|
39398
39411
|
|
|
39399
39412
|
|
|
39400
39413
|
|
|
39401
|
-
|
|
39402
|
-
|
|
39403
|
-
|
|
39414
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.beautifyHTML = !jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.IS_IE;
|
|
39415
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditor = 'ace';
|
|
39416
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditorNativeOptions = {
|
|
39404
39417
|
/**
|
|
39405
39418
|
* Show gutter
|
|
39406
39419
|
*/
|
|
@@ -39422,15 +39435,15 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.sourceEditor
|
|
|
39422
39435
|
*/
|
|
39423
39436
|
highlightActiveLine: true
|
|
39424
39437
|
};
|
|
39425
|
-
|
|
39438
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditorCDNUrlsJS = [
|
|
39426
39439
|
'https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.2/ace.js'
|
|
39427
39440
|
];
|
|
39428
|
-
|
|
39441
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.beautifyHTMLCDNUrlsJS = [
|
|
39429
39442
|
'https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify.min.js',
|
|
39430
39443
|
'https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify-html.min.js'
|
|
39431
39444
|
];
|
|
39432
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('source', (
|
|
39433
|
-
|
|
39445
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('source', (_source_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
39446
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.source = {
|
|
39434
39447
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
39435
39448
|
exec: (editor) => {
|
|
39436
39449
|
editor.toggleMode();
|
|
@@ -40225,9 +40238,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('sourc
|
|
|
40225
40238
|
|
|
40226
40239
|
"use strict";
|
|
40227
40240
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
40228
|
-
/* harmony import */ var
|
|
40229
|
-
/* harmony import */ var
|
|
40230
|
-
/* harmony import */ var
|
|
40241
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
40242
|
+
/* harmony import */ var _spellcheck_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(49989);
|
|
40243
|
+
/* harmony import */ var _spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
40231
40244
|
/*!
|
|
40232
40245
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
40233
40246
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -40236,13 +40249,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('sourc
|
|
|
40236
40249
|
|
|
40237
40250
|
|
|
40238
40251
|
|
|
40239
|
-
|
|
40240
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('spellcheck', (
|
|
40241
|
-
|
|
40252
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.spellcheck = false;
|
|
40253
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('spellcheck', (_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
40254
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.spellcheck = {
|
|
40242
40255
|
isActive(e) {
|
|
40243
40256
|
return e.o.spellcheck;
|
|
40244
40257
|
},
|
|
40245
|
-
icon: (
|
|
40258
|
+
icon: (_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default()),
|
|
40246
40259
|
name: 'spellcheck',
|
|
40247
40260
|
command: 'toggleSpellcheck',
|
|
40248
40261
|
tooltip: 'Spellcheck'
|
|
@@ -41017,9 +41030,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('stick
|
|
|
41017
41030
|
|
|
41018
41031
|
"use strict";
|
|
41019
41032
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
41020
|
-
/* harmony import */ var
|
|
41021
|
-
/* harmony import */ var
|
|
41022
|
-
/* harmony import */ var
|
|
41033
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
41034
|
+
/* harmony import */ var _symbols_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(81875);
|
|
41035
|
+
/* harmony import */ var _symbols_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_symbols_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
41023
41036
|
/*!
|
|
41024
41037
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
41025
41038
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -41028,8 +41041,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('stick
|
|
|
41028
41041
|
|
|
41029
41042
|
|
|
41030
41043
|
|
|
41031
|
-
|
|
41032
|
-
|
|
41044
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.usePopupForSpecialCharacters = false;
|
|
41045
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.specialCharacters = [
|
|
41033
41046
|
'!',
|
|
41034
41047
|
'"',
|
|
41035
41048
|
'#',
|
|
@@ -41241,8 +41254,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.specialChara
|
|
|
41241
41254
|
'♦',
|
|
41242
41255
|
'≈'
|
|
41243
41256
|
];
|
|
41244
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('symbols', (
|
|
41245
|
-
|
|
41257
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('symbols', (_symbols_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
41258
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.symbols = {
|
|
41246
41259
|
hotkeys: ['ctrl+shift+i', 'cmd+shift+i'],
|
|
41247
41260
|
tooltip: 'Insert Special Character',
|
|
41248
41261
|
popup: (editor, current, close) => {
|
|
@@ -42231,9 +42244,9 @@ function findCell(editor, key) {
|
|
|
42231
42244
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65147);
|
|
42232
42245
|
/* harmony import */ var jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(97369);
|
|
42233
42246
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(931);
|
|
42234
|
-
/* harmony import */ var
|
|
42235
|
-
/* harmony import */ var
|
|
42236
|
-
/* harmony import */ var
|
|
42247
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
42248
|
+
/* harmony import */ var _table_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(67447);
|
|
42249
|
+
/* harmony import */ var _table_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_table_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
42237
42250
|
/*!
|
|
42238
42251
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
42239
42252
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -42245,12 +42258,12 @@ function findCell(editor, key) {
|
|
|
42245
42258
|
|
|
42246
42259
|
|
|
42247
42260
|
|
|
42248
|
-
|
|
42261
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.table = {
|
|
42249
42262
|
selectionCellStyle: 'border: 1px double #1e88e5 !important;',
|
|
42250
42263
|
useExtraClassesOptions: false
|
|
42251
42264
|
};
|
|
42252
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('table', (
|
|
42253
|
-
|
|
42265
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('table', (_table_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
42266
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.table = {
|
|
42254
42267
|
data: {
|
|
42255
42268
|
cols: 10,
|
|
42256
42269
|
rows: 10,
|
|
@@ -42417,10 +42430,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('table
|
|
|
42417
42430
|
/* harmony import */ var jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(35265);
|
|
42418
42431
|
/* harmony import */ var jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(20703);
|
|
42419
42432
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(931);
|
|
42420
|
-
/* harmony import */ var
|
|
42421
|
-
/* harmony import */ var
|
|
42422
|
-
/* harmony import */ var
|
|
42423
|
-
/* harmony import */ var
|
|
42433
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
42434
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(16116);
|
|
42435
|
+
/* harmony import */ var _video_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(36339);
|
|
42436
|
+
/* harmony import */ var _video_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_video_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
42424
42437
|
/*!
|
|
42425
42438
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
42426
42439
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -42433,8 +42446,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('table
|
|
|
42433
42446
|
|
|
42434
42447
|
|
|
42435
42448
|
|
|
42436
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('video', (
|
|
42437
|
-
|
|
42449
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('video', (_video_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
42450
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.video = {
|
|
42438
42451
|
popup: (editor, current, close) => {
|
|
42439
42452
|
const formLink = new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIForm */ .XV(editor, [
|
|
42440
42453
|
new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIBlock */ .Yh(editor, [
|
|
@@ -42481,7 +42494,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.prototype.controls.vid
|
|
|
42481
42494
|
formCode.onSubmit(data => {
|
|
42482
42495
|
insertCode(data.code);
|
|
42483
42496
|
});
|
|
42484
|
-
return (0,
|
|
42497
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__/* .TabsWidget */ .Zg)(editor, tabs);
|
|
42485
42498
|
},
|
|
42486
42499
|
tags: ['iframe'],
|
|
42487
42500
|
tooltip: 'Insert youtube/vimeo video'
|