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/es2018/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
|
*/
|
|
@@ -1736,7 +1736,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1736
1736
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
1737
1737
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
1738
1738
|
*/
|
|
1739
|
-
const APP_VERSION = "4.2.
|
|
1739
|
+
const APP_VERSION = "4.2.18";
|
|
1740
1740
|
// prettier-ignore
|
|
1741
1741
|
const ES = "es2018";
|
|
1742
1742
|
const IS_ES_MODERN = true;
|
|
@@ -7298,6 +7298,8 @@ const appendScriptAsync = cacheLoaders((jodit, url) => {
|
|
|
7298
7298
|
}
|
|
7299
7299
|
const script = jodit.c.element('script', {
|
|
7300
7300
|
type: 'text/javascript',
|
|
7301
|
+
crossorigin: 'anonymous',
|
|
7302
|
+
referrerpolicy: 'no-referrer',
|
|
7301
7303
|
async: true,
|
|
7302
7304
|
src: (0,_complete_url__WEBPACK_IMPORTED_MODULE_0__/* .completeUrl */ .X)(url)
|
|
7303
7305
|
});
|
|
@@ -7538,9 +7540,9 @@ const completeUrl = (url) => {
|
|
|
7538
7540
|
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(25376);
|
|
7539
7541
|
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(98253);
|
|
7540
7542
|
/* harmony import */ var jodit_core_helpers_checker_is_void__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(35642);
|
|
7543
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(36115);
|
|
7541
7544
|
/* harmony import */ var _extend__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(49429);
|
|
7542
|
-
/* harmony import */ var
|
|
7543
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
7545
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(84976);
|
|
7544
7546
|
/*!
|
|
7545
7547
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
7546
7548
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -7588,7 +7590,7 @@ function ConfigProto(options, proto, deep = 0) {
|
|
|
7588
7590
|
if (Object.getPrototypeOf(options) !== Object.prototype) {
|
|
7589
7591
|
return options;
|
|
7590
7592
|
}
|
|
7591
|
-
const def =
|
|
7593
|
+
const def = jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.defaultOptions;
|
|
7592
7594
|
if ((0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__/* .isString */ .K)(options.preset)) {
|
|
7593
7595
|
if (def.presets[options.preset] !== undefined) {
|
|
7594
7596
|
const preset = def.presets[options.preset];
|
|
@@ -7618,7 +7620,7 @@ function ConfigProto(options, proto, deep = 0) {
|
|
|
7618
7620
|
return newOpt;
|
|
7619
7621
|
}
|
|
7620
7622
|
function ConfigFlatten(obj) {
|
|
7621
|
-
return (0,
|
|
7623
|
+
return (0,_utils__WEBPACK_IMPORTED_MODULE_1__/* .keys */ .HP)(obj, false).reduce((app, key) => {
|
|
7622
7624
|
app[key] = obj[key];
|
|
7623
7625
|
return app;
|
|
7624
7626
|
}, {});
|
|
@@ -9582,9 +9584,9 @@ Plugin.requires = [];
|
|
|
9582
9584
|
/* harmony import */ var jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(26318);
|
|
9583
9585
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65147);
|
|
9584
9586
|
/* harmony import */ var jodit_core_helpers_utils_error__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(50156);
|
|
9585
|
-
/* harmony import */ var
|
|
9587
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
9588
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(27337);
|
|
9586
9589
|
/* harmony import */ var _response__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(91672);
|
|
9587
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
9588
9590
|
/*!
|
|
9589
9591
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
9590
9592
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -9602,7 +9604,7 @@ class Ajax {
|
|
|
9602
9604
|
className() {
|
|
9603
9605
|
return 'Ajax';
|
|
9604
9606
|
}
|
|
9605
|
-
constructor(options, defaultAjaxOptions =
|
|
9607
|
+
constructor(options, defaultAjaxOptions = jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.defaultAjaxOptions) {
|
|
9606
9608
|
this.__async = new jodit_core_async__WEBPACK_IMPORTED_MODULE_0__/* .Async */ .j();
|
|
9607
9609
|
this.__isFulfilled = false;
|
|
9608
9610
|
this.__activated = false;
|
|
@@ -15067,7 +15069,6 @@ function getControlType(button, controls) {
|
|
|
15067
15069
|
* @private
|
|
15068
15070
|
*/
|
|
15069
15071
|
function findControlType(path, controls) {
|
|
15070
|
-
var _a;
|
|
15071
15072
|
// eslint-disable-next-line prefer-const
|
|
15072
15073
|
let [namespaceOrKey, key] = path.split(/\./);
|
|
15073
15074
|
let store = controls;
|
|
@@ -15079,17 +15080,23 @@ function findControlType(path, controls) {
|
|
|
15079
15080
|
else {
|
|
15080
15081
|
key = namespaceOrKey;
|
|
15081
15082
|
}
|
|
15082
|
-
const list =
|
|
15083
|
+
// const list = store[key]?.list;
|
|
15083
15084
|
return store[key]
|
|
15084
15085
|
? {
|
|
15085
15086
|
name: key,
|
|
15086
|
-
...(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__.ConfigFlatten)(store[key])
|
|
15087
|
-
list:
|
|
15088
|
-
|
|
15089
|
-
|
|
15090
|
-
|
|
15091
|
-
|
|
15092
|
-
|
|
15087
|
+
...(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__.ConfigFlatten)(store[key])
|
|
15088
|
+
// list: isArray(list)
|
|
15089
|
+
// ? (<Array<string>>list).reduce(
|
|
15090
|
+
// (
|
|
15091
|
+
// acc: IDictionary<string | number>,
|
|
15092
|
+
// k: string | number
|
|
15093
|
+
// ) => {
|
|
15094
|
+
// acc[String(k)] = k;
|
|
15095
|
+
// return acc;
|
|
15096
|
+
// },
|
|
15097
|
+
// {}
|
|
15098
|
+
// )
|
|
15099
|
+
// : list
|
|
15093
15100
|
}
|
|
15094
15101
|
: undefined;
|
|
15095
15102
|
}
|
|
@@ -15106,8 +15113,8 @@ function findControlType(path, controls) {
|
|
|
15106
15113
|
/* harmony export */ });
|
|
15107
15114
|
/* harmony import */ var jodit_core_helpers_checker_is_array__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(37923);
|
|
15108
15115
|
/* harmony import */ var jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(97369);
|
|
15109
|
-
/* harmony import */ var
|
|
15110
|
-
/* harmony import */ var
|
|
15116
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
15117
|
+
/* harmony import */ var _get_control_type__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(57023);
|
|
15111
15118
|
/*!
|
|
15112
15119
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
15113
15120
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -15127,7 +15134,7 @@ function getStrongControlTypes(items, controls) {
|
|
|
15127
15134
|
const value = items[key] || {};
|
|
15128
15135
|
return (0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_0__.ConfigProto)({ name: key }, value);
|
|
15129
15136
|
});
|
|
15130
|
-
return elements.map(item => (0,
|
|
15137
|
+
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));
|
|
15131
15138
|
}
|
|
15132
15139
|
|
|
15133
15140
|
|
|
@@ -16227,8 +16234,8 @@ View.defaultOptions = {
|
|
|
16227
16234
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(65147);
|
|
16228
16235
|
/* harmony import */ var jodit_core_request__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(53883);
|
|
16229
16236
|
/* harmony import */ var jodit_core_traits_dlgs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(58597);
|
|
16230
|
-
/* harmony import */ var
|
|
16231
|
-
/* harmony import */ var
|
|
16237
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(36115);
|
|
16238
|
+
/* harmony import */ var jodit_modules__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(37435);
|
|
16232
16239
|
/*!
|
|
16233
16240
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
16234
16241
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -16247,7 +16254,7 @@ var Jodit_1;
|
|
|
16247
16254
|
|
|
16248
16255
|
const __defaultStyleDisplayKey = 'data-jodit-default-style-display';
|
|
16249
16256
|
const __defaultClassesKey = 'data-jodit-default-classes';
|
|
16250
|
-
let Jodit = Jodit_1 = class Jodit extends
|
|
16257
|
+
let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE_7__.ViewWithToolbar {
|
|
16251
16258
|
/** @override */
|
|
16252
16259
|
className() {
|
|
16253
16260
|
return 'Jodit';
|
|
@@ -16294,7 +16301,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
16294
16301
|
get defaultTimeout() {
|
|
16295
16302
|
return (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isNumber)(this.o.defaultTimeout)
|
|
16296
16303
|
? this.o.defaultTimeout
|
|
16297
|
-
:
|
|
16304
|
+
: jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions.defaultTimeout;
|
|
16298
16305
|
}
|
|
16299
16306
|
/**
|
|
16300
16307
|
* Method wrap usual Has Object in Object helper for prevent deep object merging in options*
|
|
@@ -16320,10 +16327,10 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
16320
16327
|
* Default settings
|
|
16321
16328
|
*/
|
|
16322
16329
|
static get defaultOptions() {
|
|
16323
|
-
return
|
|
16330
|
+
return jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions;
|
|
16324
16331
|
}
|
|
16325
16332
|
get createInside() {
|
|
16326
|
-
return new
|
|
16333
|
+
return new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Create(() => this.ed, this.o.createAttributes);
|
|
16327
16334
|
}
|
|
16328
16335
|
__setPlaceField(field, value) {
|
|
16329
16336
|
if (!this.currentPlace) {
|
|
@@ -16871,8 +16878,8 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
16871
16878
|
const active = this.od.activeElement;
|
|
16872
16879
|
if (active &&
|
|
16873
16880
|
(active === this.iframe ||
|
|
16874
|
-
|
|
16875
|
-
|
|
16881
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.isOrContains(this.editor, active) ||
|
|
16882
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.isOrContains(this.toolbar.container, active))) {
|
|
16876
16883
|
return jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_WYSIWYG;
|
|
16877
16884
|
}
|
|
16878
16885
|
return jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SOURCE;
|
|
@@ -17024,7 +17031,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17024
17031
|
}
|
|
17025
17032
|
/** @override **/
|
|
17026
17033
|
initOptions(options) {
|
|
17027
|
-
this.options = ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {},
|
|
17034
|
+
this.options = ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions));
|
|
17028
17035
|
}
|
|
17029
17036
|
/** @override **/
|
|
17030
17037
|
initOwners() {
|
|
@@ -17069,7 +17076,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17069
17076
|
this.destruct();
|
|
17070
17077
|
throw e;
|
|
17071
17078
|
}
|
|
17072
|
-
this.setStatus(
|
|
17079
|
+
this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.STATUSES.beforeInit);
|
|
17073
17080
|
this.id =
|
|
17074
17081
|
(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') ||
|
|
17075
17082
|
new Date().getTime().toString();
|
|
@@ -17081,7 +17088,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17081
17088
|
}
|
|
17082
17089
|
});
|
|
17083
17090
|
this.e.on('prepareWYSIWYGEditor', this.__prepareWYSIWYGEditor);
|
|
17084
|
-
this.selection = new
|
|
17091
|
+
this.selection = new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Selection(this);
|
|
17085
17092
|
const beforeInitHookResult = this.beforeInitHook();
|
|
17086
17093
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.callPromise)(beforeInitHookResult, () => {
|
|
17087
17094
|
if (this.isInDestruct) {
|
|
@@ -17105,7 +17112,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17105
17112
|
this.e.fire('afterInit', this);
|
|
17106
17113
|
}
|
|
17107
17114
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.callPromise)(this.afterInitHook());
|
|
17108
|
-
this.setStatus(
|
|
17115
|
+
this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.STATUSES.ready);
|
|
17109
17116
|
this.e.fire('afterConstructor', this);
|
|
17110
17117
|
};
|
|
17111
17118
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.callPromise)(addPlaceResult, init);
|
|
@@ -17121,7 +17128,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17121
17128
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.toArray)(element.attributes).forEach((attr) => {
|
|
17122
17129
|
const name = attr.name;
|
|
17123
17130
|
let value = attr.value;
|
|
17124
|
-
if (
|
|
17131
|
+
if (jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions[name] !== undefined &&
|
|
17125
17132
|
(!options || options[name] === undefined)) {
|
|
17126
17133
|
if (['readonly', 'disabled'].indexOf(name) !== -1) {
|
|
17127
17134
|
value = value === '' || value === 'true';
|
|
@@ -17189,11 +17196,11 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17189
17196
|
element,
|
|
17190
17197
|
container,
|
|
17191
17198
|
workplace,
|
|
17192
|
-
statusbar: new
|
|
17199
|
+
statusbar: new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.StatusBar(this, container),
|
|
17193
17200
|
options: this.isReady
|
|
17194
|
-
? (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {},
|
|
17201
|
+
? (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions)
|
|
17195
17202
|
: this.options,
|
|
17196
|
-
history: new
|
|
17203
|
+
history: new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.History(this),
|
|
17197
17204
|
editorWindow: this.ow
|
|
17198
17205
|
};
|
|
17199
17206
|
this.__elementToPlace.set(editor, currentPlace);
|
|
@@ -17284,7 +17291,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17284
17291
|
return;
|
|
17285
17292
|
}
|
|
17286
17293
|
if (stayDefault === false || (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isPromise)(stayDefault)) {
|
|
17287
|
-
|
|
17294
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(defaultEditorArea);
|
|
17288
17295
|
}
|
|
17289
17296
|
addClassNames(this.o.editorClassName, this.editor);
|
|
17290
17297
|
if (this.o.style) {
|
|
@@ -17374,7 +17381,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17374
17381
|
if (this.isInDestruct) {
|
|
17375
17382
|
return;
|
|
17376
17383
|
}
|
|
17377
|
-
this.setStatus(
|
|
17384
|
+
this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.STATUSES.beforeDestruct);
|
|
17378
17385
|
this.__elementToPlace.clear();
|
|
17379
17386
|
this.storage.clear();
|
|
17380
17387
|
this.buffer.clear();
|
|
@@ -17415,17 +17422,17 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17415
17422
|
this.e.off(container);
|
|
17416
17423
|
this.e.off(element);
|
|
17417
17424
|
this.e.off(editor);
|
|
17418
|
-
|
|
17419
|
-
|
|
17425
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(workplace);
|
|
17426
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(editor);
|
|
17420
17427
|
if (container !== element) {
|
|
17421
|
-
|
|
17428
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(container);
|
|
17422
17429
|
}
|
|
17423
17430
|
Object.defineProperty(element, 'component', {
|
|
17424
17431
|
enumerable: false,
|
|
17425
17432
|
configurable: true,
|
|
17426
17433
|
value: null
|
|
17427
17434
|
});
|
|
17428
|
-
|
|
17435
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(iframe);
|
|
17429
17436
|
// inline mode
|
|
17430
17437
|
if (container === element) {
|
|
17431
17438
|
element.innerHTML = buffer;
|
|
@@ -17447,7 +17454,7 @@ Jodit.constants = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__;
|
|
|
17447
17454
|
Jodit.instances = jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .instances */ .VF;
|
|
17448
17455
|
Jodit.lang = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.lang;
|
|
17449
17456
|
Jodit.core = {
|
|
17450
|
-
Plugin:
|
|
17457
|
+
Plugin: jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Plugin
|
|
17451
17458
|
};
|
|
17452
17459
|
(0,tslib__WEBPACK_IMPORTED_MODULE_8__/* .__decorate */ .Cg)([
|
|
17453
17460
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.cache
|
|
@@ -19726,16 +19733,16 @@ async function loadTree(fb) {
|
|
|
19726
19733
|
/* harmony import */ var jodit_core_storage__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(63915);
|
|
19727
19734
|
/* harmony import */ var jodit_core_traits_dlgs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(58597);
|
|
19728
19735
|
/* harmony import */ var jodit_core_view_view_with_toolbar__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(14961);
|
|
19729
|
-
/* harmony import */ var
|
|
19736
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(36115);
|
|
19737
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(70265);
|
|
19730
19738
|
/* harmony import */ var _fetch_load_items__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(9979);
|
|
19731
|
-
/* harmony import */ var
|
|
19732
|
-
/* harmony import */ var
|
|
19733
|
-
/* harmony import */ var
|
|
19734
|
-
/* harmony import */ var
|
|
19735
|
-
/* harmony import */ var
|
|
19736
|
-
/* harmony import */ var
|
|
19737
|
-
/* harmony import */ var
|
|
19738
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(36115);
|
|
19739
|
+
/* harmony import */ var _fetch_load_tree__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(31859);
|
|
19740
|
+
/* harmony import */ var _listeners_native_listeners__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(62994);
|
|
19741
|
+
/* harmony import */ var _listeners_self_listeners__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(18043);
|
|
19742
|
+
/* harmony import */ var _listeners_state_listeners__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(80004);
|
|
19743
|
+
/* harmony import */ var _data_provider__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(75889);
|
|
19744
|
+
/* harmony import */ var _factories__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(83797);
|
|
19745
|
+
/* harmony import */ var _ui__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(10274);
|
|
19739
19746
|
/*!
|
|
19740
19747
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
19741
19748
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -19769,7 +19776,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
19769
19776
|
return 'FileBrowser';
|
|
19770
19777
|
}
|
|
19771
19778
|
get dataProvider() {
|
|
19772
|
-
return (0,
|
|
19779
|
+
return (0,_factories__WEBPACK_IMPORTED_MODULE_16__/* .makeDataProvider */ .S)(this, this.options);
|
|
19773
19780
|
}
|
|
19774
19781
|
// eslint-disable-next-line no-unused-vars
|
|
19775
19782
|
onSelect(callback) {
|
|
@@ -19885,7 +19892,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
19885
19892
|
this.__updateToolbarButtons();
|
|
19886
19893
|
this._dialog.open(this.browser, header);
|
|
19887
19894
|
this.e.fire('sort.filebrowser', this.state.sortBy);
|
|
19888
|
-
(0,
|
|
19895
|
+
(0,_fetch_load_tree__WEBPACK_IMPORTED_MODULE_11__/* .loadTree */ .r)(this)
|
|
19889
19896
|
.then(resolve, reject)
|
|
19890
19897
|
.finally(() => {
|
|
19891
19898
|
var _a;
|
|
@@ -19922,7 +19929,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
19922
19929
|
}
|
|
19923
19930
|
initUploader(editor) {
|
|
19924
19931
|
var _a;
|
|
19925
|
-
const self = this, options = (_a = editor === null || editor === void 0 ? void 0 : editor.options) === null || _a === void 0 ? void 0 : _a.uploader, uploaderOptions = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {},
|
|
19932
|
+
const self = this, options = (_a = editor === null || editor === void 0 ? void 0 : editor.options) === null || _a === void 0 ? void 0 : _a.uploader, uploaderOptions = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_9__/* .Config */ .T.defaultOptions.uploader);
|
|
19926
19933
|
const uploadHandler = () => (0,_fetch_load_items__WEBPACK_IMPORTED_MODULE_18__/* .loadItems */ .f)(this);
|
|
19927
19934
|
self.uploader = self.getInstance('Uploader', uploaderOptions);
|
|
19928
19935
|
self.uploader
|
|
@@ -19942,11 +19949,11 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
19942
19949
|
super(options);
|
|
19943
19950
|
this.browser = this.c.div(this.componentName);
|
|
19944
19951
|
this.status_line = this.c.div(this.getFullElName('status'));
|
|
19945
|
-
this.tree = new
|
|
19946
|
-
this.files = new
|
|
19952
|
+
this.tree = new _ui__WEBPACK_IMPORTED_MODULE_17__/* .FileBrowserTree */ .V(this);
|
|
19953
|
+
this.files = new _ui__WEBPACK_IMPORTED_MODULE_17__/* .FileBrowserFiles */ .Q(this);
|
|
19947
19954
|
this.state = (0,jodit_core_event_emitter__WEBPACK_IMPORTED_MODULE_4__/* .observable */ .sH)({
|
|
19948
19955
|
currentPath: '',
|
|
19949
|
-
currentSource:
|
|
19956
|
+
currentSource: _data_provider__WEBPACK_IMPORTED_MODULE_15__/* .DEFAULT_SOURCE_NAME */ .o,
|
|
19950
19957
|
currentBaseUrl: '',
|
|
19951
19958
|
activeElements: [],
|
|
19952
19959
|
elements: [],
|
|
@@ -19976,7 +19983,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
19976
19983
|
this.__prevButtons = [];
|
|
19977
19984
|
this.attachEvents(options);
|
|
19978
19985
|
const self = this;
|
|
19979
|
-
self.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {},
|
|
19986
|
+
self.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_9__/* .Config */ .T.defaultOptions.filebrowser);
|
|
19980
19987
|
self.browser.component = this;
|
|
19981
19988
|
self.container = self.browser;
|
|
19982
19989
|
if (self.o.showFoldersPanel) {
|
|
@@ -19984,9 +19991,9 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
19984
19991
|
}
|
|
19985
19992
|
self.browser.appendChild(self.files.container);
|
|
19986
19993
|
self.browser.appendChild(self.status_line);
|
|
19987
|
-
|
|
19988
|
-
|
|
19989
|
-
|
|
19994
|
+
_listeners_self_listeners__WEBPACK_IMPORTED_MODULE_13__/* .selfListeners */ .c.call(self);
|
|
19995
|
+
_listeners_native_listeners__WEBPACK_IMPORTED_MODULE_12__/* .nativeListeners */ .nW.call(self);
|
|
19996
|
+
_listeners_state_listeners__WEBPACK_IMPORTED_MODULE_14__/* .stateListeners */ .r.call(self);
|
|
19990
19997
|
const keys = [
|
|
19991
19998
|
'getLocalFileByUrl',
|
|
19992
19999
|
'crop',
|
|
@@ -20658,10 +20665,10 @@ class Command {
|
|
|
20658
20665
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(31635);
|
|
20659
20666
|
/* harmony import */ var jodit_core_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77753);
|
|
20660
20667
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(22664);
|
|
20668
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
20661
20669
|
/* harmony import */ var _command__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(84345);
|
|
20662
|
-
/* harmony import */ var
|
|
20670
|
+
/* harmony import */ var _snapshot__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(58770);
|
|
20663
20671
|
/* harmony import */ var _stack__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(66180);
|
|
20664
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
20665
20672
|
/*!
|
|
20666
20673
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
20667
20674
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -20674,7 +20681,7 @@ class Command {
|
|
|
20674
20681
|
|
|
20675
20682
|
|
|
20676
20683
|
|
|
20677
|
-
|
|
20684
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.history = {
|
|
20678
20685
|
enable: true,
|
|
20679
20686
|
maxHistoryLength: Infinity,
|
|
20680
20687
|
timeout: 1000
|
|
@@ -20725,7 +20732,7 @@ class History extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .ViewC
|
|
|
20725
20732
|
set startValue(value) {
|
|
20726
20733
|
this.__startValue = value;
|
|
20727
20734
|
}
|
|
20728
|
-
constructor(editor, stack = new _stack__WEBPACK_IMPORTED_MODULE_4__/* .Stack */ .B(editor.o.history.maxHistoryLength), snapshot = new
|
|
20735
|
+
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)) {
|
|
20729
20736
|
super(editor);
|
|
20730
20737
|
this.updateTick = 0;
|
|
20731
20738
|
this.__stack = stack;
|
|
@@ -20788,7 +20795,7 @@ class History extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .ViewC
|
|
|
20788
20795
|
*/
|
|
20789
20796
|
updateStack(replace = false) {
|
|
20790
20797
|
const newValue = this.snapshot.make();
|
|
20791
|
-
if (!
|
|
20798
|
+
if (!_snapshot__WEBPACK_IMPORTED_MODULE_3__/* .Snapshot */ .F.equal(newValue, this.startValue)) {
|
|
20792
20799
|
const newCommand = new _command__WEBPACK_IMPORTED_MODULE_5__/* .Command */ .u(this.startValue, newValue, this, this.updateTick);
|
|
20793
20800
|
if (replace) {
|
|
20794
20801
|
const command = this.__stack.current();
|
|
@@ -21122,11 +21129,11 @@ class Stack {
|
|
|
21122
21129
|
|
|
21123
21130
|
"use strict";
|
|
21124
21131
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
21125
|
-
/* harmony import */ var
|
|
21126
|
-
/* harmony import */ var
|
|
21127
|
-
/* harmony import */ var
|
|
21128
|
-
/* harmony import */ var
|
|
21129
|
-
/* harmony import */ var
|
|
21132
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
21133
|
+
/* harmony import */ var _icons_crop_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(928);
|
|
21134
|
+
/* harmony import */ var _icons_crop_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_icons_crop_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
21135
|
+
/* harmony import */ var _icons_resize_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(31230);
|
|
21136
|
+
/* harmony import */ var _icons_resize_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_resize_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
21130
21137
|
/*!
|
|
21131
21138
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
21132
21139
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -21136,7 +21143,7 @@ class Stack {
|
|
|
21136
21143
|
|
|
21137
21144
|
|
|
21138
21145
|
|
|
21139
|
-
|
|
21146
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.imageeditor = {
|
|
21140
21147
|
min_width: 20,
|
|
21141
21148
|
min_height: 20,
|
|
21142
21149
|
closeAfterSave: false,
|
|
@@ -21151,7 +21158,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.imageeditor
|
|
|
21151
21158
|
cropDefaultWidth: '70%',
|
|
21152
21159
|
cropDefaultHeight: '70%'
|
|
21153
21160
|
};
|
|
21154
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('crop', (
|
|
21161
|
+
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()));
|
|
21155
21162
|
|
|
21156
21163
|
|
|
21157
21164
|
/***/ }),
|
|
@@ -21170,9 +21177,9 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('crop', (_icon
|
|
|
21170
21177
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(71842);
|
|
21171
21178
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(65147);
|
|
21172
21179
|
/* harmony import */ var jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(35265);
|
|
21173
|
-
/* harmony import */ var
|
|
21174
|
-
/* harmony import */ var
|
|
21175
|
-
/* harmony import */ var
|
|
21180
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(36115);
|
|
21181
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(93027);
|
|
21182
|
+
/* harmony import */ var _templates_form__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(24863);
|
|
21176
21183
|
/*!
|
|
21177
21184
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
21178
21185
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -21632,7 +21639,7 @@ let ImageEditor = ImageEditor_1 = class ImageEditor extends jodit_core_component
|
|
|
21632
21639
|
this.options =
|
|
21633
21640
|
editor && editor.o && editor.o.imageeditor
|
|
21634
21641
|
? editor.o.imageeditor
|
|
21635
|
-
:
|
|
21642
|
+
: jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.defaultOptions.imageeditor;
|
|
21636
21643
|
const o = this.options;
|
|
21637
21644
|
this.resizeUseRatio = o.resizeUseRatio;
|
|
21638
21645
|
this.cropUseRatio = o.cropUseRatio;
|
|
@@ -21642,7 +21649,7 @@ let ImageEditor = ImageEditor_1 = class ImageEditor extends jodit_core_component
|
|
|
21642
21649
|
saveas: (0,jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_4__/* .Button */ .$n)(this.j, 'save', 'Save as ...')
|
|
21643
21650
|
};
|
|
21644
21651
|
this.activeTab = o.resize ? TABS.resize : TABS.crop;
|
|
21645
|
-
this.editor = (0,
|
|
21652
|
+
this.editor = (0,_templates_form__WEBPACK_IMPORTED_MODULE_7__/* .form */ .Z)(this.j, this.options);
|
|
21646
21653
|
const { resizeBox, cropBox } = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.refs)(this.editor);
|
|
21647
21654
|
this.resize_box = resizeBox;
|
|
21648
21655
|
this.crop_box = cropBox;
|
|
@@ -23065,7 +23072,8 @@ let ToolbarButton = class ToolbarButton extends jodit_core_ui_button__WEBPACK_IM
|
|
|
23065
23072
|
}
|
|
23066
23073
|
createContainer() {
|
|
23067
23074
|
const cn = this.componentName;
|
|
23068
|
-
const container = this.j.c.span(cn)
|
|
23075
|
+
const container = this.j.c.span(cn);
|
|
23076
|
+
const button = super.createContainer();
|
|
23069
23077
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.attr)(container, 'role', 'listitem');
|
|
23070
23078
|
button.classList.remove(cn);
|
|
23071
23079
|
button.classList.add(cn + '__button');
|
|
@@ -23462,8 +23470,9 @@ ToolbarContent = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
|
23462
23470
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
23463
23471
|
/* harmony export */ q: function() { return /* binding */ ToolbarSelect; }
|
|
23464
23472
|
/* harmony export */ });
|
|
23465
|
-
/* harmony import */ var
|
|
23473
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(31635);
|
|
23466
23474
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(22664);
|
|
23475
|
+
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25376);
|
|
23467
23476
|
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(98253);
|
|
23468
23477
|
/* harmony import */ var _button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3258);
|
|
23469
23478
|
/*!
|
|
@@ -23476,6 +23485,7 @@ ToolbarContent = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
|
23476
23485
|
|
|
23477
23486
|
|
|
23478
23487
|
|
|
23488
|
+
|
|
23479
23489
|
let ToolbarSelect = class ToolbarSelect extends _button__WEBPACK_IMPORTED_MODULE_1__/* .ToolbarButton */ .I {
|
|
23480
23490
|
className() {
|
|
23481
23491
|
return 'ToolbarSelect';
|
|
@@ -23494,13 +23504,13 @@ let ToolbarSelect = class ToolbarSelect extends _button__WEBPACK_IMPORTED_MODULE
|
|
|
23494
23504
|
const keys = Object.keys(list);
|
|
23495
23505
|
key = keys[0];
|
|
23496
23506
|
}
|
|
23497
|
-
const text = (list[key.toString()] || key).toString();
|
|
23507
|
+
const text = ((0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_3__/* .isPlainObject */ .Q)(list) ? list[key.toString()] || key : key).toString();
|
|
23498
23508
|
this.state.text =
|
|
23499
23509
|
(_c = (_b = (_a = this.control).textTemplate) === null || _b === void 0 ? void 0 : _b.call(_a, this.jodit, text)) !== null && _c !== void 0 ? _c : text;
|
|
23500
23510
|
}
|
|
23501
23511
|
}
|
|
23502
23512
|
};
|
|
23503
|
-
ToolbarSelect = (0,
|
|
23513
|
+
ToolbarSelect = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
23504
23514
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.component
|
|
23505
23515
|
], ToolbarSelect);
|
|
23506
23516
|
|
|
@@ -24333,9 +24343,9 @@ function send(uploader, data) {
|
|
|
24333
24343
|
/* harmony import */ var jodit_core_component___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77753);
|
|
24334
24344
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(17352);
|
|
24335
24345
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65147);
|
|
24336
|
-
/* harmony import */ var
|
|
24337
|
-
/* harmony import */ var
|
|
24338
|
-
/* harmony import */ var
|
|
24346
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
24347
|
+
/* harmony import */ var jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(74340);
|
|
24348
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(77334);
|
|
24339
24349
|
/*!
|
|
24340
24350
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
24341
24351
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -24407,14 +24417,14 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
24407
24417
|
}
|
|
24408
24418
|
};
|
|
24409
24419
|
// send data on server
|
|
24410
|
-
if (!jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && (0,
|
|
24411
|
-
(0,
|
|
24420
|
+
if (!jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && (0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(cData)) {
|
|
24421
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, cData.files, handlerSuccess, handlerError).finally(onFinally);
|
|
24412
24422
|
return false;
|
|
24413
24423
|
}
|
|
24414
24424
|
if (jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && !jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_ES_NEXT) {
|
|
24415
|
-
return (0,
|
|
24425
|
+
return (0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .processOldBrowserDrag */ .dT)(self, cData, handlerSuccess, handlerError, onFinally);
|
|
24416
24426
|
}
|
|
24417
|
-
if ((0,
|
|
24427
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasItems */ .Pb)(cData)) {
|
|
24418
24428
|
const { items } = cData;
|
|
24419
24429
|
for (i = 0; i < items.length; i += 1) {
|
|
24420
24430
|
if (items[i].kind === 'file' &&
|
|
@@ -24425,7 +24435,7 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
24425
24435
|
extension = mime[1]
|
|
24426
24436
|
? mime[1].toLowerCase()
|
|
24427
24437
|
: '';
|
|
24428
|
-
(0,
|
|
24438
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, [file], handlerSuccess, handlerError, processData).finally(onFinally);
|
|
24429
24439
|
}
|
|
24430
24440
|
e.preventDefault();
|
|
24431
24441
|
break;
|
|
@@ -24448,30 +24458,30 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
24448
24458
|
e.preventDefault();
|
|
24449
24459
|
})
|
|
24450
24460
|
.on(form, 'dragover', (event) => {
|
|
24451
|
-
if ((0,
|
|
24452
|
-
(0,
|
|
24461
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer) ||
|
|
24462
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasItems */ .Pb)(event.dataTransfer)) {
|
|
24453
24463
|
form.classList.add('jodit_drag_hover');
|
|
24454
24464
|
event.preventDefault();
|
|
24455
24465
|
}
|
|
24456
24466
|
})
|
|
24457
24467
|
.on(form, 'dragend dragleave', (event) => {
|
|
24458
24468
|
form.classList.remove('jodit_drag_hover');
|
|
24459
|
-
if ((0,
|
|
24469
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer)) {
|
|
24460
24470
|
event.preventDefault();
|
|
24461
24471
|
}
|
|
24462
24472
|
})
|
|
24463
24473
|
.on(form, 'drop', (event) => {
|
|
24464
24474
|
form.classList.remove('jodit_drag_hover');
|
|
24465
|
-
if ((0,
|
|
24475
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer)) {
|
|
24466
24476
|
event.preventDefault();
|
|
24467
24477
|
event.stopImmediatePropagation();
|
|
24468
|
-
(0,
|
|
24478
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, event.dataTransfer.files, handlerSuccess, handlerError).finally(onFinally);
|
|
24469
24479
|
}
|
|
24470
24480
|
});
|
|
24471
24481
|
const inputFile = form.querySelector('input[type=file]');
|
|
24472
24482
|
if (inputFile) {
|
|
24473
24483
|
self.j.e.on(inputFile, 'change', () => {
|
|
24474
|
-
(0,
|
|
24484
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, inputFile.files, handlerSuccess, handlerError)
|
|
24475
24485
|
.then(() => {
|
|
24476
24486
|
inputFile.value = '';
|
|
24477
24487
|
if (!/safari/i.test(navigator.userAgent)) {
|
|
@@ -24491,7 +24501,7 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
24491
24501
|
const handlerE = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isFunction)(handlerError)
|
|
24492
24502
|
? handlerError
|
|
24493
24503
|
: o.defaultHandlerError;
|
|
24494
|
-
(0,
|
|
24504
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .send */ .tN)(uploader, {
|
|
24495
24505
|
action: 'fileUploadRemote',
|
|
24496
24506
|
url
|
|
24497
24507
|
})
|
|
@@ -24511,11 +24521,11 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
24511
24521
|
super(editor);
|
|
24512
24522
|
this.path = '';
|
|
24513
24523
|
this.source = 'default';
|
|
24514
|
-
this.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(options || {}, (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(
|
|
24524
|
+
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 : {}));
|
|
24515
24525
|
}
|
|
24516
24526
|
destruct() {
|
|
24517
24527
|
this.setStatus(jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .STATUSES */ .f.beforeDestruct);
|
|
24518
|
-
const instances =
|
|
24528
|
+
const instances = jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .ajaxInstances */ .$j.get(this);
|
|
24519
24529
|
if (instances) {
|
|
24520
24530
|
instances.forEach(ajax => {
|
|
24521
24531
|
try {
|
|
@@ -24944,9 +24954,9 @@ const TabsWidget = (jodit, tabs, state) => {
|
|
|
24944
24954
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
24945
24955
|
/* harmony import */ var jodit_core_helpers___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65147);
|
|
24946
24956
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(931);
|
|
24947
|
-
/* harmony import */ var
|
|
24948
|
-
/* harmony import */ var
|
|
24949
|
-
/* harmony import */ var
|
|
24957
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
24958
|
+
/* harmony import */ var _about_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(17995);
|
|
24959
|
+
/* harmony import */ var _about_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_about_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
24950
24960
|
/*!
|
|
24951
24961
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
24952
24962
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -24960,7 +24970,7 @@ const TabsWidget = (jodit, tabs, state) => {
|
|
|
24960
24970
|
|
|
24961
24971
|
|
|
24962
24972
|
|
|
24963
|
-
|
|
24973
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.about = {
|
|
24964
24974
|
exec: (editor) => {
|
|
24965
24975
|
const dialog = editor.dlg({ closeOnClickOverlay: true }), i = editor.i18n.bind(editor);
|
|
24966
24976
|
dialog
|
|
@@ -24996,7 +25006,7 @@ function about(editor) {
|
|
|
24996
25006
|
});
|
|
24997
25007
|
}
|
|
24998
25008
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('about', about);
|
|
24999
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('about', (
|
|
25009
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('about', (_about_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
25000
25010
|
|
|
25001
25011
|
|
|
25002
25012
|
/***/ }),
|
|
@@ -25239,9 +25249,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('addNe
|
|
|
25239
25249
|
|
|
25240
25250
|
"use strict";
|
|
25241
25251
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
25242
|
-
/* harmony import */ var
|
|
25243
|
-
/* harmony import */ var
|
|
25244
|
-
/* harmony import */ var
|
|
25252
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
25253
|
+
/* harmony import */ var _enter_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(86634);
|
|
25254
|
+
/* harmony import */ var _enter_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_enter_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
25245
25255
|
/*!
|
|
25246
25256
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
25247
25257
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -25250,9 +25260,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('addNe
|
|
|
25250
25260
|
|
|
25251
25261
|
|
|
25252
25262
|
|
|
25253
|
-
|
|
25254
|
-
|
|
25255
|
-
|
|
25263
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLine = true;
|
|
25264
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineOnDBLClick = true;
|
|
25265
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineTagsTriggers = [
|
|
25256
25266
|
'table',
|
|
25257
25267
|
'iframe',
|
|
25258
25268
|
'img',
|
|
@@ -25260,8 +25270,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.addNewLineTa
|
|
|
25260
25270
|
'pre',
|
|
25261
25271
|
'jodit'
|
|
25262
25272
|
];
|
|
25263
|
-
|
|
25264
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (
|
|
25273
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineDeltaShow = 20;
|
|
25274
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (_enter_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
25265
25275
|
|
|
25266
25276
|
|
|
25267
25277
|
/***/ }),
|
|
@@ -25400,11 +25410,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('ai-as
|
|
|
25400
25410
|
|
|
25401
25411
|
"use strict";
|
|
25402
25412
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
25403
|
-
/* harmony import */ var
|
|
25404
|
-
/* harmony import */ var
|
|
25405
|
-
/* harmony import */ var
|
|
25406
|
-
/* harmony import */ var
|
|
25407
|
-
/* harmony import */ var
|
|
25413
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
25414
|
+
/* harmony import */ var _ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91115);
|
|
25415
|
+
/* harmony import */ var _ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
25416
|
+
/* harmony import */ var _chat_bot_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1916);
|
|
25417
|
+
/* harmony import */ var _chat_bot_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_chat_bot_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
25408
25418
|
/*!
|
|
25409
25419
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
25410
25420
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -25445,10 +25455,10 @@ const aiAssistantDefaults = {
|
|
|
25445
25455
|
aiTranslateToRussianPrompt: 'Translate this content into Russian, ensuring the translation is accurate and maintains the original meaning.',
|
|
25446
25456
|
aiTranslateToArabicPrompt: 'Translate this content into Arabic, ensuring the translation is accurate and maintains the original meaning.'
|
|
25447
25457
|
};
|
|
25448
|
-
|
|
25449
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-assistant', (
|
|
25450
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-commands', (
|
|
25451
|
-
|
|
25458
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.aiAssistant = aiAssistantDefaults;
|
|
25459
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-assistant', (_chat_bot_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
25460
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-commands', (_ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
25461
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls['ai-commands'] = {
|
|
25452
25462
|
isDisabled(editor) {
|
|
25453
25463
|
return !editor.o.aiAssistant.aiAssistantCallback;
|
|
25454
25464
|
},
|
|
@@ -25486,7 +25496,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls['ai
|
|
|
25486
25496
|
editor.e.fire('generateAiAssistantForm.ai-assistant', control.name);
|
|
25487
25497
|
}
|
|
25488
25498
|
};
|
|
25489
|
-
|
|
25499
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls['ai-assistant'] = {
|
|
25490
25500
|
isDisabled(editor) {
|
|
25491
25501
|
return !editor.o.aiAssistant.aiAssistantCallback;
|
|
25492
25502
|
},
|
|
@@ -26125,6 +26135,10 @@ function checkRemoveChar(jodit, fakeNode, backspace, mode) {
|
|
|
26125
26135
|
}
|
|
26126
26136
|
if ((_a = sibling.nodeValue) === null || _a === void 0 ? void 0 : _a.length) {
|
|
26127
26137
|
removed = tryRemoveChar(sibling, backspace, step, anotherSibling);
|
|
26138
|
+
if (!sibling.nodeValue.length &&
|
|
26139
|
+
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.isInlineBlock(sibling.parentNode)) {
|
|
26140
|
+
sibling.nodeValue = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INVISIBLE_SPACE;
|
|
26141
|
+
}
|
|
26128
26142
|
}
|
|
26129
26143
|
if (!((_b = sibling.nodeValue) === null || _b === void 0 ? void 0 : _b.length)) {
|
|
26130
26144
|
removeNeighbor = sibling;
|
|
@@ -26679,20 +26693,20 @@ function getMoveFilter(jodit) {
|
|
|
26679
26693
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(56298);
|
|
26680
26694
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65147);
|
|
26681
26695
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(931);
|
|
26682
|
-
/* harmony import */ var
|
|
26683
|
-
/* harmony import */ var
|
|
26684
|
-
/* harmony import */ var
|
|
26685
|
-
/* harmony import */ var
|
|
26686
|
-
/* harmony import */ var
|
|
26687
|
-
/* harmony import */ var
|
|
26688
|
-
/* harmony import */ var
|
|
26689
|
-
/* harmony import */ var
|
|
26690
|
-
/* harmony import */ var
|
|
26691
|
-
/* harmony import */ var
|
|
26692
|
-
/* harmony import */ var
|
|
26693
|
-
/* harmony import */ var
|
|
26694
|
-
/* harmony import */ var
|
|
26695
|
-
/* harmony import */ var
|
|
26696
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
26697
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(73124);
|
|
26698
|
+
/* harmony import */ var _icons_bold_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(52450);
|
|
26699
|
+
/* harmony import */ var _icons_bold_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_bold_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
26700
|
+
/* harmony import */ var _icons_italic_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(41111);
|
|
26701
|
+
/* harmony import */ var _icons_italic_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_icons_italic_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
26702
|
+
/* harmony import */ var _icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(49972);
|
|
26703
|
+
/* harmony import */ var _icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7__);
|
|
26704
|
+
/* harmony import */ var _icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(45062);
|
|
26705
|
+
/* harmony import */ var _icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8__);
|
|
26706
|
+
/* harmony import */ var _icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(18605);
|
|
26707
|
+
/* harmony import */ var _icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9__);
|
|
26708
|
+
/* harmony import */ var _icons_underline_svg__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(83389);
|
|
26709
|
+
/* harmony import */ var _icons_underline_svg__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_icons_underline_svg__WEBPACK_IMPORTED_MODULE_10__);
|
|
26696
26710
|
/*!
|
|
26697
26711
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
26698
26712
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -26715,7 +26729,7 @@ function getMoveFilter(jodit) {
|
|
|
26715
26729
|
*/
|
|
26716
26730
|
function bold(editor) {
|
|
26717
26731
|
const callBack = (command) => {
|
|
26718
|
-
const control =
|
|
26732
|
+
const control = jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.defaultOptions.controls[command], cssOptions = {
|
|
26719
26733
|
...control.css
|
|
26720
26734
|
};
|
|
26721
26735
|
let cssRules;
|
|
@@ -26769,12 +26783,12 @@ function bold(editor) {
|
|
|
26769
26783
|
});
|
|
26770
26784
|
}
|
|
26771
26785
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('bold', bold);
|
|
26772
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('bold', (
|
|
26773
|
-
.set('italic', (
|
|
26774
|
-
.set('strikethrough', (
|
|
26775
|
-
.set('subscript', (
|
|
26776
|
-
.set('superscript', (
|
|
26777
|
-
.set('underline', (
|
|
26786
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('bold', (_icons_bold_svg__WEBPACK_IMPORTED_MODULE_5___default()))
|
|
26787
|
+
.set('italic', (_icons_italic_svg__WEBPACK_IMPORTED_MODULE_6___default()))
|
|
26788
|
+
.set('strikethrough', (_icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7___default()))
|
|
26789
|
+
.set('subscript', (_icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8___default()))
|
|
26790
|
+
.set('superscript', (_icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9___default()))
|
|
26791
|
+
.set('underline', (_icons_underline_svg__WEBPACK_IMPORTED_MODULE_10___default()));
|
|
26778
26792
|
|
|
26779
26793
|
|
|
26780
26794
|
/***/ }),
|
|
@@ -26844,9 +26858,9 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.controls.str
|
|
|
26844
26858
|
/* harmony import */ var jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(84976);
|
|
26845
26859
|
/* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(71005);
|
|
26846
26860
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(931);
|
|
26847
|
-
/* harmony import */ var
|
|
26848
|
-
/* harmony import */ var
|
|
26849
|
-
/* harmony import */ var
|
|
26861
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(36115);
|
|
26862
|
+
/* harmony import */ var _class_span_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(93267);
|
|
26863
|
+
/* harmony import */ var _class_span_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_class_span_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
26850
26864
|
/*!
|
|
26851
26865
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
26852
26866
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -26859,7 +26873,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.controls.str
|
|
|
26859
26873
|
|
|
26860
26874
|
|
|
26861
26875
|
|
|
26862
|
-
|
|
26876
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.classSpan = {
|
|
26863
26877
|
command: 'applyClassName',
|
|
26864
26878
|
exec: jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_2__/* .memorizeExec */ .qN,
|
|
26865
26879
|
list: [
|
|
@@ -26947,7 +26961,7 @@ class classSpan extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_3__/* .Plugin
|
|
|
26947
26961
|
beforeDestruct() { }
|
|
26948
26962
|
}
|
|
26949
26963
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('classSpan', classSpan);
|
|
26950
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('class-span', (
|
|
26964
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('class-span', (_class_span_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
26951
26965
|
|
|
26952
26966
|
|
|
26953
26967
|
/***/ }),
|
|
@@ -27086,9 +27100,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('clean
|
|
|
27086
27100
|
|
|
27087
27101
|
"use strict";
|
|
27088
27102
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
27089
|
-
/* harmony import */ var
|
|
27090
|
-
/* harmony import */ var
|
|
27091
|
-
/* harmony import */ var
|
|
27103
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
27104
|
+
/* harmony import */ var _eraser_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(71948);
|
|
27105
|
+
/* harmony import */ var _eraser_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_eraser_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
27092
27106
|
/*!
|
|
27093
27107
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27094
27108
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27097,7 +27111,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('clean
|
|
|
27097
27111
|
|
|
27098
27112
|
|
|
27099
27113
|
|
|
27100
|
-
|
|
27114
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.cleanHTML = {
|
|
27101
27115
|
timeout: 300,
|
|
27102
27116
|
removeEmptyElements: true,
|
|
27103
27117
|
fillEmptyParagraph: true,
|
|
@@ -27113,11 +27127,11 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.cleanHTML =
|
|
|
27113
27127
|
safeJavaScriptLink: true,
|
|
27114
27128
|
disableCleanFilter: null
|
|
27115
27129
|
};
|
|
27116
|
-
|
|
27130
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.eraser = {
|
|
27117
27131
|
command: 'removeFormat',
|
|
27118
27132
|
tooltip: 'Clear Formatting'
|
|
27119
27133
|
};
|
|
27120
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('eraser', (
|
|
27134
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('eraser', (_eraser_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
27121
27135
|
|
|
27122
27136
|
|
|
27123
27137
|
/***/ }),
|
|
@@ -27786,15 +27800,15 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('clipb
|
|
|
27786
27800
|
|
|
27787
27801
|
"use strict";
|
|
27788
27802
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
27789
|
-
/* harmony import */ var
|
|
27790
|
-
/* harmony import */ var
|
|
27791
|
-
/* harmony import */ var
|
|
27792
|
-
/* harmony import */ var
|
|
27793
|
-
/* harmony import */ var
|
|
27794
|
-
/* harmony import */ var
|
|
27795
|
-
/* harmony import */ var
|
|
27796
|
-
/* harmony import */ var
|
|
27797
|
-
/* harmony import */ var
|
|
27803
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
27804
|
+
/* harmony import */ var _icons_copy_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(51457);
|
|
27805
|
+
/* harmony import */ var _icons_copy_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_icons_copy_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
27806
|
+
/* harmony import */ var _icons_cut_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(23602);
|
|
27807
|
+
/* harmony import */ var _icons_cut_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_cut_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
27808
|
+
/* harmony import */ var _icons_paste_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(86899);
|
|
27809
|
+
/* harmony import */ var _icons_paste_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_paste_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
27810
|
+
/* harmony import */ var _icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(95320);
|
|
27811
|
+
/* harmony import */ var _icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
27798
27812
|
/*!
|
|
27799
27813
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27800
27814
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27806,25 +27820,25 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('clipb
|
|
|
27806
27820
|
|
|
27807
27821
|
|
|
27808
27822
|
|
|
27809
|
-
|
|
27823
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.cut = {
|
|
27810
27824
|
command: 'cut',
|
|
27811
27825
|
isDisabled: (editor) => editor.s.isCollapsed(),
|
|
27812
27826
|
tooltip: 'Cut selection'
|
|
27813
27827
|
};
|
|
27814
|
-
|
|
27828
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.copy = {
|
|
27815
27829
|
command: 'copy',
|
|
27816
27830
|
isDisabled: (editor) => editor.s.isCollapsed(),
|
|
27817
27831
|
tooltip: 'Copy selection'
|
|
27818
27832
|
};
|
|
27819
|
-
|
|
27833
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.selectall = {
|
|
27820
27834
|
icon: 'select-all',
|
|
27821
27835
|
command: 'selectall',
|
|
27822
27836
|
tooltip: 'Select all'
|
|
27823
27837
|
};
|
|
27824
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('copy', (
|
|
27825
|
-
.set('cut', (
|
|
27826
|
-
.set('paste', (
|
|
27827
|
-
.set('select-all', (
|
|
27838
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('copy', (_icons_copy_svg__WEBPACK_IMPORTED_MODULE_2___default()))
|
|
27839
|
+
.set('cut', (_icons_cut_svg__WEBPACK_IMPORTED_MODULE_3___default()))
|
|
27840
|
+
.set('paste', (_icons_paste_svg__WEBPACK_IMPORTED_MODULE_4___default()))
|
|
27841
|
+
.set('select-all', (_icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
27828
27842
|
|
|
27829
27843
|
|
|
27830
27844
|
/***/ }),
|
|
@@ -27896,10 +27910,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('color
|
|
|
27896
27910
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55186);
|
|
27897
27911
|
/* harmony import */ var jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65147);
|
|
27898
27912
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(931);
|
|
27899
|
-
/* harmony import */ var
|
|
27900
|
-
/* harmony import */ var
|
|
27901
|
-
/* harmony import */ var
|
|
27902
|
-
/* harmony import */ var
|
|
27913
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
27914
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(16116);
|
|
27915
|
+
/* harmony import */ var _brush_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(45674);
|
|
27916
|
+
/* harmony import */ var _brush_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_brush_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
27903
27917
|
/*!
|
|
27904
27918
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27905
27919
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27911,8 +27925,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('color
|
|
|
27911
27925
|
|
|
27912
27926
|
|
|
27913
27927
|
|
|
27914
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('brush', (
|
|
27915
|
-
|
|
27928
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('brush', (_brush_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
27929
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.brushCell = {
|
|
27916
27930
|
isVisible: (editor) => {
|
|
27917
27931
|
return !editor.o.disablePlugins.includes('color');
|
|
27918
27932
|
},
|
|
@@ -27925,7 +27939,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
27925
27939
|
if (!selected.length) {
|
|
27926
27940
|
return false;
|
|
27927
27941
|
}
|
|
27928
|
-
const makeColorPicker = (key) => (0,
|
|
27942
|
+
const makeColorPicker = (key) => (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, (value) => {
|
|
27929
27943
|
selected.forEach(cell => {
|
|
27930
27944
|
(0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.css)(cell, key, value);
|
|
27931
27945
|
});
|
|
@@ -27934,7 +27948,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
27934
27948
|
close();
|
|
27935
27949
|
editor.unlock();
|
|
27936
27950
|
}, (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.css)(selected[0], key));
|
|
27937
|
-
return (0,
|
|
27951
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .TabsWidget */ .Zg)(editor, [
|
|
27938
27952
|
{
|
|
27939
27953
|
name: 'Background',
|
|
27940
27954
|
content: makeColorPicker('background-color')
|
|
@@ -27945,7 +27959,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
27945
27959
|
},
|
|
27946
27960
|
tooltip: 'Background'
|
|
27947
27961
|
};
|
|
27948
|
-
|
|
27962
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.brush = {
|
|
27949
27963
|
isVisible: (editor) => {
|
|
27950
27964
|
return !editor.o.disablePlugins.includes('color');
|
|
27951
27965
|
},
|
|
@@ -27993,7 +28007,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
27993
28007
|
}
|
|
27994
28008
|
}, editor.editor);
|
|
27995
28009
|
}
|
|
27996
|
-
const backgroundTag = (0,
|
|
28010
|
+
const backgroundTag = (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, (value) => {
|
|
27997
28011
|
if (!currentElement) {
|
|
27998
28012
|
editor.execCommand('background', false, value);
|
|
27999
28013
|
}
|
|
@@ -28004,7 +28018,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28004
28018
|
(0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.dataBind)(button, 'color-mode', 'background');
|
|
28005
28019
|
close();
|
|
28006
28020
|
}, bg_color);
|
|
28007
|
-
const colorTab = (0,
|
|
28021
|
+
const colorTab = (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, (value) => {
|
|
28008
28022
|
if (!currentElement) {
|
|
28009
28023
|
editor.execCommand('forecolor', false, value);
|
|
28010
28024
|
}
|
|
@@ -28028,7 +28042,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28028
28042
|
if (editor.o.colorPickerDefaultTab !== 'background') {
|
|
28029
28043
|
tabs = tabs.reverse();
|
|
28030
28044
|
}
|
|
28031
|
-
return (0,
|
|
28045
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .TabsWidget */ .Zg)(editor, tabs, currentElement);
|
|
28032
28046
|
},
|
|
28033
28047
|
exec(jodit, current, { button }) {
|
|
28034
28048
|
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');
|
|
@@ -28067,10 +28081,10 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28067
28081
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
28068
28082
|
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38322);
|
|
28069
28083
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(931);
|
|
28070
|
-
/* harmony import */ var
|
|
28071
|
-
/* harmony import */ var
|
|
28072
|
-
/* harmony import */ var
|
|
28073
|
-
/* harmony import */ var
|
|
28084
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
28085
|
+
/* harmony import */ var _copy_format_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(3843);
|
|
28086
|
+
/* harmony import */ var _copy_format_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_copy_format_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
28087
|
+
/* harmony import */ var _langs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(94628);
|
|
28074
28088
|
/*!
|
|
28075
28089
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
28076
28090
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -28128,7 +28142,7 @@ const getStyles = (editor, box, defaultStyles) => {
|
|
|
28128
28142
|
}
|
|
28129
28143
|
return result;
|
|
28130
28144
|
};
|
|
28131
|
-
|
|
28145
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.copyformat = {
|
|
28132
28146
|
exec: (editor, current, { button }) => {
|
|
28133
28147
|
if (!current) {
|
|
28134
28148
|
return;
|
|
@@ -28178,10 +28192,10 @@ function copyFormat(editor) {
|
|
|
28178
28192
|
name: 'copyformat',
|
|
28179
28193
|
group: 'clipboard'
|
|
28180
28194
|
});
|
|
28181
|
-
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .extendLang */ .JW)(
|
|
28195
|
+
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .extendLang */ .JW)(_langs__WEBPACK_IMPORTED_MODULE_5__);
|
|
28182
28196
|
}
|
|
28183
28197
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('copyformat', copyFormat);
|
|
28184
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('copyformat', (
|
|
28198
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('copyformat', (_copy_format_svg__WEBPACK_IMPORTED_MODULE_4___default()));
|
|
28185
28199
|
|
|
28186
28200
|
|
|
28187
28201
|
/***/ }),
|
|
@@ -29991,8 +30005,8 @@ function wrapText(fake, jodit) {
|
|
|
29991
30005
|
/* unused harmony export file */
|
|
29992
30006
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55186);
|
|
29993
30007
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
29994
|
-
/* harmony import */ var
|
|
29995
|
-
/* harmony import */ var
|
|
30008
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
30009
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(16116);
|
|
29996
30010
|
/*!
|
|
29997
30011
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
29998
30012
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30002,7 +30016,7 @@ function wrapText(fake, jodit) {
|
|
|
30002
30016
|
|
|
30003
30017
|
|
|
30004
30018
|
|
|
30005
|
-
|
|
30019
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.file = {
|
|
30006
30020
|
popup: (editor, current, close) => {
|
|
30007
30021
|
const insert = (url, title = '') => {
|
|
30008
30022
|
editor.s.insertNode(editor.createInside.fromHTML(`<a href="${url}" title="${title}">${title || url}</a>`));
|
|
@@ -30015,7 +30029,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fil
|
|
|
30015
30029
|
? current
|
|
30016
30030
|
: jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor);
|
|
30017
30031
|
}
|
|
30018
|
-
return (0,
|
|
30032
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_3__/* .FileSelectorWidget */ .kG)(editor, {
|
|
30019
30033
|
filebrowser: (data) => {
|
|
30020
30034
|
data.files &&
|
|
30021
30035
|
data.files.forEach(file => insert(data.baseurl + file));
|
|
@@ -30138,11 +30152,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('focus
|
|
|
30138
30152
|
/* harmony import */ var jodit_core_helpers_string_trim__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(59101);
|
|
30139
30153
|
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38322);
|
|
30140
30154
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(931);
|
|
30141
|
-
/* harmony import */ var
|
|
30142
|
-
/* harmony import */ var
|
|
30143
|
-
/* harmony import */ var
|
|
30144
|
-
/* harmony import */ var
|
|
30145
|
-
/* harmony import */ var
|
|
30155
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
30156
|
+
/* harmony import */ var _icons_font_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(48842);
|
|
30157
|
+
/* harmony import */ var _icons_font_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_font_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
30158
|
+
/* harmony import */ var _icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(25501);
|
|
30159
|
+
/* harmony import */ var _icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
30146
30160
|
/*!
|
|
30147
30161
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30148
30162
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30158,9 +30172,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('focus
|
|
|
30158
30172
|
/**
|
|
30159
30173
|
* Default font-size points
|
|
30160
30174
|
*/
|
|
30161
|
-
|
|
30162
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('font', (
|
|
30163
|
-
|
|
30175
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.defaultFontSizePoints = 'px';
|
|
30176
|
+
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()));
|
|
30177
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fontsize = {
|
|
30164
30178
|
command: 'fontsize',
|
|
30165
30179
|
data: {
|
|
30166
30180
|
cssRule: 'font-size',
|
|
@@ -30219,8 +30233,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.fon
|
|
|
30219
30233
|
return keySet.has(normalize(value.toString()));
|
|
30220
30234
|
}
|
|
30221
30235
|
};
|
|
30222
|
-
|
|
30223
|
-
...
|
|
30236
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.font = {
|
|
30237
|
+
...jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fontsize,
|
|
30224
30238
|
command: 'fontname',
|
|
30225
30239
|
textTemplate: (j, value) => {
|
|
30226
30240
|
const [first] = value.split(',');
|
|
@@ -30330,11 +30344,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('font'
|
|
|
30330
30344
|
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
30331
30345
|
|
|
30332
30346
|
"use strict";
|
|
30333
|
-
/* harmony import */ var
|
|
30347
|
+
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55186);
|
|
30348
|
+
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(25376);
|
|
30334
30349
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(931);
|
|
30335
|
-
/* harmony import */ var
|
|
30336
|
-
/* harmony import */ var
|
|
30337
|
-
/* harmony import */ var
|
|
30350
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
30351
|
+
/* harmony import */ var _paragraph_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(29348);
|
|
30352
|
+
/* harmony import */ var _paragraph_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_paragraph_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
30338
30353
|
/*!
|
|
30339
30354
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30340
30355
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30344,13 +30359,14 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('font'
|
|
|
30344
30359
|
|
|
30345
30360
|
|
|
30346
30361
|
|
|
30347
|
-
|
|
30348
|
-
|
|
30362
|
+
|
|
30363
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('paragraph', (_paragraph_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
30364
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.paragraph = {
|
|
30349
30365
|
command: 'formatBlock',
|
|
30350
30366
|
value(editor, button) {
|
|
30351
30367
|
var _a, _b;
|
|
30352
30368
|
const control = button.control, current = editor.s.current();
|
|
30353
|
-
const currentBox =
|
|
30369
|
+
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);
|
|
30354
30370
|
return (_a = currentBox === null || currentBox === void 0 ? void 0 : currentBox.nodeName.toLowerCase()) !== null && _a !== void 0 ? _a : (_b = control.data) === null || _b === void 0 ? void 0 : _b.currentValue;
|
|
30355
30371
|
},
|
|
30356
30372
|
update(editor, button) {
|
|
@@ -30359,7 +30375,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.par
|
|
|
30359
30375
|
return false;
|
|
30360
30376
|
}
|
|
30361
30377
|
const currentValue = button.state.value, list = control.list;
|
|
30362
|
-
if (list && list[currentValue.toString()]) {
|
|
30378
|
+
if ((0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__/* .isPlainObject */ .Q)(list) && list[currentValue.toString()]) {
|
|
30363
30379
|
if (editor.o.textIcons) {
|
|
30364
30380
|
button.state.text = list[currentValue.toString()].toString();
|
|
30365
30381
|
}
|
|
@@ -30383,9 +30399,9 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.par
|
|
|
30383
30399
|
return Boolean(button.state.value === ((_b = (_a = button.control) === null || _a === void 0 ? void 0 : _a.args) === null || _b === void 0 ? void 0 : _b[0]));
|
|
30384
30400
|
},
|
|
30385
30401
|
isActive: (editor, button) => {
|
|
30386
|
-
var _a;
|
|
30387
30402
|
return (button.state.value !== editor.o.enter &&
|
|
30388
|
-
|
|
30403
|
+
(0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__/* .isPlainObject */ .Q)(button.control.list) &&
|
|
30404
|
+
Boolean(button.control.list[button.state.value]));
|
|
30389
30405
|
},
|
|
30390
30406
|
childTemplate: (e, key, value) => `<${key} style="margin:0;padding:0"><span>${e.i18n(value)}</span></${key}>`,
|
|
30391
30407
|
tooltip: 'Insert format block'
|
|
@@ -30435,11 +30451,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('forma
|
|
|
30435
30451
|
"use strict";
|
|
30436
30452
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17352);
|
|
30437
30453
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(931);
|
|
30438
|
-
/* harmony import */ var
|
|
30439
|
-
/* harmony import */ var
|
|
30440
|
-
/* harmony import */ var
|
|
30441
|
-
/* harmony import */ var
|
|
30442
|
-
/* harmony import */ var
|
|
30454
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
30455
|
+
/* harmony import */ var _icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(24772);
|
|
30456
|
+
/* harmony import */ var _icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
30457
|
+
/* harmony import */ var _icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(66547);
|
|
30458
|
+
/* harmony import */ var _icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
30443
30459
|
/*!
|
|
30444
30460
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30445
30461
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30451,10 +30467,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('forma
|
|
|
30451
30467
|
|
|
30452
30468
|
|
|
30453
30469
|
|
|
30454
|
-
|
|
30455
|
-
|
|
30456
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('fullsize', (
|
|
30457
|
-
|
|
30470
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.fullsize = false;
|
|
30471
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.globalFullSize = true;
|
|
30472
|
+
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()));
|
|
30473
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.fullsize = {
|
|
30458
30474
|
exec: (editor) => {
|
|
30459
30475
|
editor.toggleFullSize();
|
|
30460
30476
|
},
|
|
@@ -30595,19 +30611,6 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('fulls
|
|
|
30595
30611
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
30596
30612
|
*/
|
|
30597
30613
|
|
|
30598
|
-
/**
|
|
30599
|
-
* You can redefine hotkeys for some command
|
|
30600
|
-
*
|
|
30601
|
-
* @example
|
|
30602
|
-
* ```js
|
|
30603
|
-
* var jodit = Jodit.make('#editor', {
|
|
30604
|
-
* commandToHotkeys: {
|
|
30605
|
-
* bold: 'ctrl+shift+b',
|
|
30606
|
-
* italic: ['ctrl+i', 'ctrl+b'],
|
|
30607
|
-
* }
|
|
30608
|
-
* })
|
|
30609
|
-
* ```
|
|
30610
|
-
*/
|
|
30611
30614
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.commandToHotkeys = {
|
|
30612
30615
|
removeFormat: ['ctrl+shift+m', 'cmd+shift+m'],
|
|
30613
30616
|
insertOrderedList: ['ctrl+shift+7', 'cmd+shift+7'],
|
|
@@ -30782,9 +30785,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('hotke
|
|
|
30782
30785
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(71842);
|
|
30783
30786
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
30784
30787
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(931);
|
|
30785
|
-
/* harmony import */ var
|
|
30786
|
-
/* harmony import */ var
|
|
30787
|
-
/* harmony import */ var
|
|
30788
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
30789
|
+
/* harmony import */ var _hr_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(89097);
|
|
30790
|
+
/* harmony import */ var _hr_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_hr_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
30788
30791
|
/*!
|
|
30789
30792
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30790
30793
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30795,8 +30798,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('hotke
|
|
|
30795
30798
|
|
|
30796
30799
|
|
|
30797
30800
|
|
|
30798
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('hr', (
|
|
30799
|
-
|
|
30801
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('hr', (_hr_svg__WEBPACK_IMPORTED_MODULE_4___default()));
|
|
30802
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.hr = {
|
|
30800
30803
|
command: 'insertHorizontalRule',
|
|
30801
30804
|
tags: ['hr'],
|
|
30802
30805
|
tooltip: 'Insert Horizontal Line'
|
|
@@ -31275,6 +31278,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('image
|
|
|
31275
31278
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
31276
31279
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
31277
31280
|
*/
|
|
31281
|
+
/**
|
|
31282
|
+
* @module plugins/image-properties
|
|
31283
|
+
*/
|
|
31278
31284
|
|
|
31279
31285
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.image = {
|
|
31280
31286
|
dialogWidth: 600,
|
|
@@ -32776,10 +32782,10 @@ function applySize(image, imageWidth, imageHeight, sizeIsLocked) {
|
|
|
32776
32782
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
32777
32783
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65147);
|
|
32778
32784
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(931);
|
|
32779
|
-
/* harmony import */ var
|
|
32780
|
-
/* harmony import */ var
|
|
32781
|
-
/* harmony import */ var
|
|
32782
|
-
/* harmony import */ var
|
|
32785
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
32786
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(16116);
|
|
32787
|
+
/* harmony import */ var _image_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(64831);
|
|
32788
|
+
/* harmony import */ var _image_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_image_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
32783
32789
|
/*!
|
|
32784
32790
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
32785
32791
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -32792,8 +32798,8 @@ function applySize(image, imageWidth, imageHeight, sizeIsLocked) {
|
|
|
32792
32798
|
|
|
32793
32799
|
|
|
32794
32800
|
|
|
32795
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('image', (
|
|
32796
|
-
|
|
32801
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('image', (_image_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
32802
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.image = {
|
|
32797
32803
|
popup: (editor, current, close) => {
|
|
32798
32804
|
let sourceImage = null;
|
|
32799
32805
|
if (current &&
|
|
@@ -32805,7 +32811,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.prototype.controls.ima
|
|
|
32805
32811
|
: (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.$$)('img', current)[0];
|
|
32806
32812
|
}
|
|
32807
32813
|
editor.s.save();
|
|
32808
|
-
return (0,
|
|
32814
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__/* .FileSelectorWidget */ .kG)(editor, {
|
|
32809
32815
|
filebrowser: (data) => {
|
|
32810
32816
|
editor.s.restore();
|
|
32811
32817
|
data.files &&
|
|
@@ -32848,12 +32854,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('image
|
|
|
32848
32854
|
"use strict";
|
|
32849
32855
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(71842);
|
|
32850
32856
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(931);
|
|
32851
|
-
/* harmony import */ var
|
|
32852
|
-
/* harmony import */ var
|
|
32853
|
-
/* harmony import */ var
|
|
32854
|
-
/* harmony import */ var
|
|
32855
|
-
/* harmony import */ var
|
|
32856
|
-
/* harmony import */ var
|
|
32857
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
32858
|
+
/* harmony import */ var _icons_indent_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(67176);
|
|
32859
|
+
/* harmony import */ var _icons_indent_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_indent_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
32860
|
+
/* harmony import */ var _icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(14017);
|
|
32861
|
+
/* harmony import */ var _icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
32862
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(3392);
|
|
32857
32863
|
/*!
|
|
32858
32864
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
32859
32865
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -32865,17 +32871,17 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('image
|
|
|
32865
32871
|
|
|
32866
32872
|
|
|
32867
32873
|
|
|
32868
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('indent', (
|
|
32869
|
-
|
|
32874
|
+
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()));
|
|
32875
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.indent = {
|
|
32870
32876
|
tooltip: 'Increase Indent'
|
|
32871
32877
|
};
|
|
32872
|
-
|
|
32878
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.outdent = {
|
|
32873
32879
|
isDisabled: (editor) => {
|
|
32874
32880
|
const current = editor.s.current();
|
|
32875
32881
|
if (current) {
|
|
32876
32882
|
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);
|
|
32877
32883
|
if (currentBox) {
|
|
32878
|
-
const arrow = (0,
|
|
32884
|
+
const arrow = (0,_helpers__WEBPACK_IMPORTED_MODULE_5__/* .getKey */ .i)(editor.o.direction, currentBox);
|
|
32879
32885
|
return (!currentBox.style[arrow] ||
|
|
32880
32886
|
parseInt(currentBox.style[arrow], 10) <= 0);
|
|
32881
32887
|
}
|
|
@@ -32884,7 +32890,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.out
|
|
|
32884
32890
|
},
|
|
32885
32891
|
tooltip: 'Decrease Indent'
|
|
32886
32892
|
};
|
|
32887
|
-
|
|
32893
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.indentMargin = 10;
|
|
32888
32894
|
|
|
32889
32895
|
|
|
32890
32896
|
/***/ }),
|
|
@@ -33145,12 +33151,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inden
|
|
|
33145
33151
|
|
|
33146
33152
|
"use strict";
|
|
33147
33153
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
33148
|
-
/* harmony import */ var
|
|
33149
|
-
/* harmony import */ var
|
|
33150
|
-
/* harmony import */ var
|
|
33151
|
-
/* harmony import */ var
|
|
33154
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
33155
|
+
/* harmony import */ var _items_a__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(97836);
|
|
33156
|
+
/* harmony import */ var _items_cells__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(82558);
|
|
33157
|
+
/* harmony import */ var _items_iframe__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(6295);
|
|
33158
|
+
/* harmony import */ var _items_img__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(26396);
|
|
33152
33159
|
/* harmony import */ var _items_toolbar__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(58540);
|
|
33153
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(36115);
|
|
33154
33160
|
/* harmony import */ var jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38681);
|
|
33155
33161
|
/* 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__);
|
|
33156
33162
|
/* harmony import */ var jodit_plugins_inline_popup_icons_addrow_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(64637);
|
|
@@ -33184,10 +33190,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inden
|
|
|
33184
33190
|
|
|
33185
33191
|
|
|
33186
33192
|
|
|
33187
|
-
|
|
33188
|
-
|
|
33189
|
-
|
|
33190
|
-
|
|
33193
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInline = true;
|
|
33194
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineForSelection = false;
|
|
33195
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineDisableFor = [];
|
|
33196
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineDisabledButtons = ['source'];
|
|
33191
33197
|
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('addcolumn', (jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_6___default()))
|
|
33192
33198
|
.set('addrow', (jodit_plugins_inline_popup_icons_addrow_svg__WEBPACK_IMPORTED_MODULE_7___default()))
|
|
33193
33199
|
.set('merge', (jodit_plugins_inline_popup_icons_merge_svg__WEBPACK_IMPORTED_MODULE_8___default()))
|
|
@@ -33195,14 +33201,14 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('addcolumn', (
|
|
|
33195
33201
|
.set('splitg', (jodit_plugins_inline_popup_icons_splitg_svg__WEBPACK_IMPORTED_MODULE_9___default()))
|
|
33196
33202
|
.set('splitv', (jodit_plugins_inline_popup_icons_splitv_svg__WEBPACK_IMPORTED_MODULE_10___default()))
|
|
33197
33203
|
.set('th-list', (jodit_plugins_inline_popup_icons_th_list_svg__WEBPACK_IMPORTED_MODULE_12___default()));
|
|
33198
|
-
|
|
33199
|
-
a:
|
|
33200
|
-
img:
|
|
33201
|
-
cells:
|
|
33204
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.popup = {
|
|
33205
|
+
a: _items_a__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A,
|
|
33206
|
+
img: _items_img__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .A,
|
|
33207
|
+
cells: _items_cells__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .A,
|
|
33202
33208
|
toolbar: _items_toolbar__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .A,
|
|
33203
|
-
jodit:
|
|
33204
|
-
iframe:
|
|
33205
|
-
'jodit-media':
|
|
33209
|
+
jodit: _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
33210
|
+
iframe: _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
33211
|
+
'jodit-media': _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
33206
33212
|
selection: [
|
|
33207
33213
|
'bold',
|
|
33208
33214
|
'underline',
|
|
@@ -33814,12 +33820,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inlin
|
|
|
33814
33820
|
/* unused harmony export justify */
|
|
33815
33821
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55186);
|
|
33816
33822
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
33817
|
-
/* harmony import */ var
|
|
33818
|
-
/* harmony import */ var
|
|
33819
|
-
/* harmony import */ var
|
|
33820
|
-
/* harmony import */ var
|
|
33821
|
-
/* harmony import */ var _justify_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_justify_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
33823
|
+
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65147);
|
|
33824
|
+
/* harmony import */ var jodit_core_helpers_utils_align__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(40080);
|
|
33825
|
+
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(38322);
|
|
33826
|
+
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(931);
|
|
33822
33827
|
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(36115);
|
|
33828
|
+
/* harmony import */ var _justify_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(80515);
|
|
33829
|
+
/* harmony import */ var _justify_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_justify_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
33823
33830
|
/*!
|
|
33824
33831
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
33825
33832
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -33832,7 +33839,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inlin
|
|
|
33832
33839
|
|
|
33833
33840
|
|
|
33834
33841
|
|
|
33835
|
-
|
|
33842
|
+
|
|
33843
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('justify', (_justify_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
33836
33844
|
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.align = {
|
|
33837
33845
|
name: 'left',
|
|
33838
33846
|
tooltip: 'Align',
|
|
@@ -33841,22 +33849,25 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.ali
|
|
|
33841
33849
|
if (current) {
|
|
33842
33850
|
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) ||
|
|
33843
33851
|
editor.editor;
|
|
33844
|
-
let currentValue = (0,
|
|
33852
|
+
let currentValue = (0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__/* .css */ .A)(currentBox, 'text-align').toString();
|
|
33845
33853
|
if (control.defaultValue &&
|
|
33846
33854
|
control.defaultValue.indexOf(currentValue) !== -1) {
|
|
33847
33855
|
currentValue = 'left';
|
|
33848
33856
|
}
|
|
33849
|
-
|
|
33850
|
-
|
|
33851
|
-
|
|
33852
|
-
|
|
33857
|
+
const { list, data } = control;
|
|
33858
|
+
if (data &&
|
|
33859
|
+
data.currentValue !== currentValue &&
|
|
33860
|
+
list &&
|
|
33861
|
+
((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isPlainObject)(list)
|
|
33862
|
+
? list[currentValue]
|
|
33863
|
+
: list.includes(currentValue))) {
|
|
33853
33864
|
if (editor.o.textIcons || control.component === 'select') {
|
|
33854
33865
|
button.state.text = currentValue;
|
|
33855
33866
|
}
|
|
33856
33867
|
else {
|
|
33857
33868
|
button.state.icon.name = currentValue;
|
|
33858
33869
|
}
|
|
33859
|
-
|
|
33870
|
+
data.currentValue = currentValue;
|
|
33860
33871
|
}
|
|
33861
33872
|
}
|
|
33862
33873
|
},
|
|
@@ -33867,7 +33878,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.ali
|
|
|
33867
33878
|
}
|
|
33868
33879
|
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) ||
|
|
33869
33880
|
editor.editor;
|
|
33870
|
-
return (btn.control.defaultValue.indexOf((0,
|
|
33881
|
+
return (btn.control.defaultValue.indexOf((0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__/* .css */ .A)(currentBox, 'text-align').toString()) === -1);
|
|
33871
33882
|
},
|
|
33872
33883
|
defaultValue: ['left', 'start', 'inherit'],
|
|
33873
33884
|
data: {
|
|
@@ -33921,7 +33932,7 @@ function justify(editor) {
|
|
|
33921
33932
|
if (!currentBox) {
|
|
33922
33933
|
currentBox = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.wrapInline(current, editor.o.enterBlock, editor);
|
|
33923
33934
|
}
|
|
33924
|
-
(0,
|
|
33935
|
+
(0,jodit_core_helpers_utils_align__WEBPACK_IMPORTED_MODULE_3__/* .alignElement */ .Op)(command, currentBox);
|
|
33925
33936
|
});
|
|
33926
33937
|
return false;
|
|
33927
33938
|
};
|
|
@@ -34133,9 +34144,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('limit
|
|
|
34133
34144
|
"use strict";
|
|
34134
34145
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(65147);
|
|
34135
34146
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(931);
|
|
34136
|
-
/* harmony import */ var
|
|
34137
|
-
/* harmony import */ var
|
|
34138
|
-
/* harmony import */ var
|
|
34147
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
34148
|
+
/* harmony import */ var _line_height_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(223);
|
|
34149
|
+
/* harmony import */ var _line_height_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_line_height_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
34139
34150
|
/*!
|
|
34140
34151
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
34141
34152
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -34145,9 +34156,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('limit
|
|
|
34145
34156
|
|
|
34146
34157
|
|
|
34147
34158
|
|
|
34148
|
-
|
|
34149
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('line-height', (
|
|
34150
|
-
|
|
34159
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.defaultLineHeight = null;
|
|
34160
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('line-height', (_line_height_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
34161
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.lineHeight = {
|
|
34151
34162
|
command: 'applyLineHeight',
|
|
34152
34163
|
tags: ['ol'],
|
|
34153
34164
|
tooltip: 'Line height',
|
|
@@ -34712,12 +34723,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('lineH
|
|
|
34712
34723
|
"use strict";
|
|
34713
34724
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55186);
|
|
34714
34725
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(931);
|
|
34715
|
-
/* harmony import */ var
|
|
34716
|
-
/* harmony import */ var
|
|
34717
|
-
/* harmony import */ var
|
|
34718
|
-
/* harmony import */ var
|
|
34719
|
-
/* harmony import */ var
|
|
34720
|
-
/* harmony import */ var
|
|
34726
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
34727
|
+
/* harmony import */ var _icons_link_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(95032);
|
|
34728
|
+
/* harmony import */ var _icons_link_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_link_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
34729
|
+
/* harmony import */ var _icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(73533);
|
|
34730
|
+
/* harmony import */ var _icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
34731
|
+
/* harmony import */ var _template__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(21329);
|
|
34721
34732
|
/*!
|
|
34722
34733
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
34723
34734
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -34729,8 +34740,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('lineH
|
|
|
34729
34740
|
|
|
34730
34741
|
|
|
34731
34742
|
|
|
34732
|
-
|
|
34733
|
-
formTemplate:
|
|
34743
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.link = {
|
|
34744
|
+
formTemplate: _template__WEBPACK_IMPORTED_MODULE_5__/* .formTemplate */ .B,
|
|
34734
34745
|
followOnDblClick: false,
|
|
34735
34746
|
processVideoLink: true,
|
|
34736
34747
|
processPastedLink: true,
|
|
@@ -34742,8 +34753,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.link = {
|
|
|
34742
34753
|
selectOptionsClassName: [],
|
|
34743
34754
|
hotkeys: ['ctrl+k', 'cmd+k']
|
|
34744
34755
|
};
|
|
34745
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('link', (
|
|
34746
|
-
|
|
34756
|
+
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()));
|
|
34757
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.unlink = {
|
|
34747
34758
|
exec: (editor, current) => {
|
|
34748
34759
|
const anchor = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor);
|
|
34749
34760
|
if (anchor) {
|
|
@@ -34754,7 +34765,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.unl
|
|
|
34754
34765
|
},
|
|
34755
34766
|
tooltip: 'Unlink'
|
|
34756
34767
|
};
|
|
34757
|
-
|
|
34768
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.link = {
|
|
34758
34769
|
isActive: (editor) => {
|
|
34759
34770
|
const current = editor.s.current();
|
|
34760
34771
|
return Boolean(current && jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor));
|
|
@@ -35299,9 +35310,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('media
|
|
|
35299
35310
|
"use strict";
|
|
35300
35311
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17352);
|
|
35301
35312
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65147);
|
|
35302
|
-
/* harmony import */ var
|
|
35303
|
-
/* harmony import */ var
|
|
35304
|
-
/* harmony import */ var
|
|
35313
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
35314
|
+
/* harmony import */ var jodit_modules_toolbar_collection_collection__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(97394);
|
|
35315
|
+
/* harmony import */ var jodit_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(8809);
|
|
35305
35316
|
/*!
|
|
35306
35317
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
35307
35318
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -35312,9 +35323,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('media
|
|
|
35312
35323
|
|
|
35313
35324
|
|
|
35314
35325
|
|
|
35315
|
-
|
|
35316
|
-
|
|
35317
|
-
|
|
35326
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.mobileTapTimeout = 300;
|
|
35327
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.toolbarAdaptive = true;
|
|
35328
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsMD = [
|
|
35318
35329
|
{
|
|
35319
35330
|
group: 'font-style',
|
|
35320
35331
|
buttons: []
|
|
@@ -35361,7 +35372,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsMD =
|
|
|
35361
35372
|
'|',
|
|
35362
35373
|
'dots'
|
|
35363
35374
|
];
|
|
35364
|
-
|
|
35375
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsSM = [
|
|
35365
35376
|
{
|
|
35366
35377
|
group: 'font-style',
|
|
35367
35378
|
buttons: []
|
|
@@ -35396,7 +35407,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsSM =
|
|
|
35396
35407
|
'|',
|
|
35397
35408
|
'dots'
|
|
35398
35409
|
];
|
|
35399
|
-
|
|
35410
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsXS = [
|
|
35400
35411
|
{
|
|
35401
35412
|
group: 'font-style',
|
|
35402
35413
|
buttons: []
|
|
@@ -35417,17 +35428,17 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsXS =
|
|
|
35417
35428
|
'---',
|
|
35418
35429
|
'dots'
|
|
35419
35430
|
];
|
|
35420
|
-
|
|
35431
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.dots = {
|
|
35421
35432
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SOURCE + jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_WYSIWYG,
|
|
35422
35433
|
popup: (editor, current, close, button) => {
|
|
35423
35434
|
let store = button.control.data;
|
|
35424
35435
|
if (store === undefined) {
|
|
35425
35436
|
store = {
|
|
35426
|
-
toolbar: (0,
|
|
35437
|
+
toolbar: (0,jodit_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_4__/* .makeCollection */ .$K)(editor),
|
|
35427
35438
|
rebuild: () => {
|
|
35428
35439
|
var _a, _b;
|
|
35429
35440
|
if (button) {
|
|
35430
|
-
const buttons = editor.e.fire('getDiffButtons.mobile', button.closest(
|
|
35441
|
+
const buttons = editor.e.fire('getDiffButtons.mobile', button.closest(jodit_modules_toolbar_collection_collection__WEBPACK_IMPORTED_MODULE_3__/* .ToolbarCollection */ .Q));
|
|
35431
35442
|
if (buttons && store) {
|
|
35432
35443
|
store.toolbar.build((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.splitArray)(buttons));
|
|
35433
35444
|
const w = ((_b = (_a = editor.toolbar) === null || _a === void 0 ? void 0 : _a.firstButton) === null || _b === void 0 ? void 0 : _b.container.offsetWidth) || 36;
|
|
@@ -35536,11 +35547,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('mobil
|
|
|
35536
35547
|
"use strict";
|
|
35537
35548
|
/* harmony import */ var jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(72197);
|
|
35538
35549
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(931);
|
|
35539
|
-
/* harmony import */ var
|
|
35540
|
-
/* harmony import */ var
|
|
35541
|
-
/* harmony import */ var
|
|
35542
|
-
/* harmony import */ var
|
|
35543
|
-
/* harmony import */ var
|
|
35550
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
35551
|
+
/* harmony import */ var _icons_ol_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(40037);
|
|
35552
|
+
/* harmony import */ var _icons_ol_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_ol_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
35553
|
+
/* harmony import */ var _icons_ul_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(83207);
|
|
35554
|
+
/* harmony import */ var _icons_ul_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_ul_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
35544
35555
|
/*!
|
|
35545
35556
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
35546
35557
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -35558,8 +35569,8 @@ const memoExec = (jodit, _, { control }) => {
|
|
|
35558
35569
|
(0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_0__/* .dataBind */ .m)(jodit, key, value);
|
|
35559
35570
|
jodit.execCommand(control.command, false, value === 'default' ? null : value);
|
|
35560
35571
|
};
|
|
35561
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('ol', (
|
|
35562
|
-
|
|
35572
|
+
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()));
|
|
35573
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.ul = {
|
|
35563
35574
|
command: 'insertUnorderedList',
|
|
35564
35575
|
tags: ['ul'],
|
|
35565
35576
|
tooltip: 'Insert Unordered List',
|
|
@@ -35571,7 +35582,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.ul
|
|
|
35571
35582
|
},
|
|
35572
35583
|
exec: memoExec
|
|
35573
35584
|
};
|
|
35574
|
-
|
|
35585
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.ol = {
|
|
35575
35586
|
command: 'insertOrderedList',
|
|
35576
35587
|
tags: ['ol'],
|
|
35577
35588
|
tooltip: 'Insert Ordered List',
|
|
@@ -35946,8 +35957,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('paste
|
|
|
35946
35957
|
|
|
35947
35958
|
"use strict";
|
|
35948
35959
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17352);
|
|
35949
|
-
/* harmony import */ var
|
|
35950
|
-
/* harmony import */ var
|
|
35960
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
35961
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(90823);
|
|
35951
35962
|
/*!
|
|
35952
35963
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
35953
35964
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -35956,19 +35967,19 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('paste
|
|
|
35956
35967
|
|
|
35957
35968
|
|
|
35958
35969
|
|
|
35959
|
-
|
|
35960
|
-
|
|
35961
|
-
|
|
35962
|
-
|
|
35963
|
-
|
|
35970
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.askBeforePasteHTML = true;
|
|
35971
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.processPasteHTML = true;
|
|
35972
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.scrollToPastedContent = true;
|
|
35973
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.pasteExcludeStripTags = ['br', 'hr'];
|
|
35974
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.pasteHTMLActionList = [
|
|
35964
35975
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_AS_HTML, text: 'Keep' },
|
|
35965
35976
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_AS_TEXT, text: 'Insert as Text' },
|
|
35966
35977
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_ONLY_TEXT, text: 'Insert only Text' }
|
|
35967
35978
|
];
|
|
35968
|
-
|
|
35969
|
-
|
|
35979
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.memorizeChoiceWhenPasteFragment = false;
|
|
35980
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.nl2brInPlainText = true;
|
|
35970
35981
|
const psKey = 'pasteStorage';
|
|
35971
|
-
|
|
35982
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.paste = {
|
|
35972
35983
|
tooltip: 'Paste from clipboard',
|
|
35973
35984
|
async exec(editor, _, { control }) {
|
|
35974
35985
|
if (control.name === psKey) {
|
|
@@ -36016,7 +36027,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.pas
|
|
|
36016
36027
|
!error && editor.e.fire('afterPaste');
|
|
36017
36028
|
}
|
|
36018
36029
|
else if (text.length) {
|
|
36019
|
-
(0,
|
|
36030
|
+
(0,_helpers__WEBPACK_IMPORTED_MODULE_2__/* .pasteInsertHtml */ .sX)(null, editor, text);
|
|
36020
36031
|
editor.e.fire('afterPaste');
|
|
36021
36032
|
}
|
|
36022
36033
|
else {
|
|
@@ -36741,10 +36752,10 @@ function generateCriticalCSS(jodit) {
|
|
|
36741
36752
|
/* harmony import */ var jodit_core_helpers_utils_default_language__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(17527);
|
|
36742
36753
|
/* harmony import */ var jodit_core_helpers_utils_print__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(98434);
|
|
36743
36754
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(931);
|
|
36744
|
-
/* harmony import */ var
|
|
36745
|
-
/* harmony import */ var
|
|
36746
|
-
/* harmony import */ var
|
|
36747
|
-
/* harmony import */ var
|
|
36755
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(36115);
|
|
36756
|
+
/* harmony import */ var _lib_generate_critical_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(11131);
|
|
36757
|
+
/* harmony import */ var _print_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(59827);
|
|
36758
|
+
/* harmony import */ var _print_svg__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_print_svg__WEBPACK_IMPORTED_MODULE_7__);
|
|
36748
36759
|
/*!
|
|
36749
36760
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
36750
36761
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -36759,8 +36770,8 @@ function generateCriticalCSS(jodit) {
|
|
|
36759
36770
|
|
|
36760
36771
|
|
|
36761
36772
|
|
|
36762
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('print', (
|
|
36763
|
-
|
|
36773
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('print', (_print_svg__WEBPACK_IMPORTED_MODULE_7___default()));
|
|
36774
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.print = {
|
|
36764
36775
|
exec: (editor) => {
|
|
36765
36776
|
const iframe = editor.create.element('iframe');
|
|
36766
36777
|
Object.assign(iframe.style, {
|
|
@@ -36771,7 +36782,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_7__/* .Config */ .T.prototype.controls.pri
|
|
|
36771
36782
|
height: 0,
|
|
36772
36783
|
border: 0
|
|
36773
36784
|
});
|
|
36774
|
-
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .getContainer */ .My)(editor,
|
|
36785
|
+
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .getContainer */ .My)(editor, jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T).appendChild(iframe);
|
|
36775
36786
|
const afterFinishPrint = () => {
|
|
36776
36787
|
editor.e.off(editor.ow, 'mousemove', afterFinishPrint);
|
|
36777
36788
|
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.safeRemove(iframe);
|
|
@@ -36789,7 +36800,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_7__/* .Config */ .T.prototype.controls.pri
|
|
|
36789
36800
|
myWindow.document.write('<!doctype html><html lang="' +
|
|
36790
36801
|
(0,jodit_core_helpers_utils_default_language__WEBPACK_IMPORTED_MODULE_8__/* .defaultLanguage */ .e)(editor.o.language) +
|
|
36791
36802
|
'"><head><title></title></head><style>' +
|
|
36792
|
-
(0,
|
|
36803
|
+
(0,_lib_generate_critical_css__WEBPACK_IMPORTED_MODULE_6__/* .generateCriticalCSS */ .Y)(editor) +
|
|
36793
36804
|
'</style><body></body></html>');
|
|
36794
36805
|
myWindow.document.close();
|
|
36795
36806
|
(0,jodit_core_helpers_utils_print__WEBPACK_IMPORTED_MODULE_3__/* .previewBox */ .u)(editor, undefined, 'px', myWindow.document.body);
|
|
@@ -36827,11 +36838,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('print
|
|
|
36827
36838
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
36828
36839
|
/* harmony import */ var jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(29866);
|
|
36829
36840
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(931);
|
|
36830
|
-
/* harmony import */ var
|
|
36831
|
-
/* harmony import */ var
|
|
36832
|
-
/* harmony import */ var
|
|
36833
|
-
/* harmony import */ var
|
|
36834
|
-
/* harmony import */ var
|
|
36841
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
36842
|
+
/* harmony import */ var _icons_redo_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(34045);
|
|
36843
|
+
/* harmony import */ var _icons_redo_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_redo_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
36844
|
+
/* harmony import */ var _icons_undo_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(39199);
|
|
36845
|
+
/* harmony import */ var _icons_undo_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_icons_undo_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
36835
36846
|
/*!
|
|
36836
36847
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
36837
36848
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -36844,13 +36855,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('print
|
|
|
36844
36855
|
|
|
36845
36856
|
|
|
36846
36857
|
|
|
36847
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('redo', (
|
|
36848
|
-
|
|
36858
|
+
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()));
|
|
36859
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.redo = {
|
|
36849
36860
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
36850
36861
|
isDisabled: (editor) => !editor.history.canRedo(),
|
|
36851
36862
|
tooltip: 'Redo'
|
|
36852
36863
|
};
|
|
36853
|
-
|
|
36864
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.undo = {
|
|
36854
36865
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
36855
36866
|
isDisabled: (editor) => !editor.history.canUndo(),
|
|
36856
36867
|
tooltip: 'Undo'
|
|
@@ -37869,9 +37880,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('resiz
|
|
|
37869
37880
|
|
|
37870
37881
|
"use strict";
|
|
37871
37882
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
37872
|
-
/* harmony import */ var
|
|
37873
|
-
/* harmony import */ var
|
|
37874
|
-
/* harmony import */ var
|
|
37883
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
37884
|
+
/* harmony import */ var _search_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(21917);
|
|
37885
|
+
/* harmony import */ var _search_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_search_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
37875
37886
|
/*!
|
|
37876
37887
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
37877
37888
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -37881,14 +37892,14 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('resiz
|
|
|
37881
37892
|
|
|
37882
37893
|
|
|
37883
37894
|
|
|
37884
|
-
|
|
37885
|
-
|
|
37895
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.useSearch = true;
|
|
37896
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.search = {
|
|
37886
37897
|
lazyIdleTimeout: 0,
|
|
37887
37898
|
// @ts-ignore Because Highlight is not defined in the types TS 5.3.3
|
|
37888
37899
|
useCustomHighlightAPI: typeof window.Highlight !== 'undefined'
|
|
37889
37900
|
};
|
|
37890
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('search', (
|
|
37891
|
-
|
|
37901
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('search', (_search_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
37902
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.find = {
|
|
37892
37903
|
tooltip: 'Find',
|
|
37893
37904
|
icon: 'search',
|
|
37894
37905
|
exec(jodit, _, { control }) {
|
|
@@ -39506,9 +39517,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('size'
|
|
|
39506
39517
|
"use strict";
|
|
39507
39518
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17352);
|
|
39508
39519
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(931);
|
|
39509
|
-
/* harmony import */ var
|
|
39510
|
-
/* harmony import */ var
|
|
39511
|
-
/* harmony import */ var
|
|
39520
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
39521
|
+
/* harmony import */ var _source_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9103);
|
|
39522
|
+
/* harmony import */ var _source_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_source_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
39512
39523
|
/*!
|
|
39513
39524
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
39514
39525
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -39518,9 +39529,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('size'
|
|
|
39518
39529
|
|
|
39519
39530
|
|
|
39520
39531
|
|
|
39521
|
-
|
|
39522
|
-
|
|
39523
|
-
|
|
39532
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.beautifyHTML = !jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.IS_IE;
|
|
39533
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditor = 'ace';
|
|
39534
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditorNativeOptions = {
|
|
39524
39535
|
/**
|
|
39525
39536
|
* Show gutter
|
|
39526
39537
|
*/
|
|
@@ -39542,15 +39553,15 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.sourceEditor
|
|
|
39542
39553
|
*/
|
|
39543
39554
|
highlightActiveLine: true
|
|
39544
39555
|
};
|
|
39545
|
-
|
|
39556
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditorCDNUrlsJS = [
|
|
39546
39557
|
'https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.2/ace.js'
|
|
39547
39558
|
];
|
|
39548
|
-
|
|
39559
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.beautifyHTMLCDNUrlsJS = [
|
|
39549
39560
|
'https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify.min.js',
|
|
39550
39561
|
'https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify-html.min.js'
|
|
39551
39562
|
];
|
|
39552
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('source', (
|
|
39553
|
-
|
|
39563
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('source', (_source_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
39564
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.source = {
|
|
39554
39565
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
39555
39566
|
exec: (editor) => {
|
|
39556
39567
|
editor.toggleMode();
|
|
@@ -40360,9 +40371,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('sourc
|
|
|
40360
40371
|
|
|
40361
40372
|
"use strict";
|
|
40362
40373
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
40363
|
-
/* harmony import */ var
|
|
40364
|
-
/* harmony import */ var
|
|
40365
|
-
/* harmony import */ var
|
|
40374
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
40375
|
+
/* harmony import */ var _spellcheck_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(49989);
|
|
40376
|
+
/* harmony import */ var _spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
40366
40377
|
/*!
|
|
40367
40378
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
40368
40379
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -40371,13 +40382,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('sourc
|
|
|
40371
40382
|
|
|
40372
40383
|
|
|
40373
40384
|
|
|
40374
|
-
|
|
40375
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('spellcheck', (
|
|
40376
|
-
|
|
40385
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.spellcheck = false;
|
|
40386
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('spellcheck', (_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
40387
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.spellcheck = {
|
|
40377
40388
|
isActive(e) {
|
|
40378
40389
|
return e.o.spellcheck;
|
|
40379
40390
|
},
|
|
40380
|
-
icon: (
|
|
40391
|
+
icon: (_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default()),
|
|
40381
40392
|
name: 'spellcheck',
|
|
40382
40393
|
command: 'toggleSpellcheck',
|
|
40383
40394
|
tooltip: 'Spellcheck'
|
|
@@ -41152,9 +41163,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('stick
|
|
|
41152
41163
|
|
|
41153
41164
|
"use strict";
|
|
41154
41165
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
41155
|
-
/* harmony import */ var
|
|
41156
|
-
/* harmony import */ var
|
|
41157
|
-
/* harmony import */ var
|
|
41166
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
41167
|
+
/* harmony import */ var _symbols_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(81875);
|
|
41168
|
+
/* harmony import */ var _symbols_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_symbols_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
41158
41169
|
/*!
|
|
41159
41170
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
41160
41171
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -41163,8 +41174,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('stick
|
|
|
41163
41174
|
|
|
41164
41175
|
|
|
41165
41176
|
|
|
41166
|
-
|
|
41167
|
-
|
|
41177
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.usePopupForSpecialCharacters = false;
|
|
41178
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.specialCharacters = [
|
|
41168
41179
|
'!',
|
|
41169
41180
|
'"',
|
|
41170
41181
|
'#',
|
|
@@ -41376,8 +41387,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.specialChara
|
|
|
41376
41387
|
'♦',
|
|
41377
41388
|
'≈'
|
|
41378
41389
|
];
|
|
41379
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('symbols', (
|
|
41380
|
-
|
|
41390
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('symbols', (_symbols_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
41391
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.symbols = {
|
|
41381
41392
|
hotkeys: ['ctrl+shift+i', 'cmd+shift+i'],
|
|
41382
41393
|
tooltip: 'Insert Special Character',
|
|
41383
41394
|
popup: (editor, current, close) => {
|
|
@@ -42366,9 +42377,9 @@ function findCell(editor, key) {
|
|
|
42366
42377
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65147);
|
|
42367
42378
|
/* harmony import */ var jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(97369);
|
|
42368
42379
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(931);
|
|
42369
|
-
/* harmony import */ var
|
|
42370
|
-
/* harmony import */ var
|
|
42371
|
-
/* harmony import */ var
|
|
42380
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
42381
|
+
/* harmony import */ var _table_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(67447);
|
|
42382
|
+
/* harmony import */ var _table_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_table_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
42372
42383
|
/*!
|
|
42373
42384
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
42374
42385
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -42380,12 +42391,12 @@ function findCell(editor, key) {
|
|
|
42380
42391
|
|
|
42381
42392
|
|
|
42382
42393
|
|
|
42383
|
-
|
|
42394
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.table = {
|
|
42384
42395
|
selectionCellStyle: 'border: 1px double #1e88e5 !important;',
|
|
42385
42396
|
useExtraClassesOptions: false
|
|
42386
42397
|
};
|
|
42387
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('table', (
|
|
42388
|
-
|
|
42398
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('table', (_table_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
42399
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.table = {
|
|
42389
42400
|
data: {
|
|
42390
42401
|
cols: 10,
|
|
42391
42402
|
rows: 10,
|
|
@@ -42552,10 +42563,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('table
|
|
|
42552
42563
|
/* harmony import */ var jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(35265);
|
|
42553
42564
|
/* harmony import */ var jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(20703);
|
|
42554
42565
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(931);
|
|
42555
|
-
/* harmony import */ var
|
|
42556
|
-
/* harmony import */ var
|
|
42557
|
-
/* harmony import */ var
|
|
42558
|
-
/* harmony import */ var
|
|
42566
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
42567
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(16116);
|
|
42568
|
+
/* harmony import */ var _video_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(36339);
|
|
42569
|
+
/* harmony import */ var _video_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_video_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
42559
42570
|
/*!
|
|
42560
42571
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
42561
42572
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -42568,8 +42579,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('table
|
|
|
42568
42579
|
|
|
42569
42580
|
|
|
42570
42581
|
|
|
42571
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('video', (
|
|
42572
|
-
|
|
42582
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('video', (_video_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
42583
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.video = {
|
|
42573
42584
|
popup: (editor, current, close) => {
|
|
42574
42585
|
const formLink = new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIForm */ .XV(editor, [
|
|
42575
42586
|
new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIBlock */ .Yh(editor, [
|
|
@@ -42616,7 +42627,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.prototype.controls.vid
|
|
|
42616
42627
|
formCode.onSubmit(data => {
|
|
42617
42628
|
insertCode(data.code);
|
|
42618
42629
|
});
|
|
42619
|
-
return (0,
|
|
42630
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__/* .TabsWidget */ .Zg)(editor, tabs);
|
|
42620
42631
|
},
|
|
42621
42632
|
tags: ['iframe'],
|
|
42622
42633
|
tooltip: 'Insert youtube/vimeo video'
|