jodit 4.2.15 → 4.2.17
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 +64 -5
- package/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +406 -382
- 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 +406 -384
- 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 +406 -382
- 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 +406 -382
- 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 +411 -387
- 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/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/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/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.17
|
|
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.17";
|
|
1740
1740
|
// prettier-ignore
|
|
1741
1741
|
const ES = "es2018";
|
|
1742
1742
|
const IS_ES_MODERN = true;
|
|
@@ -7538,9 +7538,9 @@ const completeUrl = (url) => {
|
|
|
7538
7538
|
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(25376);
|
|
7539
7539
|
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(98253);
|
|
7540
7540
|
/* harmony import */ var jodit_core_helpers_checker_is_void__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(35642);
|
|
7541
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(36115);
|
|
7541
7542
|
/* 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);
|
|
7543
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(84976);
|
|
7544
7544
|
/*!
|
|
7545
7545
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
7546
7546
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -7588,7 +7588,7 @@ function ConfigProto(options, proto, deep = 0) {
|
|
|
7588
7588
|
if (Object.getPrototypeOf(options) !== Object.prototype) {
|
|
7589
7589
|
return options;
|
|
7590
7590
|
}
|
|
7591
|
-
const def =
|
|
7591
|
+
const def = jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.defaultOptions;
|
|
7592
7592
|
if ((0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__/* .isString */ .K)(options.preset)) {
|
|
7593
7593
|
if (def.presets[options.preset] !== undefined) {
|
|
7594
7594
|
const preset = def.presets[options.preset];
|
|
@@ -7618,7 +7618,7 @@ function ConfigProto(options, proto, deep = 0) {
|
|
|
7618
7618
|
return newOpt;
|
|
7619
7619
|
}
|
|
7620
7620
|
function ConfigFlatten(obj) {
|
|
7621
|
-
return (0,
|
|
7621
|
+
return (0,_utils__WEBPACK_IMPORTED_MODULE_1__/* .keys */ .HP)(obj, false).reduce((app, key) => {
|
|
7622
7622
|
app[key] = obj[key];
|
|
7623
7623
|
return app;
|
|
7624
7624
|
}, {});
|
|
@@ -9582,9 +9582,9 @@ Plugin.requires = [];
|
|
|
9582
9582
|
/* harmony import */ var jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(26318);
|
|
9583
9583
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65147);
|
|
9584
9584
|
/* harmony import */ var jodit_core_helpers_utils_error__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(50156);
|
|
9585
|
-
/* harmony import */ var
|
|
9585
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
9586
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(27337);
|
|
9586
9587
|
/* 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
9588
|
/*!
|
|
9589
9589
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
9590
9590
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -9602,7 +9602,7 @@ class Ajax {
|
|
|
9602
9602
|
className() {
|
|
9603
9603
|
return 'Ajax';
|
|
9604
9604
|
}
|
|
9605
|
-
constructor(options, defaultAjaxOptions =
|
|
9605
|
+
constructor(options, defaultAjaxOptions = jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.defaultAjaxOptions) {
|
|
9606
9606
|
this.__async = new jodit_core_async__WEBPACK_IMPORTED_MODULE_0__/* .Async */ .j();
|
|
9607
9607
|
this.__isFulfilled = false;
|
|
9608
9608
|
this.__activated = false;
|
|
@@ -15067,7 +15067,6 @@ function getControlType(button, controls) {
|
|
|
15067
15067
|
* @private
|
|
15068
15068
|
*/
|
|
15069
15069
|
function findControlType(path, controls) {
|
|
15070
|
-
var _a;
|
|
15071
15070
|
// eslint-disable-next-line prefer-const
|
|
15072
15071
|
let [namespaceOrKey, key] = path.split(/\./);
|
|
15073
15072
|
let store = controls;
|
|
@@ -15079,17 +15078,23 @@ function findControlType(path, controls) {
|
|
|
15079
15078
|
else {
|
|
15080
15079
|
key = namespaceOrKey;
|
|
15081
15080
|
}
|
|
15082
|
-
const list =
|
|
15081
|
+
// const list = store[key]?.list;
|
|
15083
15082
|
return store[key]
|
|
15084
15083
|
? {
|
|
15085
15084
|
name: key,
|
|
15086
|
-
...(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__.ConfigFlatten)(store[key])
|
|
15087
|
-
list:
|
|
15088
|
-
|
|
15089
|
-
|
|
15090
|
-
|
|
15091
|
-
|
|
15092
|
-
|
|
15085
|
+
...(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__.ConfigFlatten)(store[key])
|
|
15086
|
+
// list: isArray(list)
|
|
15087
|
+
// ? (<Array<string>>list).reduce(
|
|
15088
|
+
// (
|
|
15089
|
+
// acc: IDictionary<string | number>,
|
|
15090
|
+
// k: string | number
|
|
15091
|
+
// ) => {
|
|
15092
|
+
// acc[String(k)] = k;
|
|
15093
|
+
// return acc;
|
|
15094
|
+
// },
|
|
15095
|
+
// {}
|
|
15096
|
+
// )
|
|
15097
|
+
// : list
|
|
15093
15098
|
}
|
|
15094
15099
|
: undefined;
|
|
15095
15100
|
}
|
|
@@ -15106,8 +15111,8 @@ function findControlType(path, controls) {
|
|
|
15106
15111
|
/* harmony export */ });
|
|
15107
15112
|
/* harmony import */ var jodit_core_helpers_checker_is_array__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(37923);
|
|
15108
15113
|
/* harmony import */ var jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(97369);
|
|
15109
|
-
/* harmony import */ var
|
|
15110
|
-
/* harmony import */ var
|
|
15114
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
15115
|
+
/* harmony import */ var _get_control_type__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(57023);
|
|
15111
15116
|
/*!
|
|
15112
15117
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
15113
15118
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -15127,7 +15132,7 @@ function getStrongControlTypes(items, controls) {
|
|
|
15127
15132
|
const value = items[key] || {};
|
|
15128
15133
|
return (0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_0__.ConfigProto)({ name: key }, value);
|
|
15129
15134
|
});
|
|
15130
|
-
return elements.map(item => (0,
|
|
15135
|
+
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
15136
|
}
|
|
15132
15137
|
|
|
15133
15138
|
|
|
@@ -16227,8 +16232,8 @@ View.defaultOptions = {
|
|
|
16227
16232
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(65147);
|
|
16228
16233
|
/* harmony import */ var jodit_core_request__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(53883);
|
|
16229
16234
|
/* harmony import */ var jodit_core_traits_dlgs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(58597);
|
|
16230
|
-
/* harmony import */ var
|
|
16231
|
-
/* harmony import */ var
|
|
16235
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(36115);
|
|
16236
|
+
/* harmony import */ var jodit_modules__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(37435);
|
|
16232
16237
|
/*!
|
|
16233
16238
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
16234
16239
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -16247,7 +16252,7 @@ var Jodit_1;
|
|
|
16247
16252
|
|
|
16248
16253
|
const __defaultStyleDisplayKey = 'data-jodit-default-style-display';
|
|
16249
16254
|
const __defaultClassesKey = 'data-jodit-default-classes';
|
|
16250
|
-
let Jodit = Jodit_1 = class Jodit extends
|
|
16255
|
+
let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE_7__.ViewWithToolbar {
|
|
16251
16256
|
/** @override */
|
|
16252
16257
|
className() {
|
|
16253
16258
|
return 'Jodit';
|
|
@@ -16294,7 +16299,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
16294
16299
|
get defaultTimeout() {
|
|
16295
16300
|
return (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isNumber)(this.o.defaultTimeout)
|
|
16296
16301
|
? this.o.defaultTimeout
|
|
16297
|
-
:
|
|
16302
|
+
: jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions.defaultTimeout;
|
|
16298
16303
|
}
|
|
16299
16304
|
/**
|
|
16300
16305
|
* Method wrap usual Has Object in Object helper for prevent deep object merging in options*
|
|
@@ -16320,10 +16325,10 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
16320
16325
|
* Default settings
|
|
16321
16326
|
*/
|
|
16322
16327
|
static get defaultOptions() {
|
|
16323
|
-
return
|
|
16328
|
+
return jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions;
|
|
16324
16329
|
}
|
|
16325
16330
|
get createInside() {
|
|
16326
|
-
return new
|
|
16331
|
+
return new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Create(() => this.ed, this.o.createAttributes);
|
|
16327
16332
|
}
|
|
16328
16333
|
__setPlaceField(field, value) {
|
|
16329
16334
|
if (!this.currentPlace) {
|
|
@@ -16871,8 +16876,8 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
16871
16876
|
const active = this.od.activeElement;
|
|
16872
16877
|
if (active &&
|
|
16873
16878
|
(active === this.iframe ||
|
|
16874
|
-
|
|
16875
|
-
|
|
16879
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.isOrContains(this.editor, active) ||
|
|
16880
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.isOrContains(this.toolbar.container, active))) {
|
|
16876
16881
|
return jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_WYSIWYG;
|
|
16877
16882
|
}
|
|
16878
16883
|
return jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SOURCE;
|
|
@@ -17024,7 +17029,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17024
17029
|
}
|
|
17025
17030
|
/** @override **/
|
|
17026
17031
|
initOptions(options) {
|
|
17027
|
-
this.options = ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {},
|
|
17032
|
+
this.options = ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions));
|
|
17028
17033
|
}
|
|
17029
17034
|
/** @override **/
|
|
17030
17035
|
initOwners() {
|
|
@@ -17069,7 +17074,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17069
17074
|
this.destruct();
|
|
17070
17075
|
throw e;
|
|
17071
17076
|
}
|
|
17072
|
-
this.setStatus(
|
|
17077
|
+
this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.STATUSES.beforeInit);
|
|
17073
17078
|
this.id =
|
|
17074
17079
|
(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
17080
|
new Date().getTime().toString();
|
|
@@ -17081,7 +17086,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17081
17086
|
}
|
|
17082
17087
|
});
|
|
17083
17088
|
this.e.on('prepareWYSIWYGEditor', this.__prepareWYSIWYGEditor);
|
|
17084
|
-
this.selection = new
|
|
17089
|
+
this.selection = new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Selection(this);
|
|
17085
17090
|
const beforeInitHookResult = this.beforeInitHook();
|
|
17086
17091
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.callPromise)(beforeInitHookResult, () => {
|
|
17087
17092
|
if (this.isInDestruct) {
|
|
@@ -17105,7 +17110,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17105
17110
|
this.e.fire('afterInit', this);
|
|
17106
17111
|
}
|
|
17107
17112
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.callPromise)(this.afterInitHook());
|
|
17108
|
-
this.setStatus(
|
|
17113
|
+
this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.STATUSES.ready);
|
|
17109
17114
|
this.e.fire('afterConstructor', this);
|
|
17110
17115
|
};
|
|
17111
17116
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.callPromise)(addPlaceResult, init);
|
|
@@ -17121,7 +17126,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17121
17126
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.toArray)(element.attributes).forEach((attr) => {
|
|
17122
17127
|
const name = attr.name;
|
|
17123
17128
|
let value = attr.value;
|
|
17124
|
-
if (
|
|
17129
|
+
if (jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions[name] !== undefined &&
|
|
17125
17130
|
(!options || options[name] === undefined)) {
|
|
17126
17131
|
if (['readonly', 'disabled'].indexOf(name) !== -1) {
|
|
17127
17132
|
value = value === '' || value === 'true';
|
|
@@ -17189,11 +17194,11 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17189
17194
|
element,
|
|
17190
17195
|
container,
|
|
17191
17196
|
workplace,
|
|
17192
|
-
statusbar: new
|
|
17197
|
+
statusbar: new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.StatusBar(this, container),
|
|
17193
17198
|
options: this.isReady
|
|
17194
|
-
? (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {},
|
|
17199
|
+
? (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions)
|
|
17195
17200
|
: this.options,
|
|
17196
|
-
history: new
|
|
17201
|
+
history: new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.History(this),
|
|
17197
17202
|
editorWindow: this.ow
|
|
17198
17203
|
};
|
|
17199
17204
|
this.__elementToPlace.set(editor, currentPlace);
|
|
@@ -17284,7 +17289,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17284
17289
|
return;
|
|
17285
17290
|
}
|
|
17286
17291
|
if (stayDefault === false || (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isPromise)(stayDefault)) {
|
|
17287
|
-
|
|
17292
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(defaultEditorArea);
|
|
17288
17293
|
}
|
|
17289
17294
|
addClassNames(this.o.editorClassName, this.editor);
|
|
17290
17295
|
if (this.o.style) {
|
|
@@ -17374,7 +17379,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17374
17379
|
if (this.isInDestruct) {
|
|
17375
17380
|
return;
|
|
17376
17381
|
}
|
|
17377
|
-
this.setStatus(
|
|
17382
|
+
this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.STATUSES.beforeDestruct);
|
|
17378
17383
|
this.__elementToPlace.clear();
|
|
17379
17384
|
this.storage.clear();
|
|
17380
17385
|
this.buffer.clear();
|
|
@@ -17415,17 +17420,17 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17415
17420
|
this.e.off(container);
|
|
17416
17421
|
this.e.off(element);
|
|
17417
17422
|
this.e.off(editor);
|
|
17418
|
-
|
|
17419
|
-
|
|
17423
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(workplace);
|
|
17424
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(editor);
|
|
17420
17425
|
if (container !== element) {
|
|
17421
|
-
|
|
17426
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(container);
|
|
17422
17427
|
}
|
|
17423
17428
|
Object.defineProperty(element, 'component', {
|
|
17424
17429
|
enumerable: false,
|
|
17425
17430
|
configurable: true,
|
|
17426
17431
|
value: null
|
|
17427
17432
|
});
|
|
17428
|
-
|
|
17433
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(iframe);
|
|
17429
17434
|
// inline mode
|
|
17430
17435
|
if (container === element) {
|
|
17431
17436
|
element.innerHTML = buffer;
|
|
@@ -17447,7 +17452,7 @@ Jodit.constants = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__;
|
|
|
17447
17452
|
Jodit.instances = jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .instances */ .VF;
|
|
17448
17453
|
Jodit.lang = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.lang;
|
|
17449
17454
|
Jodit.core = {
|
|
17450
|
-
Plugin:
|
|
17455
|
+
Plugin: jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Plugin
|
|
17451
17456
|
};
|
|
17452
17457
|
(0,tslib__WEBPACK_IMPORTED_MODULE_8__/* .__decorate */ .Cg)([
|
|
17453
17458
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.cache
|
|
@@ -19726,16 +19731,16 @@ async function loadTree(fb) {
|
|
|
19726
19731
|
/* harmony import */ var jodit_core_storage__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(63915);
|
|
19727
19732
|
/* harmony import */ var jodit_core_traits_dlgs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(58597);
|
|
19728
19733
|
/* harmony import */ var jodit_core_view_view_with_toolbar__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(14961);
|
|
19729
|
-
/* harmony import */ var
|
|
19734
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(36115);
|
|
19735
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(70265);
|
|
19730
19736
|
/* 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);
|
|
19737
|
+
/* harmony import */ var _fetch_load_tree__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(31859);
|
|
19738
|
+
/* harmony import */ var _listeners_native_listeners__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(62994);
|
|
19739
|
+
/* harmony import */ var _listeners_self_listeners__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(18043);
|
|
19740
|
+
/* harmony import */ var _listeners_state_listeners__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(80004);
|
|
19741
|
+
/* harmony import */ var _data_provider__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(75889);
|
|
19742
|
+
/* harmony import */ var _factories__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(83797);
|
|
19743
|
+
/* harmony import */ var _ui__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(10274);
|
|
19739
19744
|
/*!
|
|
19740
19745
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
19741
19746
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -19769,7 +19774,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
19769
19774
|
return 'FileBrowser';
|
|
19770
19775
|
}
|
|
19771
19776
|
get dataProvider() {
|
|
19772
|
-
return (0,
|
|
19777
|
+
return (0,_factories__WEBPACK_IMPORTED_MODULE_16__/* .makeDataProvider */ .S)(this, this.options);
|
|
19773
19778
|
}
|
|
19774
19779
|
// eslint-disable-next-line no-unused-vars
|
|
19775
19780
|
onSelect(callback) {
|
|
@@ -19885,7 +19890,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
19885
19890
|
this.__updateToolbarButtons();
|
|
19886
19891
|
this._dialog.open(this.browser, header);
|
|
19887
19892
|
this.e.fire('sort.filebrowser', this.state.sortBy);
|
|
19888
|
-
(0,
|
|
19893
|
+
(0,_fetch_load_tree__WEBPACK_IMPORTED_MODULE_11__/* .loadTree */ .r)(this)
|
|
19889
19894
|
.then(resolve, reject)
|
|
19890
19895
|
.finally(() => {
|
|
19891
19896
|
var _a;
|
|
@@ -19922,7 +19927,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
19922
19927
|
}
|
|
19923
19928
|
initUploader(editor) {
|
|
19924
19929
|
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 || {},
|
|
19930
|
+
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
19931
|
const uploadHandler = () => (0,_fetch_load_items__WEBPACK_IMPORTED_MODULE_18__/* .loadItems */ .f)(this);
|
|
19927
19932
|
self.uploader = self.getInstance('Uploader', uploaderOptions);
|
|
19928
19933
|
self.uploader
|
|
@@ -19942,11 +19947,11 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
19942
19947
|
super(options);
|
|
19943
19948
|
this.browser = this.c.div(this.componentName);
|
|
19944
19949
|
this.status_line = this.c.div(this.getFullElName('status'));
|
|
19945
|
-
this.tree = new
|
|
19946
|
-
this.files = new
|
|
19950
|
+
this.tree = new _ui__WEBPACK_IMPORTED_MODULE_17__/* .FileBrowserTree */ .V(this);
|
|
19951
|
+
this.files = new _ui__WEBPACK_IMPORTED_MODULE_17__/* .FileBrowserFiles */ .Q(this);
|
|
19947
19952
|
this.state = (0,jodit_core_event_emitter__WEBPACK_IMPORTED_MODULE_4__/* .observable */ .sH)({
|
|
19948
19953
|
currentPath: '',
|
|
19949
|
-
currentSource:
|
|
19954
|
+
currentSource: _data_provider__WEBPACK_IMPORTED_MODULE_15__/* .DEFAULT_SOURCE_NAME */ .o,
|
|
19950
19955
|
currentBaseUrl: '',
|
|
19951
19956
|
activeElements: [],
|
|
19952
19957
|
elements: [],
|
|
@@ -19976,7 +19981,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
19976
19981
|
this.__prevButtons = [];
|
|
19977
19982
|
this.attachEvents(options);
|
|
19978
19983
|
const self = this;
|
|
19979
|
-
self.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {},
|
|
19984
|
+
self.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_9__/* .Config */ .T.defaultOptions.filebrowser);
|
|
19980
19985
|
self.browser.component = this;
|
|
19981
19986
|
self.container = self.browser;
|
|
19982
19987
|
if (self.o.showFoldersPanel) {
|
|
@@ -19984,9 +19989,9 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
19984
19989
|
}
|
|
19985
19990
|
self.browser.appendChild(self.files.container);
|
|
19986
19991
|
self.browser.appendChild(self.status_line);
|
|
19987
|
-
|
|
19988
|
-
|
|
19989
|
-
|
|
19992
|
+
_listeners_self_listeners__WEBPACK_IMPORTED_MODULE_13__/* .selfListeners */ .c.call(self);
|
|
19993
|
+
_listeners_native_listeners__WEBPACK_IMPORTED_MODULE_12__/* .nativeListeners */ .nW.call(self);
|
|
19994
|
+
_listeners_state_listeners__WEBPACK_IMPORTED_MODULE_14__/* .stateListeners */ .r.call(self);
|
|
19990
19995
|
const keys = [
|
|
19991
19996
|
'getLocalFileByUrl',
|
|
19992
19997
|
'crop',
|
|
@@ -20658,10 +20663,10 @@ class Command {
|
|
|
20658
20663
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(31635);
|
|
20659
20664
|
/* harmony import */ var jodit_core_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77753);
|
|
20660
20665
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(22664);
|
|
20666
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
20661
20667
|
/* harmony import */ var _command__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(84345);
|
|
20662
|
-
/* harmony import */ var
|
|
20668
|
+
/* harmony import */ var _snapshot__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(58770);
|
|
20663
20669
|
/* 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
20670
|
/*!
|
|
20666
20671
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
20667
20672
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -20674,7 +20679,7 @@ class Command {
|
|
|
20674
20679
|
|
|
20675
20680
|
|
|
20676
20681
|
|
|
20677
|
-
|
|
20682
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.history = {
|
|
20678
20683
|
enable: true,
|
|
20679
20684
|
maxHistoryLength: Infinity,
|
|
20680
20685
|
timeout: 1000
|
|
@@ -20725,7 +20730,7 @@ class History extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .ViewC
|
|
|
20725
20730
|
set startValue(value) {
|
|
20726
20731
|
this.__startValue = value;
|
|
20727
20732
|
}
|
|
20728
|
-
constructor(editor, stack = new _stack__WEBPACK_IMPORTED_MODULE_4__/* .Stack */ .B(editor.o.history.maxHistoryLength), snapshot = new
|
|
20733
|
+
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
20734
|
super(editor);
|
|
20730
20735
|
this.updateTick = 0;
|
|
20731
20736
|
this.__stack = stack;
|
|
@@ -20788,7 +20793,7 @@ class History extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .ViewC
|
|
|
20788
20793
|
*/
|
|
20789
20794
|
updateStack(replace = false) {
|
|
20790
20795
|
const newValue = this.snapshot.make();
|
|
20791
|
-
if (!
|
|
20796
|
+
if (!_snapshot__WEBPACK_IMPORTED_MODULE_3__/* .Snapshot */ .F.equal(newValue, this.startValue)) {
|
|
20792
20797
|
const newCommand = new _command__WEBPACK_IMPORTED_MODULE_5__/* .Command */ .u(this.startValue, newValue, this, this.updateTick);
|
|
20793
20798
|
if (replace) {
|
|
20794
20799
|
const command = this.__stack.current();
|
|
@@ -21122,11 +21127,11 @@ class Stack {
|
|
|
21122
21127
|
|
|
21123
21128
|
"use strict";
|
|
21124
21129
|
/* 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
|
|
21130
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
21131
|
+
/* harmony import */ var _icons_crop_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(928);
|
|
21132
|
+
/* harmony import */ var _icons_crop_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_icons_crop_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
21133
|
+
/* harmony import */ var _icons_resize_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(31230);
|
|
21134
|
+
/* harmony import */ var _icons_resize_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_resize_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
21130
21135
|
/*!
|
|
21131
21136
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
21132
21137
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -21136,7 +21141,7 @@ class Stack {
|
|
|
21136
21141
|
|
|
21137
21142
|
|
|
21138
21143
|
|
|
21139
|
-
|
|
21144
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.imageeditor = {
|
|
21140
21145
|
min_width: 20,
|
|
21141
21146
|
min_height: 20,
|
|
21142
21147
|
closeAfterSave: false,
|
|
@@ -21151,7 +21156,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.imageeditor
|
|
|
21151
21156
|
cropDefaultWidth: '70%',
|
|
21152
21157
|
cropDefaultHeight: '70%'
|
|
21153
21158
|
};
|
|
21154
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('crop', (
|
|
21159
|
+
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
21160
|
|
|
21156
21161
|
|
|
21157
21162
|
/***/ }),
|
|
@@ -21170,9 +21175,9 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('crop', (_icon
|
|
|
21170
21175
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(71842);
|
|
21171
21176
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(65147);
|
|
21172
21177
|
/* 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
|
|
21178
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(36115);
|
|
21179
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(93027);
|
|
21180
|
+
/* harmony import */ var _templates_form__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(24863);
|
|
21176
21181
|
/*!
|
|
21177
21182
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
21178
21183
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -21632,7 +21637,7 @@ let ImageEditor = ImageEditor_1 = class ImageEditor extends jodit_core_component
|
|
|
21632
21637
|
this.options =
|
|
21633
21638
|
editor && editor.o && editor.o.imageeditor
|
|
21634
21639
|
? editor.o.imageeditor
|
|
21635
|
-
:
|
|
21640
|
+
: jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.defaultOptions.imageeditor;
|
|
21636
21641
|
const o = this.options;
|
|
21637
21642
|
this.resizeUseRatio = o.resizeUseRatio;
|
|
21638
21643
|
this.cropUseRatio = o.cropUseRatio;
|
|
@@ -21642,7 +21647,7 @@ let ImageEditor = ImageEditor_1 = class ImageEditor extends jodit_core_component
|
|
|
21642
21647
|
saveas: (0,jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_4__/* .Button */ .$n)(this.j, 'save', 'Save as ...')
|
|
21643
21648
|
};
|
|
21644
21649
|
this.activeTab = o.resize ? TABS.resize : TABS.crop;
|
|
21645
|
-
this.editor = (0,
|
|
21650
|
+
this.editor = (0,_templates_form__WEBPACK_IMPORTED_MODULE_7__/* .form */ .Z)(this.j, this.options);
|
|
21646
21651
|
const { resizeBox, cropBox } = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.refs)(this.editor);
|
|
21647
21652
|
this.resize_box = resizeBox;
|
|
21648
21653
|
this.crop_box = cropBox;
|
|
@@ -23065,7 +23070,8 @@ let ToolbarButton = class ToolbarButton extends jodit_core_ui_button__WEBPACK_IM
|
|
|
23065
23070
|
}
|
|
23066
23071
|
createContainer() {
|
|
23067
23072
|
const cn = this.componentName;
|
|
23068
|
-
const container = this.j.c.span(cn)
|
|
23073
|
+
const container = this.j.c.span(cn);
|
|
23074
|
+
const button = super.createContainer();
|
|
23069
23075
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.attr)(container, 'role', 'listitem');
|
|
23070
23076
|
button.classList.remove(cn);
|
|
23071
23077
|
button.classList.add(cn + '__button');
|
|
@@ -23462,8 +23468,9 @@ ToolbarContent = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
|
23462
23468
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
23463
23469
|
/* harmony export */ q: function() { return /* binding */ ToolbarSelect; }
|
|
23464
23470
|
/* harmony export */ });
|
|
23465
|
-
/* harmony import */ var
|
|
23471
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(31635);
|
|
23466
23472
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(22664);
|
|
23473
|
+
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25376);
|
|
23467
23474
|
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(98253);
|
|
23468
23475
|
/* harmony import */ var _button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3258);
|
|
23469
23476
|
/*!
|
|
@@ -23476,6 +23483,7 @@ ToolbarContent = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
|
23476
23483
|
|
|
23477
23484
|
|
|
23478
23485
|
|
|
23486
|
+
|
|
23479
23487
|
let ToolbarSelect = class ToolbarSelect extends _button__WEBPACK_IMPORTED_MODULE_1__/* .ToolbarButton */ .I {
|
|
23480
23488
|
className() {
|
|
23481
23489
|
return 'ToolbarSelect';
|
|
@@ -23494,13 +23502,13 @@ let ToolbarSelect = class ToolbarSelect extends _button__WEBPACK_IMPORTED_MODULE
|
|
|
23494
23502
|
const keys = Object.keys(list);
|
|
23495
23503
|
key = keys[0];
|
|
23496
23504
|
}
|
|
23497
|
-
const text = (list[key.toString()] || key).toString();
|
|
23505
|
+
const text = ((0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_3__/* .isPlainObject */ .Q)(list) ? list[key.toString()] || key : key).toString();
|
|
23498
23506
|
this.state.text =
|
|
23499
23507
|
(_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
23508
|
}
|
|
23501
23509
|
}
|
|
23502
23510
|
};
|
|
23503
|
-
ToolbarSelect = (0,
|
|
23511
|
+
ToolbarSelect = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
23504
23512
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.component
|
|
23505
23513
|
], ToolbarSelect);
|
|
23506
23514
|
|
|
@@ -24333,9 +24341,9 @@ function send(uploader, data) {
|
|
|
24333
24341
|
/* harmony import */ var jodit_core_component___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77753);
|
|
24334
24342
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(17352);
|
|
24335
24343
|
/* 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
|
|
24344
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
24345
|
+
/* harmony import */ var jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(74340);
|
|
24346
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(77334);
|
|
24339
24347
|
/*!
|
|
24340
24348
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
24341
24349
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -24407,14 +24415,14 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
24407
24415
|
}
|
|
24408
24416
|
};
|
|
24409
24417
|
// send data on server
|
|
24410
|
-
if (!jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && (0,
|
|
24411
|
-
(0,
|
|
24418
|
+
if (!jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && (0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(cData)) {
|
|
24419
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, cData.files, handlerSuccess, handlerError).finally(onFinally);
|
|
24412
24420
|
return false;
|
|
24413
24421
|
}
|
|
24414
24422
|
if (jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && !jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_ES_NEXT) {
|
|
24415
|
-
return (0,
|
|
24423
|
+
return (0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .processOldBrowserDrag */ .dT)(self, cData, handlerSuccess, handlerError, onFinally);
|
|
24416
24424
|
}
|
|
24417
|
-
if ((0,
|
|
24425
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasItems */ .Pb)(cData)) {
|
|
24418
24426
|
const { items } = cData;
|
|
24419
24427
|
for (i = 0; i < items.length; i += 1) {
|
|
24420
24428
|
if (items[i].kind === 'file' &&
|
|
@@ -24425,7 +24433,7 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
24425
24433
|
extension = mime[1]
|
|
24426
24434
|
? mime[1].toLowerCase()
|
|
24427
24435
|
: '';
|
|
24428
|
-
(0,
|
|
24436
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, [file], handlerSuccess, handlerError, processData).finally(onFinally);
|
|
24429
24437
|
}
|
|
24430
24438
|
e.preventDefault();
|
|
24431
24439
|
break;
|
|
@@ -24448,30 +24456,30 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
24448
24456
|
e.preventDefault();
|
|
24449
24457
|
})
|
|
24450
24458
|
.on(form, 'dragover', (event) => {
|
|
24451
|
-
if ((0,
|
|
24452
|
-
(0,
|
|
24459
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer) ||
|
|
24460
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasItems */ .Pb)(event.dataTransfer)) {
|
|
24453
24461
|
form.classList.add('jodit_drag_hover');
|
|
24454
24462
|
event.preventDefault();
|
|
24455
24463
|
}
|
|
24456
24464
|
})
|
|
24457
24465
|
.on(form, 'dragend dragleave', (event) => {
|
|
24458
24466
|
form.classList.remove('jodit_drag_hover');
|
|
24459
|
-
if ((0,
|
|
24467
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer)) {
|
|
24460
24468
|
event.preventDefault();
|
|
24461
24469
|
}
|
|
24462
24470
|
})
|
|
24463
24471
|
.on(form, 'drop', (event) => {
|
|
24464
24472
|
form.classList.remove('jodit_drag_hover');
|
|
24465
|
-
if ((0,
|
|
24473
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer)) {
|
|
24466
24474
|
event.preventDefault();
|
|
24467
24475
|
event.stopImmediatePropagation();
|
|
24468
|
-
(0,
|
|
24476
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, event.dataTransfer.files, handlerSuccess, handlerError).finally(onFinally);
|
|
24469
24477
|
}
|
|
24470
24478
|
});
|
|
24471
24479
|
const inputFile = form.querySelector('input[type=file]');
|
|
24472
24480
|
if (inputFile) {
|
|
24473
24481
|
self.j.e.on(inputFile, 'change', () => {
|
|
24474
|
-
(0,
|
|
24482
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, inputFile.files, handlerSuccess, handlerError)
|
|
24475
24483
|
.then(() => {
|
|
24476
24484
|
inputFile.value = '';
|
|
24477
24485
|
if (!/safari/i.test(navigator.userAgent)) {
|
|
@@ -24491,7 +24499,7 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
24491
24499
|
const handlerE = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isFunction)(handlerError)
|
|
24492
24500
|
? handlerError
|
|
24493
24501
|
: o.defaultHandlerError;
|
|
24494
|
-
(0,
|
|
24502
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .send */ .tN)(uploader, {
|
|
24495
24503
|
action: 'fileUploadRemote',
|
|
24496
24504
|
url
|
|
24497
24505
|
})
|
|
@@ -24511,11 +24519,11 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
24511
24519
|
super(editor);
|
|
24512
24520
|
this.path = '';
|
|
24513
24521
|
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)(
|
|
24522
|
+
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
24523
|
}
|
|
24516
24524
|
destruct() {
|
|
24517
24525
|
this.setStatus(jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .STATUSES */ .f.beforeDestruct);
|
|
24518
|
-
const instances =
|
|
24526
|
+
const instances = jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .ajaxInstances */ .$j.get(this);
|
|
24519
24527
|
if (instances) {
|
|
24520
24528
|
instances.forEach(ajax => {
|
|
24521
24529
|
try {
|
|
@@ -24944,9 +24952,9 @@ const TabsWidget = (jodit, tabs, state) => {
|
|
|
24944
24952
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
24945
24953
|
/* harmony import */ var jodit_core_helpers___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65147);
|
|
24946
24954
|
/* 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
|
|
24955
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
24956
|
+
/* harmony import */ var _about_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(17995);
|
|
24957
|
+
/* harmony import */ var _about_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_about_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
24950
24958
|
/*!
|
|
24951
24959
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
24952
24960
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -24960,7 +24968,7 @@ const TabsWidget = (jodit, tabs, state) => {
|
|
|
24960
24968
|
|
|
24961
24969
|
|
|
24962
24970
|
|
|
24963
|
-
|
|
24971
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.about = {
|
|
24964
24972
|
exec: (editor) => {
|
|
24965
24973
|
const dialog = editor.dlg({ closeOnClickOverlay: true }), i = editor.i18n.bind(editor);
|
|
24966
24974
|
dialog
|
|
@@ -24996,7 +25004,7 @@ function about(editor) {
|
|
|
24996
25004
|
});
|
|
24997
25005
|
}
|
|
24998
25006
|
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', (
|
|
25007
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('about', (_about_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
25000
25008
|
|
|
25001
25009
|
|
|
25002
25010
|
/***/ }),
|
|
@@ -25239,9 +25247,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('addNe
|
|
|
25239
25247
|
|
|
25240
25248
|
"use strict";
|
|
25241
25249
|
/* 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
|
|
25250
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
25251
|
+
/* harmony import */ var _enter_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(86634);
|
|
25252
|
+
/* harmony import */ var _enter_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_enter_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
25245
25253
|
/*!
|
|
25246
25254
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
25247
25255
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -25250,9 +25258,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('addNe
|
|
|
25250
25258
|
|
|
25251
25259
|
|
|
25252
25260
|
|
|
25253
|
-
|
|
25254
|
-
|
|
25255
|
-
|
|
25261
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLine = true;
|
|
25262
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineOnDBLClick = true;
|
|
25263
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineTagsTriggers = [
|
|
25256
25264
|
'table',
|
|
25257
25265
|
'iframe',
|
|
25258
25266
|
'img',
|
|
@@ -25260,8 +25268,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.addNewLineTa
|
|
|
25260
25268
|
'pre',
|
|
25261
25269
|
'jodit'
|
|
25262
25270
|
];
|
|
25263
|
-
|
|
25264
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (
|
|
25271
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineDeltaShow = 20;
|
|
25272
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (_enter_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
25265
25273
|
|
|
25266
25274
|
|
|
25267
25275
|
/***/ }),
|
|
@@ -25400,11 +25408,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('ai-as
|
|
|
25400
25408
|
|
|
25401
25409
|
"use strict";
|
|
25402
25410
|
/* 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
|
|
25411
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
25412
|
+
/* harmony import */ var _ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91115);
|
|
25413
|
+
/* harmony import */ var _ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
25414
|
+
/* harmony import */ var _chat_bot_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1916);
|
|
25415
|
+
/* harmony import */ var _chat_bot_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_chat_bot_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
25408
25416
|
/*!
|
|
25409
25417
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
25410
25418
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -25445,10 +25453,10 @@ const aiAssistantDefaults = {
|
|
|
25445
25453
|
aiTranslateToRussianPrompt: 'Translate this content into Russian, ensuring the translation is accurate and maintains the original meaning.',
|
|
25446
25454
|
aiTranslateToArabicPrompt: 'Translate this content into Arabic, ensuring the translation is accurate and maintains the original meaning.'
|
|
25447
25455
|
};
|
|
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
|
-
|
|
25456
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.aiAssistant = aiAssistantDefaults;
|
|
25457
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-assistant', (_chat_bot_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
25458
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-commands', (_ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
25459
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls['ai-commands'] = {
|
|
25452
25460
|
isDisabled(editor) {
|
|
25453
25461
|
return !editor.o.aiAssistant.aiAssistantCallback;
|
|
25454
25462
|
},
|
|
@@ -25486,7 +25494,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls['ai
|
|
|
25486
25494
|
editor.e.fire('generateAiAssistantForm.ai-assistant', control.name);
|
|
25487
25495
|
}
|
|
25488
25496
|
};
|
|
25489
|
-
|
|
25497
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls['ai-assistant'] = {
|
|
25490
25498
|
isDisabled(editor) {
|
|
25491
25499
|
return !editor.o.aiAssistant.aiAssistantCallback;
|
|
25492
25500
|
},
|
|
@@ -26125,6 +26133,10 @@ function checkRemoveChar(jodit, fakeNode, backspace, mode) {
|
|
|
26125
26133
|
}
|
|
26126
26134
|
if ((_a = sibling.nodeValue) === null || _a === void 0 ? void 0 : _a.length) {
|
|
26127
26135
|
removed = tryRemoveChar(sibling, backspace, step, anotherSibling);
|
|
26136
|
+
if (!sibling.nodeValue.length &&
|
|
26137
|
+
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.isInlineBlock(sibling.parentNode)) {
|
|
26138
|
+
sibling.nodeValue = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INVISIBLE_SPACE;
|
|
26139
|
+
}
|
|
26128
26140
|
}
|
|
26129
26141
|
if (!((_b = sibling.nodeValue) === null || _b === void 0 ? void 0 : _b.length)) {
|
|
26130
26142
|
removeNeighbor = sibling;
|
|
@@ -26679,20 +26691,20 @@ function getMoveFilter(jodit) {
|
|
|
26679
26691
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(56298);
|
|
26680
26692
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65147);
|
|
26681
26693
|
/* 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
|
|
26694
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
26695
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(73124);
|
|
26696
|
+
/* harmony import */ var _icons_bold_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(52450);
|
|
26697
|
+
/* harmony import */ var _icons_bold_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_bold_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
26698
|
+
/* harmony import */ var _icons_italic_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(41111);
|
|
26699
|
+
/* harmony import */ var _icons_italic_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_icons_italic_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
26700
|
+
/* harmony import */ var _icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(49972);
|
|
26701
|
+
/* harmony import */ var _icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7__);
|
|
26702
|
+
/* harmony import */ var _icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(45062);
|
|
26703
|
+
/* harmony import */ var _icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8__);
|
|
26704
|
+
/* harmony import */ var _icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(18605);
|
|
26705
|
+
/* harmony import */ var _icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9__);
|
|
26706
|
+
/* harmony import */ var _icons_underline_svg__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(83389);
|
|
26707
|
+
/* harmony import */ var _icons_underline_svg__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_icons_underline_svg__WEBPACK_IMPORTED_MODULE_10__);
|
|
26696
26708
|
/*!
|
|
26697
26709
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
26698
26710
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -26715,7 +26727,7 @@ function getMoveFilter(jodit) {
|
|
|
26715
26727
|
*/
|
|
26716
26728
|
function bold(editor) {
|
|
26717
26729
|
const callBack = (command) => {
|
|
26718
|
-
const control =
|
|
26730
|
+
const control = jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.defaultOptions.controls[command], cssOptions = {
|
|
26719
26731
|
...control.css
|
|
26720
26732
|
};
|
|
26721
26733
|
let cssRules;
|
|
@@ -26769,12 +26781,12 @@ function bold(editor) {
|
|
|
26769
26781
|
});
|
|
26770
26782
|
}
|
|
26771
26783
|
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', (
|
|
26784
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('bold', (_icons_bold_svg__WEBPACK_IMPORTED_MODULE_5___default()))
|
|
26785
|
+
.set('italic', (_icons_italic_svg__WEBPACK_IMPORTED_MODULE_6___default()))
|
|
26786
|
+
.set('strikethrough', (_icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7___default()))
|
|
26787
|
+
.set('subscript', (_icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8___default()))
|
|
26788
|
+
.set('superscript', (_icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9___default()))
|
|
26789
|
+
.set('underline', (_icons_underline_svg__WEBPACK_IMPORTED_MODULE_10___default()));
|
|
26778
26790
|
|
|
26779
26791
|
|
|
26780
26792
|
/***/ }),
|
|
@@ -26844,9 +26856,9 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.controls.str
|
|
|
26844
26856
|
/* harmony import */ var jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(84976);
|
|
26845
26857
|
/* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(71005);
|
|
26846
26858
|
/* 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
|
|
26859
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(36115);
|
|
26860
|
+
/* harmony import */ var _class_span_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(93267);
|
|
26861
|
+
/* harmony import */ var _class_span_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_class_span_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
26850
26862
|
/*!
|
|
26851
26863
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
26852
26864
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -26859,7 +26871,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.controls.str
|
|
|
26859
26871
|
|
|
26860
26872
|
|
|
26861
26873
|
|
|
26862
|
-
|
|
26874
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.classSpan = {
|
|
26863
26875
|
command: 'applyClassName',
|
|
26864
26876
|
exec: jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_2__/* .memorizeExec */ .qN,
|
|
26865
26877
|
list: [
|
|
@@ -26947,7 +26959,7 @@ class classSpan extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_3__/* .Plugin
|
|
|
26947
26959
|
beforeDestruct() { }
|
|
26948
26960
|
}
|
|
26949
26961
|
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', (
|
|
26962
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('class-span', (_class_span_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
26951
26963
|
|
|
26952
26964
|
|
|
26953
26965
|
/***/ }),
|
|
@@ -27086,9 +27098,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('clean
|
|
|
27086
27098
|
|
|
27087
27099
|
"use strict";
|
|
27088
27100
|
/* 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
|
|
27101
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
27102
|
+
/* harmony import */ var _eraser_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(71948);
|
|
27103
|
+
/* harmony import */ var _eraser_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_eraser_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
27092
27104
|
/*!
|
|
27093
27105
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27094
27106
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27097,7 +27109,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('clean
|
|
|
27097
27109
|
|
|
27098
27110
|
|
|
27099
27111
|
|
|
27100
|
-
|
|
27112
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.cleanHTML = {
|
|
27101
27113
|
timeout: 300,
|
|
27102
27114
|
removeEmptyElements: true,
|
|
27103
27115
|
fillEmptyParagraph: true,
|
|
@@ -27113,11 +27125,11 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.cleanHTML =
|
|
|
27113
27125
|
safeJavaScriptLink: true,
|
|
27114
27126
|
disableCleanFilter: null
|
|
27115
27127
|
};
|
|
27116
|
-
|
|
27128
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.eraser = {
|
|
27117
27129
|
command: 'removeFormat',
|
|
27118
27130
|
tooltip: 'Clear Formatting'
|
|
27119
27131
|
};
|
|
27120
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('eraser', (
|
|
27132
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('eraser', (_eraser_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
27121
27133
|
|
|
27122
27134
|
|
|
27123
27135
|
/***/ }),
|
|
@@ -27786,15 +27798,15 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('clipb
|
|
|
27786
27798
|
|
|
27787
27799
|
"use strict";
|
|
27788
27800
|
/* 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
|
|
27801
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
27802
|
+
/* harmony import */ var _icons_copy_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(51457);
|
|
27803
|
+
/* harmony import */ var _icons_copy_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_icons_copy_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
27804
|
+
/* harmony import */ var _icons_cut_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(23602);
|
|
27805
|
+
/* harmony import */ var _icons_cut_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_cut_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
27806
|
+
/* harmony import */ var _icons_paste_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(86899);
|
|
27807
|
+
/* harmony import */ var _icons_paste_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_paste_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
27808
|
+
/* harmony import */ var _icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(95320);
|
|
27809
|
+
/* 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
27810
|
/*!
|
|
27799
27811
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27800
27812
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27806,25 +27818,25 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('clipb
|
|
|
27806
27818
|
|
|
27807
27819
|
|
|
27808
27820
|
|
|
27809
|
-
|
|
27821
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.cut = {
|
|
27810
27822
|
command: 'cut',
|
|
27811
27823
|
isDisabled: (editor) => editor.s.isCollapsed(),
|
|
27812
27824
|
tooltip: 'Cut selection'
|
|
27813
27825
|
};
|
|
27814
|
-
|
|
27826
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.copy = {
|
|
27815
27827
|
command: 'copy',
|
|
27816
27828
|
isDisabled: (editor) => editor.s.isCollapsed(),
|
|
27817
27829
|
tooltip: 'Copy selection'
|
|
27818
27830
|
};
|
|
27819
|
-
|
|
27831
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.selectall = {
|
|
27820
27832
|
icon: 'select-all',
|
|
27821
27833
|
command: 'selectall',
|
|
27822
27834
|
tooltip: 'Select all'
|
|
27823
27835
|
};
|
|
27824
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('copy', (
|
|
27825
|
-
.set('cut', (
|
|
27826
|
-
.set('paste', (
|
|
27827
|
-
.set('select-all', (
|
|
27836
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('copy', (_icons_copy_svg__WEBPACK_IMPORTED_MODULE_2___default()))
|
|
27837
|
+
.set('cut', (_icons_cut_svg__WEBPACK_IMPORTED_MODULE_3___default()))
|
|
27838
|
+
.set('paste', (_icons_paste_svg__WEBPACK_IMPORTED_MODULE_4___default()))
|
|
27839
|
+
.set('select-all', (_icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
27828
27840
|
|
|
27829
27841
|
|
|
27830
27842
|
/***/ }),
|
|
@@ -27896,10 +27908,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('color
|
|
|
27896
27908
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55186);
|
|
27897
27909
|
/* harmony import */ var jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65147);
|
|
27898
27910
|
/* 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
|
|
27911
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
27912
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(16116);
|
|
27913
|
+
/* harmony import */ var _brush_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(45674);
|
|
27914
|
+
/* harmony import */ var _brush_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_brush_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
27903
27915
|
/*!
|
|
27904
27916
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27905
27917
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27911,8 +27923,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('color
|
|
|
27911
27923
|
|
|
27912
27924
|
|
|
27913
27925
|
|
|
27914
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('brush', (
|
|
27915
|
-
|
|
27926
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('brush', (_brush_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
27927
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.brushCell = {
|
|
27916
27928
|
isVisible: (editor) => {
|
|
27917
27929
|
return !editor.o.disablePlugins.includes('color');
|
|
27918
27930
|
},
|
|
@@ -27925,7 +27937,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
27925
27937
|
if (!selected.length) {
|
|
27926
27938
|
return false;
|
|
27927
27939
|
}
|
|
27928
|
-
const makeColorPicker = (key) => (0,
|
|
27940
|
+
const makeColorPicker = (key) => (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, (value) => {
|
|
27929
27941
|
selected.forEach(cell => {
|
|
27930
27942
|
(0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.css)(cell, key, value);
|
|
27931
27943
|
});
|
|
@@ -27934,7 +27946,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
27934
27946
|
close();
|
|
27935
27947
|
editor.unlock();
|
|
27936
27948
|
}, (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.css)(selected[0], key));
|
|
27937
|
-
return (0,
|
|
27949
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .TabsWidget */ .Zg)(editor, [
|
|
27938
27950
|
{
|
|
27939
27951
|
name: 'Background',
|
|
27940
27952
|
content: makeColorPicker('background-color')
|
|
@@ -27945,7 +27957,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
27945
27957
|
},
|
|
27946
27958
|
tooltip: 'Background'
|
|
27947
27959
|
};
|
|
27948
|
-
|
|
27960
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.brush = {
|
|
27949
27961
|
isVisible: (editor) => {
|
|
27950
27962
|
return !editor.o.disablePlugins.includes('color');
|
|
27951
27963
|
},
|
|
@@ -27993,7 +28005,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
27993
28005
|
}
|
|
27994
28006
|
}, editor.editor);
|
|
27995
28007
|
}
|
|
27996
|
-
const backgroundTag = (0,
|
|
28008
|
+
const backgroundTag = (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, (value) => {
|
|
27997
28009
|
if (!currentElement) {
|
|
27998
28010
|
editor.execCommand('background', false, value);
|
|
27999
28011
|
}
|
|
@@ -28004,7 +28016,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28004
28016
|
(0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.dataBind)(button, 'color-mode', 'background');
|
|
28005
28017
|
close();
|
|
28006
28018
|
}, bg_color);
|
|
28007
|
-
const colorTab = (0,
|
|
28019
|
+
const colorTab = (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, (value) => {
|
|
28008
28020
|
if (!currentElement) {
|
|
28009
28021
|
editor.execCommand('forecolor', false, value);
|
|
28010
28022
|
}
|
|
@@ -28028,7 +28040,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28028
28040
|
if (editor.o.colorPickerDefaultTab !== 'background') {
|
|
28029
28041
|
tabs = tabs.reverse();
|
|
28030
28042
|
}
|
|
28031
|
-
return (0,
|
|
28043
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .TabsWidget */ .Zg)(editor, tabs, currentElement);
|
|
28032
28044
|
},
|
|
28033
28045
|
exec(jodit, current, { button }) {
|
|
28034
28046
|
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 +28079,10 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
28067
28079
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
28068
28080
|
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38322);
|
|
28069
28081
|
/* 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
|
|
28082
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
28083
|
+
/* harmony import */ var _copy_format_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(3843);
|
|
28084
|
+
/* harmony import */ var _copy_format_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_copy_format_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
28085
|
+
/* harmony import */ var _langs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(94628);
|
|
28074
28086
|
/*!
|
|
28075
28087
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
28076
28088
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -28128,7 +28140,7 @@ const getStyles = (editor, box, defaultStyles) => {
|
|
|
28128
28140
|
}
|
|
28129
28141
|
return result;
|
|
28130
28142
|
};
|
|
28131
|
-
|
|
28143
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.copyformat = {
|
|
28132
28144
|
exec: (editor, current, { button }) => {
|
|
28133
28145
|
if (!current) {
|
|
28134
28146
|
return;
|
|
@@ -28178,10 +28190,10 @@ function copyFormat(editor) {
|
|
|
28178
28190
|
name: 'copyformat',
|
|
28179
28191
|
group: 'clipboard'
|
|
28180
28192
|
});
|
|
28181
|
-
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .extendLang */ .JW)(
|
|
28193
|
+
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .extendLang */ .JW)(_langs__WEBPACK_IMPORTED_MODULE_5__);
|
|
28182
28194
|
}
|
|
28183
28195
|
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', (
|
|
28196
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('copyformat', (_copy_format_svg__WEBPACK_IMPORTED_MODULE_4___default()));
|
|
28185
28197
|
|
|
28186
28198
|
|
|
28187
28199
|
/***/ }),
|
|
@@ -29991,8 +30003,8 @@ function wrapText(fake, jodit) {
|
|
|
29991
30003
|
/* unused harmony export file */
|
|
29992
30004
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55186);
|
|
29993
30005
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
29994
|
-
/* harmony import */ var
|
|
29995
|
-
/* harmony import */ var
|
|
30006
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
30007
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(16116);
|
|
29996
30008
|
/*!
|
|
29997
30009
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
29998
30010
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30002,7 +30014,7 @@ function wrapText(fake, jodit) {
|
|
|
30002
30014
|
|
|
30003
30015
|
|
|
30004
30016
|
|
|
30005
|
-
|
|
30017
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.file = {
|
|
30006
30018
|
popup: (editor, current, close) => {
|
|
30007
30019
|
const insert = (url, title = '') => {
|
|
30008
30020
|
editor.s.insertNode(editor.createInside.fromHTML(`<a href="${url}" title="${title}">${title || url}</a>`));
|
|
@@ -30015,7 +30027,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fil
|
|
|
30015
30027
|
? current
|
|
30016
30028
|
: jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor);
|
|
30017
30029
|
}
|
|
30018
|
-
return (0,
|
|
30030
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_3__/* .FileSelectorWidget */ .kG)(editor, {
|
|
30019
30031
|
filebrowser: (data) => {
|
|
30020
30032
|
data.files &&
|
|
30021
30033
|
data.files.forEach(file => insert(data.baseurl + file));
|
|
@@ -30138,11 +30150,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('focus
|
|
|
30138
30150
|
/* harmony import */ var jodit_core_helpers_string_trim__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(59101);
|
|
30139
30151
|
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38322);
|
|
30140
30152
|
/* 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
|
|
30153
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
30154
|
+
/* harmony import */ var _icons_font_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(48842);
|
|
30155
|
+
/* harmony import */ var _icons_font_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_font_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
30156
|
+
/* harmony import */ var _icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(25501);
|
|
30157
|
+
/* harmony import */ var _icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
30146
30158
|
/*!
|
|
30147
30159
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30148
30160
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30158,9 +30170,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('focus
|
|
|
30158
30170
|
/**
|
|
30159
30171
|
* Default font-size points
|
|
30160
30172
|
*/
|
|
30161
|
-
|
|
30162
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('font', (
|
|
30163
|
-
|
|
30173
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.defaultFontSizePoints = 'px';
|
|
30174
|
+
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()));
|
|
30175
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fontsize = {
|
|
30164
30176
|
command: 'fontsize',
|
|
30165
30177
|
data: {
|
|
30166
30178
|
cssRule: 'font-size',
|
|
@@ -30219,8 +30231,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.fon
|
|
|
30219
30231
|
return keySet.has(normalize(value.toString()));
|
|
30220
30232
|
}
|
|
30221
30233
|
};
|
|
30222
|
-
|
|
30223
|
-
...
|
|
30234
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.font = {
|
|
30235
|
+
...jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fontsize,
|
|
30224
30236
|
command: 'fontname',
|
|
30225
30237
|
textTemplate: (j, value) => {
|
|
30226
30238
|
const [first] = value.split(',');
|
|
@@ -30330,11 +30342,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('font'
|
|
|
30330
30342
|
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
30331
30343
|
|
|
30332
30344
|
"use strict";
|
|
30333
|
-
/* harmony import */ var
|
|
30345
|
+
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55186);
|
|
30346
|
+
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(25376);
|
|
30334
30347
|
/* 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
|
|
30348
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
30349
|
+
/* harmony import */ var _paragraph_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(29348);
|
|
30350
|
+
/* harmony import */ var _paragraph_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_paragraph_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
30338
30351
|
/*!
|
|
30339
30352
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30340
30353
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30344,13 +30357,14 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('font'
|
|
|
30344
30357
|
|
|
30345
30358
|
|
|
30346
30359
|
|
|
30347
|
-
|
|
30348
|
-
|
|
30360
|
+
|
|
30361
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('paragraph', (_paragraph_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
30362
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.paragraph = {
|
|
30349
30363
|
command: 'formatBlock',
|
|
30350
30364
|
value(editor, button) {
|
|
30351
30365
|
var _a, _b;
|
|
30352
30366
|
const control = button.control, current = editor.s.current();
|
|
30353
|
-
const currentBox =
|
|
30367
|
+
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
30368
|
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
30369
|
},
|
|
30356
30370
|
update(editor, button) {
|
|
@@ -30359,7 +30373,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.par
|
|
|
30359
30373
|
return false;
|
|
30360
30374
|
}
|
|
30361
30375
|
const currentValue = button.state.value, list = control.list;
|
|
30362
|
-
if (list && list[currentValue.toString()]) {
|
|
30376
|
+
if ((0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__/* .isPlainObject */ .Q)(list) && list[currentValue.toString()]) {
|
|
30363
30377
|
if (editor.o.textIcons) {
|
|
30364
30378
|
button.state.text = list[currentValue.toString()].toString();
|
|
30365
30379
|
}
|
|
@@ -30383,9 +30397,9 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.par
|
|
|
30383
30397
|
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
30398
|
},
|
|
30385
30399
|
isActive: (editor, button) => {
|
|
30386
|
-
var _a;
|
|
30387
30400
|
return (button.state.value !== editor.o.enter &&
|
|
30388
|
-
|
|
30401
|
+
(0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__/* .isPlainObject */ .Q)(button.control.list) &&
|
|
30402
|
+
Boolean(button.control.list[button.state.value]));
|
|
30389
30403
|
},
|
|
30390
30404
|
childTemplate: (e, key, value) => `<${key} style="margin:0;padding:0"><span>${e.i18n(value)}</span></${key}>`,
|
|
30391
30405
|
tooltip: 'Insert format block'
|
|
@@ -30435,11 +30449,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('forma
|
|
|
30435
30449
|
"use strict";
|
|
30436
30450
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17352);
|
|
30437
30451
|
/* 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
|
|
30452
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
30453
|
+
/* harmony import */ var _icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(24772);
|
|
30454
|
+
/* harmony import */ var _icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
30455
|
+
/* harmony import */ var _icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(66547);
|
|
30456
|
+
/* harmony import */ var _icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
30443
30457
|
/*!
|
|
30444
30458
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30445
30459
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30451,10 +30465,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('forma
|
|
|
30451
30465
|
|
|
30452
30466
|
|
|
30453
30467
|
|
|
30454
|
-
|
|
30455
|
-
|
|
30456
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('fullsize', (
|
|
30457
|
-
|
|
30468
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.fullsize = false;
|
|
30469
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.globalFullSize = true;
|
|
30470
|
+
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()));
|
|
30471
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.fullsize = {
|
|
30458
30472
|
exec: (editor) => {
|
|
30459
30473
|
editor.toggleFullSize();
|
|
30460
30474
|
},
|
|
@@ -30782,9 +30796,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('hotke
|
|
|
30782
30796
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(71842);
|
|
30783
30797
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
30784
30798
|
/* 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
|
|
30799
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
30800
|
+
/* harmony import */ var _hr_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(89097);
|
|
30801
|
+
/* harmony import */ var _hr_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_hr_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
30788
30802
|
/*!
|
|
30789
30803
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30790
30804
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30795,8 +30809,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('hotke
|
|
|
30795
30809
|
|
|
30796
30810
|
|
|
30797
30811
|
|
|
30798
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('hr', (
|
|
30799
|
-
|
|
30812
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('hr', (_hr_svg__WEBPACK_IMPORTED_MODULE_4___default()));
|
|
30813
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.hr = {
|
|
30800
30814
|
command: 'insertHorizontalRule',
|
|
30801
30815
|
tags: ['hr'],
|
|
30802
30816
|
tooltip: 'Insert Horizontal Line'
|
|
@@ -31275,6 +31289,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('image
|
|
|
31275
31289
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
31276
31290
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
31277
31291
|
*/
|
|
31292
|
+
/**
|
|
31293
|
+
* @module plugins/image-properties
|
|
31294
|
+
*/
|
|
31278
31295
|
|
|
31279
31296
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.image = {
|
|
31280
31297
|
dialogWidth: 600,
|
|
@@ -32776,10 +32793,10 @@ function applySize(image, imageWidth, imageHeight, sizeIsLocked) {
|
|
|
32776
32793
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
32777
32794
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65147);
|
|
32778
32795
|
/* 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
|
|
32796
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
32797
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(16116);
|
|
32798
|
+
/* harmony import */ var _image_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(64831);
|
|
32799
|
+
/* harmony import */ var _image_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_image_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
32783
32800
|
/*!
|
|
32784
32801
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
32785
32802
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -32792,8 +32809,8 @@ function applySize(image, imageWidth, imageHeight, sizeIsLocked) {
|
|
|
32792
32809
|
|
|
32793
32810
|
|
|
32794
32811
|
|
|
32795
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('image', (
|
|
32796
|
-
|
|
32812
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('image', (_image_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
32813
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.image = {
|
|
32797
32814
|
popup: (editor, current, close) => {
|
|
32798
32815
|
let sourceImage = null;
|
|
32799
32816
|
if (current &&
|
|
@@ -32805,7 +32822,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.prototype.controls.ima
|
|
|
32805
32822
|
: (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.$$)('img', current)[0];
|
|
32806
32823
|
}
|
|
32807
32824
|
editor.s.save();
|
|
32808
|
-
return (0,
|
|
32825
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__/* .FileSelectorWidget */ .kG)(editor, {
|
|
32809
32826
|
filebrowser: (data) => {
|
|
32810
32827
|
editor.s.restore();
|
|
32811
32828
|
data.files &&
|
|
@@ -32848,12 +32865,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('image
|
|
|
32848
32865
|
"use strict";
|
|
32849
32866
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(71842);
|
|
32850
32867
|
/* 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
|
|
32868
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
32869
|
+
/* harmony import */ var _icons_indent_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(67176);
|
|
32870
|
+
/* harmony import */ var _icons_indent_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_indent_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
32871
|
+
/* harmony import */ var _icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(14017);
|
|
32872
|
+
/* harmony import */ var _icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
32873
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(3392);
|
|
32857
32874
|
/*!
|
|
32858
32875
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
32859
32876
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -32865,17 +32882,17 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('image
|
|
|
32865
32882
|
|
|
32866
32883
|
|
|
32867
32884
|
|
|
32868
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('indent', (
|
|
32869
|
-
|
|
32885
|
+
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()));
|
|
32886
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.indent = {
|
|
32870
32887
|
tooltip: 'Increase Indent'
|
|
32871
32888
|
};
|
|
32872
|
-
|
|
32889
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.outdent = {
|
|
32873
32890
|
isDisabled: (editor) => {
|
|
32874
32891
|
const current = editor.s.current();
|
|
32875
32892
|
if (current) {
|
|
32876
32893
|
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
32894
|
if (currentBox) {
|
|
32878
|
-
const arrow = (0,
|
|
32895
|
+
const arrow = (0,_helpers__WEBPACK_IMPORTED_MODULE_5__/* .getKey */ .i)(editor.o.direction, currentBox);
|
|
32879
32896
|
return (!currentBox.style[arrow] ||
|
|
32880
32897
|
parseInt(currentBox.style[arrow], 10) <= 0);
|
|
32881
32898
|
}
|
|
@@ -32884,7 +32901,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.out
|
|
|
32884
32901
|
},
|
|
32885
32902
|
tooltip: 'Decrease Indent'
|
|
32886
32903
|
};
|
|
32887
|
-
|
|
32904
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.indentMargin = 10;
|
|
32888
32905
|
|
|
32889
32906
|
|
|
32890
32907
|
/***/ }),
|
|
@@ -33145,12 +33162,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inden
|
|
|
33145
33162
|
|
|
33146
33163
|
"use strict";
|
|
33147
33164
|
/* 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
|
|
33165
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
33166
|
+
/* harmony import */ var _items_a__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(97836);
|
|
33167
|
+
/* harmony import */ var _items_cells__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(82558);
|
|
33168
|
+
/* harmony import */ var _items_iframe__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(6295);
|
|
33169
|
+
/* harmony import */ var _items_img__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(26396);
|
|
33152
33170
|
/* 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
33171
|
/* harmony import */ var jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38681);
|
|
33155
33172
|
/* 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
33173
|
/* harmony import */ var jodit_plugins_inline_popup_icons_addrow_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(64637);
|
|
@@ -33184,10 +33201,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inden
|
|
|
33184
33201
|
|
|
33185
33202
|
|
|
33186
33203
|
|
|
33187
|
-
|
|
33188
|
-
|
|
33189
|
-
|
|
33190
|
-
|
|
33204
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInline = true;
|
|
33205
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineForSelection = false;
|
|
33206
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineDisableFor = [];
|
|
33207
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineDisabledButtons = ['source'];
|
|
33191
33208
|
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
33209
|
.set('addrow', (jodit_plugins_inline_popup_icons_addrow_svg__WEBPACK_IMPORTED_MODULE_7___default()))
|
|
33193
33210
|
.set('merge', (jodit_plugins_inline_popup_icons_merge_svg__WEBPACK_IMPORTED_MODULE_8___default()))
|
|
@@ -33195,14 +33212,14 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('addcolumn', (
|
|
|
33195
33212
|
.set('splitg', (jodit_plugins_inline_popup_icons_splitg_svg__WEBPACK_IMPORTED_MODULE_9___default()))
|
|
33196
33213
|
.set('splitv', (jodit_plugins_inline_popup_icons_splitv_svg__WEBPACK_IMPORTED_MODULE_10___default()))
|
|
33197
33214
|
.set('th-list', (jodit_plugins_inline_popup_icons_th_list_svg__WEBPACK_IMPORTED_MODULE_12___default()));
|
|
33198
|
-
|
|
33199
|
-
a:
|
|
33200
|
-
img:
|
|
33201
|
-
cells:
|
|
33215
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.popup = {
|
|
33216
|
+
a: _items_a__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A,
|
|
33217
|
+
img: _items_img__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .A,
|
|
33218
|
+
cells: _items_cells__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .A,
|
|
33202
33219
|
toolbar: _items_toolbar__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .A,
|
|
33203
|
-
jodit:
|
|
33204
|
-
iframe:
|
|
33205
|
-
'jodit-media':
|
|
33220
|
+
jodit: _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
33221
|
+
iframe: _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
33222
|
+
'jodit-media': _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
33206
33223
|
selection: [
|
|
33207
33224
|
'bold',
|
|
33208
33225
|
'underline',
|
|
@@ -33814,12 +33831,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inlin
|
|
|
33814
33831
|
/* unused harmony export justify */
|
|
33815
33832
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55186);
|
|
33816
33833
|
/* 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__);
|
|
33834
|
+
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65147);
|
|
33835
|
+
/* harmony import */ var jodit_core_helpers_utils_align__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(40080);
|
|
33836
|
+
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(38322);
|
|
33837
|
+
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(931);
|
|
33822
33838
|
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(36115);
|
|
33839
|
+
/* harmony import */ var _justify_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(80515);
|
|
33840
|
+
/* harmony import */ var _justify_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_justify_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
33823
33841
|
/*!
|
|
33824
33842
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
33825
33843
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -33832,7 +33850,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inlin
|
|
|
33832
33850
|
|
|
33833
33851
|
|
|
33834
33852
|
|
|
33835
|
-
|
|
33853
|
+
|
|
33854
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('justify', (_justify_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
33836
33855
|
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.align = {
|
|
33837
33856
|
name: 'left',
|
|
33838
33857
|
tooltip: 'Align',
|
|
@@ -33841,22 +33860,25 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.ali
|
|
|
33841
33860
|
if (current) {
|
|
33842
33861
|
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
33862
|
editor.editor;
|
|
33844
|
-
let currentValue = (0,
|
|
33863
|
+
let currentValue = (0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__/* .css */ .A)(currentBox, 'text-align').toString();
|
|
33845
33864
|
if (control.defaultValue &&
|
|
33846
33865
|
control.defaultValue.indexOf(currentValue) !== -1) {
|
|
33847
33866
|
currentValue = 'left';
|
|
33848
33867
|
}
|
|
33849
|
-
|
|
33850
|
-
|
|
33851
|
-
|
|
33852
|
-
|
|
33868
|
+
const { list, data } = control;
|
|
33869
|
+
if (data &&
|
|
33870
|
+
data.currentValue !== currentValue &&
|
|
33871
|
+
list &&
|
|
33872
|
+
((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isPlainObject)(list)
|
|
33873
|
+
? list[currentValue]
|
|
33874
|
+
: list.includes(currentValue))) {
|
|
33853
33875
|
if (editor.o.textIcons || control.component === 'select') {
|
|
33854
33876
|
button.state.text = currentValue;
|
|
33855
33877
|
}
|
|
33856
33878
|
else {
|
|
33857
33879
|
button.state.icon.name = currentValue;
|
|
33858
33880
|
}
|
|
33859
|
-
|
|
33881
|
+
data.currentValue = currentValue;
|
|
33860
33882
|
}
|
|
33861
33883
|
}
|
|
33862
33884
|
},
|
|
@@ -33867,7 +33889,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.ali
|
|
|
33867
33889
|
}
|
|
33868
33890
|
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
33891
|
editor.editor;
|
|
33870
|
-
return (btn.control.defaultValue.indexOf((0,
|
|
33892
|
+
return (btn.control.defaultValue.indexOf((0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__/* .css */ .A)(currentBox, 'text-align').toString()) === -1);
|
|
33871
33893
|
},
|
|
33872
33894
|
defaultValue: ['left', 'start', 'inherit'],
|
|
33873
33895
|
data: {
|
|
@@ -33921,7 +33943,7 @@ function justify(editor) {
|
|
|
33921
33943
|
if (!currentBox) {
|
|
33922
33944
|
currentBox = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.wrapInline(current, editor.o.enterBlock, editor);
|
|
33923
33945
|
}
|
|
33924
|
-
(0,
|
|
33946
|
+
(0,jodit_core_helpers_utils_align__WEBPACK_IMPORTED_MODULE_3__/* .alignElement */ .Op)(command, currentBox);
|
|
33925
33947
|
});
|
|
33926
33948
|
return false;
|
|
33927
33949
|
};
|
|
@@ -34133,9 +34155,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('limit
|
|
|
34133
34155
|
"use strict";
|
|
34134
34156
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(65147);
|
|
34135
34157
|
/* 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
|
|
34158
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
34159
|
+
/* harmony import */ var _line_height_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(223);
|
|
34160
|
+
/* harmony import */ var _line_height_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_line_height_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
34139
34161
|
/*!
|
|
34140
34162
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
34141
34163
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -34145,9 +34167,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('limit
|
|
|
34145
34167
|
|
|
34146
34168
|
|
|
34147
34169
|
|
|
34148
|
-
|
|
34149
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('line-height', (
|
|
34150
|
-
|
|
34170
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.defaultLineHeight = null;
|
|
34171
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('line-height', (_line_height_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
34172
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.lineHeight = {
|
|
34151
34173
|
command: 'applyLineHeight',
|
|
34152
34174
|
tags: ['ol'],
|
|
34153
34175
|
tooltip: 'Line height',
|
|
@@ -34712,12 +34734,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('lineH
|
|
|
34712
34734
|
"use strict";
|
|
34713
34735
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55186);
|
|
34714
34736
|
/* 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
|
|
34737
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
34738
|
+
/* harmony import */ var _icons_link_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(95032);
|
|
34739
|
+
/* harmony import */ var _icons_link_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_link_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
34740
|
+
/* harmony import */ var _icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(73533);
|
|
34741
|
+
/* harmony import */ var _icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
34742
|
+
/* harmony import */ var _template__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(21329);
|
|
34721
34743
|
/*!
|
|
34722
34744
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
34723
34745
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -34729,8 +34751,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('lineH
|
|
|
34729
34751
|
|
|
34730
34752
|
|
|
34731
34753
|
|
|
34732
|
-
|
|
34733
|
-
formTemplate:
|
|
34754
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.link = {
|
|
34755
|
+
formTemplate: _template__WEBPACK_IMPORTED_MODULE_5__/* .formTemplate */ .B,
|
|
34734
34756
|
followOnDblClick: false,
|
|
34735
34757
|
processVideoLink: true,
|
|
34736
34758
|
processPastedLink: true,
|
|
@@ -34742,8 +34764,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.link = {
|
|
|
34742
34764
|
selectOptionsClassName: [],
|
|
34743
34765
|
hotkeys: ['ctrl+k', 'cmd+k']
|
|
34744
34766
|
};
|
|
34745
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('link', (
|
|
34746
|
-
|
|
34767
|
+
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()));
|
|
34768
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.unlink = {
|
|
34747
34769
|
exec: (editor, current) => {
|
|
34748
34770
|
const anchor = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor);
|
|
34749
34771
|
if (anchor) {
|
|
@@ -34754,7 +34776,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.unl
|
|
|
34754
34776
|
},
|
|
34755
34777
|
tooltip: 'Unlink'
|
|
34756
34778
|
};
|
|
34757
|
-
|
|
34779
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.link = {
|
|
34758
34780
|
isActive: (editor) => {
|
|
34759
34781
|
const current = editor.s.current();
|
|
34760
34782
|
return Boolean(current && jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor));
|
|
@@ -35299,9 +35321,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('media
|
|
|
35299
35321
|
"use strict";
|
|
35300
35322
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17352);
|
|
35301
35323
|
/* 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
|
|
35324
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
35325
|
+
/* harmony import */ var jodit_modules_toolbar_collection_collection__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(97394);
|
|
35326
|
+
/* harmony import */ var jodit_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(8809);
|
|
35305
35327
|
/*!
|
|
35306
35328
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
35307
35329
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -35312,9 +35334,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('media
|
|
|
35312
35334
|
|
|
35313
35335
|
|
|
35314
35336
|
|
|
35315
|
-
|
|
35316
|
-
|
|
35317
|
-
|
|
35337
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.mobileTapTimeout = 300;
|
|
35338
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.toolbarAdaptive = true;
|
|
35339
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsMD = [
|
|
35318
35340
|
{
|
|
35319
35341
|
group: 'font-style',
|
|
35320
35342
|
buttons: []
|
|
@@ -35361,7 +35383,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsMD =
|
|
|
35361
35383
|
'|',
|
|
35362
35384
|
'dots'
|
|
35363
35385
|
];
|
|
35364
|
-
|
|
35386
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsSM = [
|
|
35365
35387
|
{
|
|
35366
35388
|
group: 'font-style',
|
|
35367
35389
|
buttons: []
|
|
@@ -35396,7 +35418,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsSM =
|
|
|
35396
35418
|
'|',
|
|
35397
35419
|
'dots'
|
|
35398
35420
|
];
|
|
35399
|
-
|
|
35421
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsXS = [
|
|
35400
35422
|
{
|
|
35401
35423
|
group: 'font-style',
|
|
35402
35424
|
buttons: []
|
|
@@ -35417,17 +35439,17 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsXS =
|
|
|
35417
35439
|
'---',
|
|
35418
35440
|
'dots'
|
|
35419
35441
|
];
|
|
35420
|
-
|
|
35442
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.dots = {
|
|
35421
35443
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SOURCE + jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_WYSIWYG,
|
|
35422
35444
|
popup: (editor, current, close, button) => {
|
|
35423
35445
|
let store = button.control.data;
|
|
35424
35446
|
if (store === undefined) {
|
|
35425
35447
|
store = {
|
|
35426
|
-
toolbar: (0,
|
|
35448
|
+
toolbar: (0,jodit_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_4__/* .makeCollection */ .$K)(editor),
|
|
35427
35449
|
rebuild: () => {
|
|
35428
35450
|
var _a, _b;
|
|
35429
35451
|
if (button) {
|
|
35430
|
-
const buttons = editor.e.fire('getDiffButtons.mobile', button.closest(
|
|
35452
|
+
const buttons = editor.e.fire('getDiffButtons.mobile', button.closest(jodit_modules_toolbar_collection_collection__WEBPACK_IMPORTED_MODULE_3__/* .ToolbarCollection */ .Q));
|
|
35431
35453
|
if (buttons && store) {
|
|
35432
35454
|
store.toolbar.build((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.splitArray)(buttons));
|
|
35433
35455
|
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 +35558,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('mobil
|
|
|
35536
35558
|
"use strict";
|
|
35537
35559
|
/* harmony import */ var jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(72197);
|
|
35538
35560
|
/* 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
|
|
35561
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
35562
|
+
/* harmony import */ var _icons_ol_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(40037);
|
|
35563
|
+
/* harmony import */ var _icons_ol_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_ol_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
35564
|
+
/* harmony import */ var _icons_ul_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(83207);
|
|
35565
|
+
/* harmony import */ var _icons_ul_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_ul_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
35544
35566
|
/*!
|
|
35545
35567
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
35546
35568
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -35558,8 +35580,8 @@ const memoExec = (jodit, _, { control }) => {
|
|
|
35558
35580
|
(0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_0__/* .dataBind */ .m)(jodit, key, value);
|
|
35559
35581
|
jodit.execCommand(control.command, false, value === 'default' ? null : value);
|
|
35560
35582
|
};
|
|
35561
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('ol', (
|
|
35562
|
-
|
|
35583
|
+
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()));
|
|
35584
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.ul = {
|
|
35563
35585
|
command: 'insertUnorderedList',
|
|
35564
35586
|
tags: ['ul'],
|
|
35565
35587
|
tooltip: 'Insert Unordered List',
|
|
@@ -35571,7 +35593,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.ul
|
|
|
35571
35593
|
},
|
|
35572
35594
|
exec: memoExec
|
|
35573
35595
|
};
|
|
35574
|
-
|
|
35596
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.ol = {
|
|
35575
35597
|
command: 'insertOrderedList',
|
|
35576
35598
|
tags: ['ol'],
|
|
35577
35599
|
tooltip: 'Insert Ordered List',
|
|
@@ -35946,8 +35968,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('paste
|
|
|
35946
35968
|
|
|
35947
35969
|
"use strict";
|
|
35948
35970
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17352);
|
|
35949
|
-
/* harmony import */ var
|
|
35950
|
-
/* harmony import */ var
|
|
35971
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
35972
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(90823);
|
|
35951
35973
|
/*!
|
|
35952
35974
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
35953
35975
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -35956,19 +35978,19 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('paste
|
|
|
35956
35978
|
|
|
35957
35979
|
|
|
35958
35980
|
|
|
35959
|
-
|
|
35960
|
-
|
|
35961
|
-
|
|
35962
|
-
|
|
35963
|
-
|
|
35981
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.askBeforePasteHTML = true;
|
|
35982
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.processPasteHTML = true;
|
|
35983
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.scrollToPastedContent = true;
|
|
35984
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.pasteExcludeStripTags = ['br', 'hr'];
|
|
35985
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.pasteHTMLActionList = [
|
|
35964
35986
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_AS_HTML, text: 'Keep' },
|
|
35965
35987
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_AS_TEXT, text: 'Insert as Text' },
|
|
35966
35988
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_ONLY_TEXT, text: 'Insert only Text' }
|
|
35967
35989
|
];
|
|
35968
|
-
|
|
35969
|
-
|
|
35990
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.memorizeChoiceWhenPasteFragment = false;
|
|
35991
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.nl2brInPlainText = true;
|
|
35970
35992
|
const psKey = 'pasteStorage';
|
|
35971
|
-
|
|
35993
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.paste = {
|
|
35972
35994
|
tooltip: 'Paste from clipboard',
|
|
35973
35995
|
async exec(editor, _, { control }) {
|
|
35974
35996
|
if (control.name === psKey) {
|
|
@@ -36016,7 +36038,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.pas
|
|
|
36016
36038
|
!error && editor.e.fire('afterPaste');
|
|
36017
36039
|
}
|
|
36018
36040
|
else if (text.length) {
|
|
36019
|
-
(0,
|
|
36041
|
+
(0,_helpers__WEBPACK_IMPORTED_MODULE_2__/* .pasteInsertHtml */ .sX)(null, editor, text);
|
|
36020
36042
|
editor.e.fire('afterPaste');
|
|
36021
36043
|
}
|
|
36022
36044
|
else {
|
|
@@ -36741,10 +36763,10 @@ function generateCriticalCSS(jodit) {
|
|
|
36741
36763
|
/* harmony import */ var jodit_core_helpers_utils_default_language__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(17527);
|
|
36742
36764
|
/* harmony import */ var jodit_core_helpers_utils_print__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(98434);
|
|
36743
36765
|
/* 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
|
|
36766
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(36115);
|
|
36767
|
+
/* harmony import */ var _lib_generate_critical_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(11131);
|
|
36768
|
+
/* harmony import */ var _print_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(59827);
|
|
36769
|
+
/* harmony import */ var _print_svg__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_print_svg__WEBPACK_IMPORTED_MODULE_7__);
|
|
36748
36770
|
/*!
|
|
36749
36771
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
36750
36772
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -36759,8 +36781,8 @@ function generateCriticalCSS(jodit) {
|
|
|
36759
36781
|
|
|
36760
36782
|
|
|
36761
36783
|
|
|
36762
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('print', (
|
|
36763
|
-
|
|
36784
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('print', (_print_svg__WEBPACK_IMPORTED_MODULE_7___default()));
|
|
36785
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.print = {
|
|
36764
36786
|
exec: (editor) => {
|
|
36765
36787
|
const iframe = editor.create.element('iframe');
|
|
36766
36788
|
Object.assign(iframe.style, {
|
|
@@ -36771,7 +36793,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_7__/* .Config */ .T.prototype.controls.pri
|
|
|
36771
36793
|
height: 0,
|
|
36772
36794
|
border: 0
|
|
36773
36795
|
});
|
|
36774
|
-
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .getContainer */ .My)(editor,
|
|
36796
|
+
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .getContainer */ .My)(editor, jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T).appendChild(iframe);
|
|
36775
36797
|
const afterFinishPrint = () => {
|
|
36776
36798
|
editor.e.off(editor.ow, 'mousemove', afterFinishPrint);
|
|
36777
36799
|
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.safeRemove(iframe);
|
|
@@ -36789,7 +36811,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_7__/* .Config */ .T.prototype.controls.pri
|
|
|
36789
36811
|
myWindow.document.write('<!doctype html><html lang="' +
|
|
36790
36812
|
(0,jodit_core_helpers_utils_default_language__WEBPACK_IMPORTED_MODULE_8__/* .defaultLanguage */ .e)(editor.o.language) +
|
|
36791
36813
|
'"><head><title></title></head><style>' +
|
|
36792
|
-
(0,
|
|
36814
|
+
(0,_lib_generate_critical_css__WEBPACK_IMPORTED_MODULE_6__/* .generateCriticalCSS */ .Y)(editor) +
|
|
36793
36815
|
'</style><body></body></html>');
|
|
36794
36816
|
myWindow.document.close();
|
|
36795
36817
|
(0,jodit_core_helpers_utils_print__WEBPACK_IMPORTED_MODULE_3__/* .previewBox */ .u)(editor, undefined, 'px', myWindow.document.body);
|
|
@@ -36827,11 +36849,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('print
|
|
|
36827
36849
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
36828
36850
|
/* harmony import */ var jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(29866);
|
|
36829
36851
|
/* 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
|
|
36852
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
36853
|
+
/* harmony import */ var _icons_redo_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(34045);
|
|
36854
|
+
/* harmony import */ var _icons_redo_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_redo_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
36855
|
+
/* harmony import */ var _icons_undo_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(39199);
|
|
36856
|
+
/* harmony import */ var _icons_undo_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_icons_undo_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
36835
36857
|
/*!
|
|
36836
36858
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
36837
36859
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -36844,13 +36866,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('print
|
|
|
36844
36866
|
|
|
36845
36867
|
|
|
36846
36868
|
|
|
36847
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('redo', (
|
|
36848
|
-
|
|
36869
|
+
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()));
|
|
36870
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.redo = {
|
|
36849
36871
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
36850
36872
|
isDisabled: (editor) => !editor.history.canRedo(),
|
|
36851
36873
|
tooltip: 'Redo'
|
|
36852
36874
|
};
|
|
36853
|
-
|
|
36875
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.undo = {
|
|
36854
36876
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
36855
36877
|
isDisabled: (editor) => !editor.history.canUndo(),
|
|
36856
36878
|
tooltip: 'Undo'
|
|
@@ -37869,9 +37891,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('resiz
|
|
|
37869
37891
|
|
|
37870
37892
|
"use strict";
|
|
37871
37893
|
/* 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
|
|
37894
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
37895
|
+
/* harmony import */ var _search_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(21917);
|
|
37896
|
+
/* harmony import */ var _search_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_search_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
37875
37897
|
/*!
|
|
37876
37898
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
37877
37899
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -37881,14 +37903,14 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('resiz
|
|
|
37881
37903
|
|
|
37882
37904
|
|
|
37883
37905
|
|
|
37884
|
-
|
|
37885
|
-
|
|
37906
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.useSearch = true;
|
|
37907
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.search = {
|
|
37886
37908
|
lazyIdleTimeout: 0,
|
|
37887
37909
|
// @ts-ignore Because Highlight is not defined in the types TS 5.3.3
|
|
37888
37910
|
useCustomHighlightAPI: typeof window.Highlight !== 'undefined'
|
|
37889
37911
|
};
|
|
37890
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('search', (
|
|
37891
|
-
|
|
37912
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('search', (_search_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
37913
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.find = {
|
|
37892
37914
|
tooltip: 'Find',
|
|
37893
37915
|
icon: 'search',
|
|
37894
37916
|
exec(jodit, _, { control }) {
|
|
@@ -39506,9 +39528,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('size'
|
|
|
39506
39528
|
"use strict";
|
|
39507
39529
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17352);
|
|
39508
39530
|
/* 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
|
|
39531
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
39532
|
+
/* harmony import */ var _source_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9103);
|
|
39533
|
+
/* harmony import */ var _source_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_source_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
39512
39534
|
/*!
|
|
39513
39535
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
39514
39536
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -39518,9 +39540,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('size'
|
|
|
39518
39540
|
|
|
39519
39541
|
|
|
39520
39542
|
|
|
39521
|
-
|
|
39522
|
-
|
|
39523
|
-
|
|
39543
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.beautifyHTML = !jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.IS_IE;
|
|
39544
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditor = 'ace';
|
|
39545
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditorNativeOptions = {
|
|
39524
39546
|
/**
|
|
39525
39547
|
* Show gutter
|
|
39526
39548
|
*/
|
|
@@ -39542,15 +39564,15 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.sourceEditor
|
|
|
39542
39564
|
*/
|
|
39543
39565
|
highlightActiveLine: true
|
|
39544
39566
|
};
|
|
39545
|
-
|
|
39567
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditorCDNUrlsJS = [
|
|
39546
39568
|
'https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.2/ace.js'
|
|
39547
39569
|
];
|
|
39548
|
-
|
|
39570
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.beautifyHTMLCDNUrlsJS = [
|
|
39549
39571
|
'https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify.min.js',
|
|
39550
39572
|
'https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify-html.min.js'
|
|
39551
39573
|
];
|
|
39552
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('source', (
|
|
39553
|
-
|
|
39574
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('source', (_source_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
39575
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.source = {
|
|
39554
39576
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
39555
39577
|
exec: (editor) => {
|
|
39556
39578
|
editor.toggleMode();
|
|
@@ -40360,9 +40382,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('sourc
|
|
|
40360
40382
|
|
|
40361
40383
|
"use strict";
|
|
40362
40384
|
/* 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
|
|
40385
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
40386
|
+
/* harmony import */ var _spellcheck_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(49989);
|
|
40387
|
+
/* harmony import */ var _spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
40366
40388
|
/*!
|
|
40367
40389
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
40368
40390
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -40371,13 +40393,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('sourc
|
|
|
40371
40393
|
|
|
40372
40394
|
|
|
40373
40395
|
|
|
40374
|
-
|
|
40375
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('spellcheck', (
|
|
40376
|
-
|
|
40396
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.spellcheck = false;
|
|
40397
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('spellcheck', (_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
40398
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.spellcheck = {
|
|
40377
40399
|
isActive(e) {
|
|
40378
40400
|
return e.o.spellcheck;
|
|
40379
40401
|
},
|
|
40380
|
-
icon: (
|
|
40402
|
+
icon: (_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default()),
|
|
40381
40403
|
name: 'spellcheck',
|
|
40382
40404
|
command: 'toggleSpellcheck',
|
|
40383
40405
|
tooltip: 'Spellcheck'
|
|
@@ -41152,9 +41174,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('stick
|
|
|
41152
41174
|
|
|
41153
41175
|
"use strict";
|
|
41154
41176
|
/* 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
|
|
41177
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
41178
|
+
/* harmony import */ var _symbols_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(81875);
|
|
41179
|
+
/* harmony import */ var _symbols_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_symbols_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
41158
41180
|
/*!
|
|
41159
41181
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
41160
41182
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -41163,8 +41185,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('stick
|
|
|
41163
41185
|
|
|
41164
41186
|
|
|
41165
41187
|
|
|
41166
|
-
|
|
41167
|
-
|
|
41188
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.usePopupForSpecialCharacters = false;
|
|
41189
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.specialCharacters = [
|
|
41168
41190
|
'!',
|
|
41169
41191
|
'"',
|
|
41170
41192
|
'#',
|
|
@@ -41376,8 +41398,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.specialChara
|
|
|
41376
41398
|
'♦',
|
|
41377
41399
|
'≈'
|
|
41378
41400
|
];
|
|
41379
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('symbols', (
|
|
41380
|
-
|
|
41401
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('symbols', (_symbols_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
41402
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.symbols = {
|
|
41381
41403
|
hotkeys: ['ctrl+shift+i', 'cmd+shift+i'],
|
|
41382
41404
|
tooltip: 'Insert Special Character',
|
|
41383
41405
|
popup: (editor, current, close) => {
|
|
@@ -42366,9 +42388,9 @@ function findCell(editor, key) {
|
|
|
42366
42388
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65147);
|
|
42367
42389
|
/* harmony import */ var jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(97369);
|
|
42368
42390
|
/* 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
|
|
42391
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
42392
|
+
/* harmony import */ var _table_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(67447);
|
|
42393
|
+
/* harmony import */ var _table_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_table_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
42372
42394
|
/*!
|
|
42373
42395
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
42374
42396
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -42380,12 +42402,12 @@ function findCell(editor, key) {
|
|
|
42380
42402
|
|
|
42381
42403
|
|
|
42382
42404
|
|
|
42383
|
-
|
|
42405
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.table = {
|
|
42384
42406
|
selectionCellStyle: 'border: 1px double #1e88e5 !important;',
|
|
42385
42407
|
useExtraClassesOptions: false
|
|
42386
42408
|
};
|
|
42387
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('table', (
|
|
42388
|
-
|
|
42409
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('table', (_table_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
42410
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.table = {
|
|
42389
42411
|
data: {
|
|
42390
42412
|
cols: 10,
|
|
42391
42413
|
rows: 10,
|
|
@@ -42552,10 +42574,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('table
|
|
|
42552
42574
|
/* harmony import */ var jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(35265);
|
|
42553
42575
|
/* harmony import */ var jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(20703);
|
|
42554
42576
|
/* 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
|
|
42577
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
42578
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(16116);
|
|
42579
|
+
/* harmony import */ var _video_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(36339);
|
|
42580
|
+
/* harmony import */ var _video_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_video_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
42559
42581
|
/*!
|
|
42560
42582
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
42561
42583
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -42568,8 +42590,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('table
|
|
|
42568
42590
|
|
|
42569
42591
|
|
|
42570
42592
|
|
|
42571
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('video', (
|
|
42572
|
-
|
|
42593
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('video', (_video_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
42594
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.video = {
|
|
42573
42595
|
popup: (editor, current, close) => {
|
|
42574
42596
|
const formLink = new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIForm */ .XV(editor, [
|
|
42575
42597
|
new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIBlock */ .Yh(editor, [
|
|
@@ -42616,7 +42638,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.prototype.controls.vid
|
|
|
42616
42638
|
formCode.onSubmit(data => {
|
|
42617
42639
|
insertCode(data.code);
|
|
42618
42640
|
});
|
|
42619
|
-
return (0,
|
|
42641
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__/* .TabsWidget */ .Zg)(editor, tabs);
|
|
42620
42642
|
},
|
|
42621
42643
|
tags: ['iframe'],
|
|
42622
42644
|
tooltip: 'Insert youtube/vimeo video'
|