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/es2015/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 = "es2015";
|
|
1742
1742
|
const IS_ES_MODERN = true;
|
|
@@ -7540,9 +7540,9 @@ const completeUrl = (url) => {
|
|
|
7540
7540
|
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(25376);
|
|
7541
7541
|
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(98253);
|
|
7542
7542
|
/* harmony import */ var jodit_core_helpers_checker_is_void__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(35642);
|
|
7543
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(36115);
|
|
7543
7544
|
/* harmony import */ var _extend__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(49429);
|
|
7544
|
-
/* harmony import */ var
|
|
7545
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
7545
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(84976);
|
|
7546
7546
|
/*!
|
|
7547
7547
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
7548
7548
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -7590,7 +7590,7 @@ function ConfigProto(options, proto, deep = 0) {
|
|
|
7590
7590
|
if (Object.getPrototypeOf(options) !== Object.prototype) {
|
|
7591
7591
|
return options;
|
|
7592
7592
|
}
|
|
7593
|
-
const def =
|
|
7593
|
+
const def = jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.defaultOptions;
|
|
7594
7594
|
if ((0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__/* .isString */ .K)(options.preset)) {
|
|
7595
7595
|
if (def.presets[options.preset] !== undefined) {
|
|
7596
7596
|
const preset = def.presets[options.preset];
|
|
@@ -7620,7 +7620,7 @@ function ConfigProto(options, proto, deep = 0) {
|
|
|
7620
7620
|
return newOpt;
|
|
7621
7621
|
}
|
|
7622
7622
|
function ConfigFlatten(obj) {
|
|
7623
|
-
return (0,
|
|
7623
|
+
return (0,_utils__WEBPACK_IMPORTED_MODULE_1__/* .keys */ .HP)(obj, false).reduce((app, key) => {
|
|
7624
7624
|
app[key] = obj[key];
|
|
7625
7625
|
return app;
|
|
7626
7626
|
}, {});
|
|
@@ -9588,9 +9588,9 @@ Plugin.requires = [];
|
|
|
9588
9588
|
/* harmony import */ var jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(26318);
|
|
9589
9589
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65147);
|
|
9590
9590
|
/* harmony import */ var jodit_core_helpers_utils_error__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(50156);
|
|
9591
|
-
/* harmony import */ var
|
|
9591
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
9592
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(27337);
|
|
9592
9593
|
/* harmony import */ var _response__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(91672);
|
|
9593
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
9594
9594
|
/*!
|
|
9595
9595
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
9596
9596
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -9608,7 +9608,7 @@ class Ajax {
|
|
|
9608
9608
|
className() {
|
|
9609
9609
|
return 'Ajax';
|
|
9610
9610
|
}
|
|
9611
|
-
constructor(options, defaultAjaxOptions =
|
|
9611
|
+
constructor(options, defaultAjaxOptions = jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.defaultAjaxOptions) {
|
|
9612
9612
|
this.__async = new jodit_core_async__WEBPACK_IMPORTED_MODULE_0__/* .Async */ .j();
|
|
9613
9613
|
this.__isFulfilled = false;
|
|
9614
9614
|
this.__activated = false;
|
|
@@ -15019,7 +15019,6 @@ function getControlType(button, controls) {
|
|
|
15019
15019
|
* @private
|
|
15020
15020
|
*/
|
|
15021
15021
|
function findControlType(path, controls) {
|
|
15022
|
-
var _a;
|
|
15023
15022
|
// eslint-disable-next-line prefer-const
|
|
15024
15023
|
let [namespaceOrKey, key] = path.split(/\./);
|
|
15025
15024
|
let store = controls;
|
|
@@ -15031,14 +15030,22 @@ function findControlType(path, controls) {
|
|
|
15031
15030
|
else {
|
|
15032
15031
|
key = namespaceOrKey;
|
|
15033
15032
|
}
|
|
15034
|
-
const list =
|
|
15033
|
+
// const list = store[key]?.list;
|
|
15035
15034
|
return store[key]
|
|
15036
|
-
? Object.assign(
|
|
15037
|
-
|
|
15038
|
-
|
|
15039
|
-
|
|
15040
|
-
|
|
15041
|
-
|
|
15035
|
+
? Object.assign({ name: key }, (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__.ConfigFlatten)(store[key])
|
|
15036
|
+
// list: isArray(list)
|
|
15037
|
+
// ? (<Array<string>>list).reduce(
|
|
15038
|
+
// (
|
|
15039
|
+
// acc: IDictionary<string | number>,
|
|
15040
|
+
// k: string | number
|
|
15041
|
+
// ) => {
|
|
15042
|
+
// acc[String(k)] = k;
|
|
15043
|
+
// return acc;
|
|
15044
|
+
// },
|
|
15045
|
+
// {}
|
|
15046
|
+
// )
|
|
15047
|
+
// : list
|
|
15048
|
+
) : undefined;
|
|
15042
15049
|
}
|
|
15043
15050
|
|
|
15044
15051
|
|
|
@@ -15053,8 +15060,8 @@ function findControlType(path, controls) {
|
|
|
15053
15060
|
/* harmony export */ });
|
|
15054
15061
|
/* harmony import */ var jodit_core_helpers_checker_is_array__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(37923);
|
|
15055
15062
|
/* harmony import */ var jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(97369);
|
|
15056
|
-
/* harmony import */ var
|
|
15057
|
-
/* harmony import */ var
|
|
15063
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
15064
|
+
/* harmony import */ var _get_control_type__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(57023);
|
|
15058
15065
|
/*!
|
|
15059
15066
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
15060
15067
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -15074,7 +15081,7 @@ function getStrongControlTypes(items, controls) {
|
|
|
15074
15081
|
const value = items[key] || {};
|
|
15075
15082
|
return (0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_0__.ConfigProto)({ name: key }, value);
|
|
15076
15083
|
});
|
|
15077
|
-
return elements.map(item => (0,
|
|
15084
|
+
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));
|
|
15078
15085
|
}
|
|
15079
15086
|
|
|
15080
15087
|
|
|
@@ -16170,8 +16177,8 @@ View.defaultOptions = {
|
|
|
16170
16177
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(65147);
|
|
16171
16178
|
/* harmony import */ var jodit_core_request__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(53883);
|
|
16172
16179
|
/* harmony import */ var jodit_core_traits_dlgs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(58597);
|
|
16173
|
-
/* harmony import */ var
|
|
16174
|
-
/* harmony import */ var
|
|
16180
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(36115);
|
|
16181
|
+
/* harmony import */ var jodit_modules__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(37435);
|
|
16175
16182
|
/*!
|
|
16176
16183
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
16177
16184
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -16190,7 +16197,7 @@ var Jodit_1;
|
|
|
16190
16197
|
|
|
16191
16198
|
const __defaultStyleDisplayKey = 'data-jodit-default-style-display';
|
|
16192
16199
|
const __defaultClassesKey = 'data-jodit-default-classes';
|
|
16193
|
-
let Jodit = Jodit_1 = class Jodit extends
|
|
16200
|
+
let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE_7__.ViewWithToolbar {
|
|
16194
16201
|
/** @override */
|
|
16195
16202
|
className() {
|
|
16196
16203
|
return 'Jodit';
|
|
@@ -16237,7 +16244,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
16237
16244
|
get defaultTimeout() {
|
|
16238
16245
|
return (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isNumber)(this.o.defaultTimeout)
|
|
16239
16246
|
? this.o.defaultTimeout
|
|
16240
|
-
:
|
|
16247
|
+
: jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions.defaultTimeout;
|
|
16241
16248
|
}
|
|
16242
16249
|
/**
|
|
16243
16250
|
* Method wrap usual Has Object in Object helper for prevent deep object merging in options*
|
|
@@ -16263,10 +16270,10 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
16263
16270
|
* Default settings
|
|
16264
16271
|
*/
|
|
16265
16272
|
static get defaultOptions() {
|
|
16266
|
-
return
|
|
16273
|
+
return jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions;
|
|
16267
16274
|
}
|
|
16268
16275
|
get createInside() {
|
|
16269
|
-
return new
|
|
16276
|
+
return new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Create(() => this.ed, this.o.createAttributes);
|
|
16270
16277
|
}
|
|
16271
16278
|
__setPlaceField(field, value) {
|
|
16272
16279
|
if (!this.currentPlace) {
|
|
@@ -16814,8 +16821,8 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
16814
16821
|
const active = this.od.activeElement;
|
|
16815
16822
|
if (active &&
|
|
16816
16823
|
(active === this.iframe ||
|
|
16817
|
-
|
|
16818
|
-
|
|
16824
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.isOrContains(this.editor, active) ||
|
|
16825
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.isOrContains(this.toolbar.container, active))) {
|
|
16819
16826
|
return jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_WYSIWYG;
|
|
16820
16827
|
}
|
|
16821
16828
|
return jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SOURCE;
|
|
@@ -16967,7 +16974,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
16967
16974
|
}
|
|
16968
16975
|
/** @override **/
|
|
16969
16976
|
initOptions(options) {
|
|
16970
|
-
this.options = ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {},
|
|
16977
|
+
this.options = ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions));
|
|
16971
16978
|
}
|
|
16972
16979
|
/** @override **/
|
|
16973
16980
|
initOwners() {
|
|
@@ -17012,7 +17019,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17012
17019
|
this.destruct();
|
|
17013
17020
|
throw e;
|
|
17014
17021
|
}
|
|
17015
|
-
this.setStatus(
|
|
17022
|
+
this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.STATUSES.beforeInit);
|
|
17016
17023
|
this.id =
|
|
17017
17024
|
(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') ||
|
|
17018
17025
|
new Date().getTime().toString();
|
|
@@ -17024,7 +17031,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17024
17031
|
}
|
|
17025
17032
|
});
|
|
17026
17033
|
this.e.on('prepareWYSIWYGEditor', this.__prepareWYSIWYGEditor);
|
|
17027
|
-
this.selection = new
|
|
17034
|
+
this.selection = new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Selection(this);
|
|
17028
17035
|
const beforeInitHookResult = this.beforeInitHook();
|
|
17029
17036
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.callPromise)(beforeInitHookResult, () => {
|
|
17030
17037
|
if (this.isInDestruct) {
|
|
@@ -17048,7 +17055,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17048
17055
|
this.e.fire('afterInit', this);
|
|
17049
17056
|
}
|
|
17050
17057
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.callPromise)(this.afterInitHook());
|
|
17051
|
-
this.setStatus(
|
|
17058
|
+
this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.STATUSES.ready);
|
|
17052
17059
|
this.e.fire('afterConstructor', this);
|
|
17053
17060
|
};
|
|
17054
17061
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.callPromise)(addPlaceResult, init);
|
|
@@ -17064,7 +17071,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17064
17071
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.toArray)(element.attributes).forEach((attr) => {
|
|
17065
17072
|
const name = attr.name;
|
|
17066
17073
|
let value = attr.value;
|
|
17067
|
-
if (
|
|
17074
|
+
if (jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions[name] !== undefined &&
|
|
17068
17075
|
(!options || options[name] === undefined)) {
|
|
17069
17076
|
if (['readonly', 'disabled'].indexOf(name) !== -1) {
|
|
17070
17077
|
value = value === '' || value === 'true';
|
|
@@ -17132,11 +17139,11 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17132
17139
|
element,
|
|
17133
17140
|
container,
|
|
17134
17141
|
workplace,
|
|
17135
|
-
statusbar: new
|
|
17142
|
+
statusbar: new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.StatusBar(this, container),
|
|
17136
17143
|
options: this.isReady
|
|
17137
|
-
? (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {},
|
|
17144
|
+
? (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions)
|
|
17138
17145
|
: this.options,
|
|
17139
|
-
history: new
|
|
17146
|
+
history: new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.History(this),
|
|
17140
17147
|
editorWindow: this.ow
|
|
17141
17148
|
};
|
|
17142
17149
|
this.__elementToPlace.set(editor, currentPlace);
|
|
@@ -17227,7 +17234,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17227
17234
|
return;
|
|
17228
17235
|
}
|
|
17229
17236
|
if (stayDefault === false || (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isPromise)(stayDefault)) {
|
|
17230
|
-
|
|
17237
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(defaultEditorArea);
|
|
17231
17238
|
}
|
|
17232
17239
|
addClassNames(this.o.editorClassName, this.editor);
|
|
17233
17240
|
if (this.o.style) {
|
|
@@ -17314,7 +17321,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17314
17321
|
if (this.isInDestruct) {
|
|
17315
17322
|
return;
|
|
17316
17323
|
}
|
|
17317
|
-
this.setStatus(
|
|
17324
|
+
this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.STATUSES.beforeDestruct);
|
|
17318
17325
|
this.__elementToPlace.clear();
|
|
17319
17326
|
this.storage.clear();
|
|
17320
17327
|
this.buffer.clear();
|
|
@@ -17355,17 +17362,17 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17355
17362
|
this.e.off(container);
|
|
17356
17363
|
this.e.off(element);
|
|
17357
17364
|
this.e.off(editor);
|
|
17358
|
-
|
|
17359
|
-
|
|
17365
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(workplace);
|
|
17366
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(editor);
|
|
17360
17367
|
if (container !== element) {
|
|
17361
|
-
|
|
17368
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(container);
|
|
17362
17369
|
}
|
|
17363
17370
|
Object.defineProperty(element, 'component', {
|
|
17364
17371
|
enumerable: false,
|
|
17365
17372
|
configurable: true,
|
|
17366
17373
|
value: null
|
|
17367
17374
|
});
|
|
17368
|
-
|
|
17375
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(iframe);
|
|
17369
17376
|
// inline mode
|
|
17370
17377
|
if (container === element) {
|
|
17371
17378
|
element.innerHTML = buffer;
|
|
@@ -17387,7 +17394,7 @@ Jodit.constants = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__;
|
|
|
17387
17394
|
Jodit.instances = jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .instances */ .VF;
|
|
17388
17395
|
Jodit.lang = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.lang;
|
|
17389
17396
|
Jodit.core = {
|
|
17390
|
-
Plugin:
|
|
17397
|
+
Plugin: jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Plugin
|
|
17391
17398
|
};
|
|
17392
17399
|
(0,tslib__WEBPACK_IMPORTED_MODULE_8__/* .__decorate */ .Cg)([
|
|
17393
17400
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.cache
|
|
@@ -19658,16 +19665,16 @@ function loadTree(fb) {
|
|
|
19658
19665
|
/* harmony import */ var jodit_core_storage__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(63915);
|
|
19659
19666
|
/* harmony import */ var jodit_core_traits_dlgs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(58597);
|
|
19660
19667
|
/* harmony import */ var jodit_core_view_view_with_toolbar__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(14961);
|
|
19661
|
-
/* harmony import */ var
|
|
19668
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(36115);
|
|
19669
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(70265);
|
|
19662
19670
|
/* harmony import */ var _fetch_load_items__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(9979);
|
|
19663
|
-
/* harmony import */ var
|
|
19664
|
-
/* harmony import */ var
|
|
19665
|
-
/* harmony import */ var
|
|
19666
|
-
/* harmony import */ var
|
|
19667
|
-
/* harmony import */ var
|
|
19668
|
-
/* harmony import */ var
|
|
19669
|
-
/* harmony import */ var
|
|
19670
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(36115);
|
|
19671
|
+
/* harmony import */ var _fetch_load_tree__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(31859);
|
|
19672
|
+
/* harmony import */ var _listeners_native_listeners__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(62994);
|
|
19673
|
+
/* harmony import */ var _listeners_self_listeners__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(18043);
|
|
19674
|
+
/* harmony import */ var _listeners_state_listeners__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(80004);
|
|
19675
|
+
/* harmony import */ var _data_provider__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(75889);
|
|
19676
|
+
/* harmony import */ var _factories__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(83797);
|
|
19677
|
+
/* harmony import */ var _ui__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(10274);
|
|
19671
19678
|
/*!
|
|
19672
19679
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
19673
19680
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -19701,7 +19708,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
19701
19708
|
return 'FileBrowser';
|
|
19702
19709
|
}
|
|
19703
19710
|
get dataProvider() {
|
|
19704
|
-
return (0,
|
|
19711
|
+
return (0,_factories__WEBPACK_IMPORTED_MODULE_16__/* .makeDataProvider */ .S)(this, this.options);
|
|
19705
19712
|
}
|
|
19706
19713
|
// eslint-disable-next-line no-unused-vars
|
|
19707
19714
|
onSelect(callback) {
|
|
@@ -19817,7 +19824,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
19817
19824
|
this.__updateToolbarButtons();
|
|
19818
19825
|
this._dialog.open(this.browser, header);
|
|
19819
19826
|
this.e.fire('sort.filebrowser', this.state.sortBy);
|
|
19820
|
-
(0,
|
|
19827
|
+
(0,_fetch_load_tree__WEBPACK_IMPORTED_MODULE_11__/* .loadTree */ .r)(this)
|
|
19821
19828
|
.then(resolve, reject)
|
|
19822
19829
|
.finally(() => {
|
|
19823
19830
|
var _a;
|
|
@@ -19854,7 +19861,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
19854
19861
|
}
|
|
19855
19862
|
initUploader(editor) {
|
|
19856
19863
|
var _a;
|
|
19857
|
-
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 || {},
|
|
19864
|
+
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);
|
|
19858
19865
|
const uploadHandler = () => (0,_fetch_load_items__WEBPACK_IMPORTED_MODULE_18__/* .loadItems */ .f)(this);
|
|
19859
19866
|
self.uploader = self.getInstance('Uploader', uploaderOptions);
|
|
19860
19867
|
self.uploader
|
|
@@ -19874,11 +19881,11 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
19874
19881
|
super(options);
|
|
19875
19882
|
this.browser = this.c.div(this.componentName);
|
|
19876
19883
|
this.status_line = this.c.div(this.getFullElName('status'));
|
|
19877
|
-
this.tree = new
|
|
19878
|
-
this.files = new
|
|
19884
|
+
this.tree = new _ui__WEBPACK_IMPORTED_MODULE_17__/* .FileBrowserTree */ .V(this);
|
|
19885
|
+
this.files = new _ui__WEBPACK_IMPORTED_MODULE_17__/* .FileBrowserFiles */ .Q(this);
|
|
19879
19886
|
this.state = (0,jodit_core_event_emitter__WEBPACK_IMPORTED_MODULE_4__/* .observable */ .sH)({
|
|
19880
19887
|
currentPath: '',
|
|
19881
|
-
currentSource:
|
|
19888
|
+
currentSource: _data_provider__WEBPACK_IMPORTED_MODULE_15__/* .DEFAULT_SOURCE_NAME */ .o,
|
|
19882
19889
|
currentBaseUrl: '',
|
|
19883
19890
|
activeElements: [],
|
|
19884
19891
|
elements: [],
|
|
@@ -19908,7 +19915,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
19908
19915
|
this.__prevButtons = [];
|
|
19909
19916
|
this.attachEvents(options);
|
|
19910
19917
|
const self = this;
|
|
19911
|
-
self.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {},
|
|
19918
|
+
self.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_9__/* .Config */ .T.defaultOptions.filebrowser);
|
|
19912
19919
|
self.browser.component = this;
|
|
19913
19920
|
self.container = self.browser;
|
|
19914
19921
|
if (self.o.showFoldersPanel) {
|
|
@@ -19916,9 +19923,9 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
19916
19923
|
}
|
|
19917
19924
|
self.browser.appendChild(self.files.container);
|
|
19918
19925
|
self.browser.appendChild(self.status_line);
|
|
19919
|
-
|
|
19920
|
-
|
|
19921
|
-
|
|
19926
|
+
_listeners_self_listeners__WEBPACK_IMPORTED_MODULE_13__/* .selfListeners */ .c.call(self);
|
|
19927
|
+
_listeners_native_listeners__WEBPACK_IMPORTED_MODULE_12__/* .nativeListeners */ .nW.call(self);
|
|
19928
|
+
_listeners_state_listeners__WEBPACK_IMPORTED_MODULE_14__/* .stateListeners */ .r.call(self);
|
|
19922
19929
|
const keys = [
|
|
19923
19930
|
'getLocalFileByUrl',
|
|
19924
19931
|
'crop',
|
|
@@ -20590,10 +20597,10 @@ class Command {
|
|
|
20590
20597
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(31635);
|
|
20591
20598
|
/* harmony import */ var jodit_core_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77753);
|
|
20592
20599
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(22664);
|
|
20600
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
20593
20601
|
/* harmony import */ var _command__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(84345);
|
|
20594
|
-
/* harmony import */ var
|
|
20602
|
+
/* harmony import */ var _snapshot__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(58770);
|
|
20595
20603
|
/* harmony import */ var _stack__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(66180);
|
|
20596
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
20597
20604
|
/*!
|
|
20598
20605
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
20599
20606
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -20606,7 +20613,7 @@ class Command {
|
|
|
20606
20613
|
|
|
20607
20614
|
|
|
20608
20615
|
|
|
20609
|
-
|
|
20616
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.history = {
|
|
20610
20617
|
enable: true,
|
|
20611
20618
|
maxHistoryLength: Infinity,
|
|
20612
20619
|
timeout: 1000
|
|
@@ -20657,7 +20664,7 @@ class History extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .ViewC
|
|
|
20657
20664
|
set startValue(value) {
|
|
20658
20665
|
this.__startValue = value;
|
|
20659
20666
|
}
|
|
20660
|
-
constructor(editor, stack = new _stack__WEBPACK_IMPORTED_MODULE_4__/* .Stack */ .B(editor.o.history.maxHistoryLength), snapshot = new
|
|
20667
|
+
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)) {
|
|
20661
20668
|
super(editor);
|
|
20662
20669
|
this.updateTick = 0;
|
|
20663
20670
|
this.__stack = stack;
|
|
@@ -20720,7 +20727,7 @@ class History extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .ViewC
|
|
|
20720
20727
|
*/
|
|
20721
20728
|
updateStack(replace = false) {
|
|
20722
20729
|
const newValue = this.snapshot.make();
|
|
20723
|
-
if (!
|
|
20730
|
+
if (!_snapshot__WEBPACK_IMPORTED_MODULE_3__/* .Snapshot */ .F.equal(newValue, this.startValue)) {
|
|
20724
20731
|
const newCommand = new _command__WEBPACK_IMPORTED_MODULE_5__/* .Command */ .u(this.startValue, newValue, this, this.updateTick);
|
|
20725
20732
|
if (replace) {
|
|
20726
20733
|
const command = this.__stack.current();
|
|
@@ -21054,11 +21061,11 @@ class Stack {
|
|
|
21054
21061
|
|
|
21055
21062
|
"use strict";
|
|
21056
21063
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
21057
|
-
/* harmony import */ var
|
|
21058
|
-
/* harmony import */ var
|
|
21059
|
-
/* harmony import */ var
|
|
21060
|
-
/* harmony import */ var
|
|
21061
|
-
/* harmony import */ var
|
|
21064
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
21065
|
+
/* harmony import */ var _icons_crop_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(928);
|
|
21066
|
+
/* harmony import */ var _icons_crop_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_icons_crop_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
21067
|
+
/* harmony import */ var _icons_resize_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(31230);
|
|
21068
|
+
/* harmony import */ var _icons_resize_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_resize_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
21062
21069
|
/*!
|
|
21063
21070
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
21064
21071
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -21068,7 +21075,7 @@ class Stack {
|
|
|
21068
21075
|
|
|
21069
21076
|
|
|
21070
21077
|
|
|
21071
|
-
|
|
21078
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.imageeditor = {
|
|
21072
21079
|
min_width: 20,
|
|
21073
21080
|
min_height: 20,
|
|
21074
21081
|
closeAfterSave: false,
|
|
@@ -21083,7 +21090,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.imageeditor
|
|
|
21083
21090
|
cropDefaultWidth: '70%',
|
|
21084
21091
|
cropDefaultHeight: '70%'
|
|
21085
21092
|
};
|
|
21086
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('crop', (
|
|
21093
|
+
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()));
|
|
21087
21094
|
|
|
21088
21095
|
|
|
21089
21096
|
/***/ }),
|
|
@@ -21102,9 +21109,9 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('crop', (_icon
|
|
|
21102
21109
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(71842);
|
|
21103
21110
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(65147);
|
|
21104
21111
|
/* harmony import */ var jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(35265);
|
|
21105
|
-
/* harmony import */ var
|
|
21106
|
-
/* harmony import */ var
|
|
21107
|
-
/* harmony import */ var
|
|
21112
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(36115);
|
|
21113
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(93027);
|
|
21114
|
+
/* harmony import */ var _templates_form__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(24863);
|
|
21108
21115
|
/*!
|
|
21109
21116
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
21110
21117
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -21564,7 +21571,7 @@ let ImageEditor = ImageEditor_1 = class ImageEditor extends jodit_core_component
|
|
|
21564
21571
|
this.options =
|
|
21565
21572
|
editor && editor.o && editor.o.imageeditor
|
|
21566
21573
|
? editor.o.imageeditor
|
|
21567
|
-
:
|
|
21574
|
+
: jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.defaultOptions.imageeditor;
|
|
21568
21575
|
const o = this.options;
|
|
21569
21576
|
this.resizeUseRatio = o.resizeUseRatio;
|
|
21570
21577
|
this.cropUseRatio = o.cropUseRatio;
|
|
@@ -21574,7 +21581,7 @@ let ImageEditor = ImageEditor_1 = class ImageEditor extends jodit_core_component
|
|
|
21574
21581
|
saveas: (0,jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_4__/* .Button */ .$n)(this.j, 'save', 'Save as ...')
|
|
21575
21582
|
};
|
|
21576
21583
|
this.activeTab = o.resize ? TABS.resize : TABS.crop;
|
|
21577
|
-
this.editor = (0,
|
|
21584
|
+
this.editor = (0,_templates_form__WEBPACK_IMPORTED_MODULE_7__/* .form */ .Z)(this.j, this.options);
|
|
21578
21585
|
const { resizeBox, cropBox } = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.refs)(this.editor);
|
|
21579
21586
|
this.resize_box = resizeBox;
|
|
21580
21587
|
this.crop_box = cropBox;
|
|
@@ -22997,7 +23004,8 @@ let ToolbarButton = class ToolbarButton extends jodit_core_ui_button__WEBPACK_IM
|
|
|
22997
23004
|
}
|
|
22998
23005
|
createContainer() {
|
|
22999
23006
|
const cn = this.componentName;
|
|
23000
|
-
const container = this.j.c.span(cn)
|
|
23007
|
+
const container = this.j.c.span(cn);
|
|
23008
|
+
const button = super.createContainer();
|
|
23001
23009
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.attr)(container, 'role', 'listitem');
|
|
23002
23010
|
button.classList.remove(cn);
|
|
23003
23011
|
button.classList.add(cn + '__button');
|
|
@@ -23379,8 +23387,9 @@ ToolbarContent = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
|
23379
23387
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
23380
23388
|
/* harmony export */ q: function() { return /* binding */ ToolbarSelect; }
|
|
23381
23389
|
/* harmony export */ });
|
|
23382
|
-
/* harmony import */ var
|
|
23390
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(31635);
|
|
23383
23391
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(22664);
|
|
23392
|
+
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25376);
|
|
23384
23393
|
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(98253);
|
|
23385
23394
|
/* harmony import */ var _button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3258);
|
|
23386
23395
|
/*!
|
|
@@ -23393,6 +23402,7 @@ ToolbarContent = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
|
23393
23402
|
|
|
23394
23403
|
|
|
23395
23404
|
|
|
23405
|
+
|
|
23396
23406
|
let ToolbarSelect = class ToolbarSelect extends _button__WEBPACK_IMPORTED_MODULE_1__/* .ToolbarButton */ .I {
|
|
23397
23407
|
className() {
|
|
23398
23408
|
return 'ToolbarSelect';
|
|
@@ -23411,13 +23421,13 @@ let ToolbarSelect = class ToolbarSelect extends _button__WEBPACK_IMPORTED_MODULE
|
|
|
23411
23421
|
const keys = Object.keys(list);
|
|
23412
23422
|
key = keys[0];
|
|
23413
23423
|
}
|
|
23414
|
-
const text = (list[key.toString()] || key).toString();
|
|
23424
|
+
const text = ((0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_3__/* .isPlainObject */ .Q)(list) ? list[key.toString()] || key : key).toString();
|
|
23415
23425
|
this.state.text =
|
|
23416
23426
|
(_c = (_b = (_a = this.control).textTemplate) === null || _b === void 0 ? void 0 : _b.call(_a, this.jodit, text)) !== null && _c !== void 0 ? _c : text;
|
|
23417
23427
|
}
|
|
23418
23428
|
}
|
|
23419
23429
|
};
|
|
23420
|
-
ToolbarSelect = (0,
|
|
23430
|
+
ToolbarSelect = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
23421
23431
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.component
|
|
23422
23432
|
], ToolbarSelect);
|
|
23423
23433
|
|
|
@@ -24250,9 +24260,9 @@ function send(uploader, data) {
|
|
|
24250
24260
|
/* harmony import */ var jodit_core_component___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77753);
|
|
24251
24261
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(17352);
|
|
24252
24262
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65147);
|
|
24253
|
-
/* harmony import */ var
|
|
24254
|
-
/* harmony import */ var
|
|
24255
|
-
/* harmony import */ var
|
|
24263
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
24264
|
+
/* harmony import */ var jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(74340);
|
|
24265
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(77334);
|
|
24256
24266
|
/*!
|
|
24257
24267
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
24258
24268
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -24324,14 +24334,14 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
24324
24334
|
}
|
|
24325
24335
|
};
|
|
24326
24336
|
// send data on server
|
|
24327
|
-
if (!jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && (0,
|
|
24328
|
-
(0,
|
|
24337
|
+
if (!jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && (0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(cData)) {
|
|
24338
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, cData.files, handlerSuccess, handlerError).finally(onFinally);
|
|
24329
24339
|
return false;
|
|
24330
24340
|
}
|
|
24331
24341
|
if (jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && !jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_ES_NEXT) {
|
|
24332
|
-
return (0,
|
|
24342
|
+
return (0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .processOldBrowserDrag */ .dT)(self, cData, handlerSuccess, handlerError, onFinally);
|
|
24333
24343
|
}
|
|
24334
|
-
if ((0,
|
|
24344
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasItems */ .Pb)(cData)) {
|
|
24335
24345
|
const { items } = cData;
|
|
24336
24346
|
for (i = 0; i < items.length; i += 1) {
|
|
24337
24347
|
if (items[i].kind === 'file' &&
|
|
@@ -24342,7 +24352,7 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
24342
24352
|
extension = mime[1]
|
|
24343
24353
|
? mime[1].toLowerCase()
|
|
24344
24354
|
: '';
|
|
24345
|
-
(0,
|
|
24355
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, [file], handlerSuccess, handlerError, processData).finally(onFinally);
|
|
24346
24356
|
}
|
|
24347
24357
|
e.preventDefault();
|
|
24348
24358
|
break;
|
|
@@ -24365,30 +24375,30 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
24365
24375
|
e.preventDefault();
|
|
24366
24376
|
})
|
|
24367
24377
|
.on(form, 'dragover', (event) => {
|
|
24368
|
-
if ((0,
|
|
24369
|
-
(0,
|
|
24378
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer) ||
|
|
24379
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasItems */ .Pb)(event.dataTransfer)) {
|
|
24370
24380
|
form.classList.add('jodit_drag_hover');
|
|
24371
24381
|
event.preventDefault();
|
|
24372
24382
|
}
|
|
24373
24383
|
})
|
|
24374
24384
|
.on(form, 'dragend dragleave', (event) => {
|
|
24375
24385
|
form.classList.remove('jodit_drag_hover');
|
|
24376
|
-
if ((0,
|
|
24386
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer)) {
|
|
24377
24387
|
event.preventDefault();
|
|
24378
24388
|
}
|
|
24379
24389
|
})
|
|
24380
24390
|
.on(form, 'drop', (event) => {
|
|
24381
24391
|
form.classList.remove('jodit_drag_hover');
|
|
24382
|
-
if ((0,
|
|
24392
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer)) {
|
|
24383
24393
|
event.preventDefault();
|
|
24384
24394
|
event.stopImmediatePropagation();
|
|
24385
|
-
(0,
|
|
24395
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, event.dataTransfer.files, handlerSuccess, handlerError).finally(onFinally);
|
|
24386
24396
|
}
|
|
24387
24397
|
});
|
|
24388
24398
|
const inputFile = form.querySelector('input[type=file]');
|
|
24389
24399
|
if (inputFile) {
|
|
24390
24400
|
self.j.e.on(inputFile, 'change', () => {
|
|
24391
|
-
(0,
|
|
24401
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, inputFile.files, handlerSuccess, handlerError)
|
|
24392
24402
|
.then(() => {
|
|
24393
24403
|
inputFile.value = '';
|
|
24394
24404
|
if (!/safari/i.test(navigator.userAgent)) {
|
|
@@ -24408,7 +24418,7 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
24408
24418
|
const handlerE = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isFunction)(handlerError)
|
|
24409
24419
|
? handlerError
|
|
24410
24420
|
: o.defaultHandlerError;
|
|
24411
|
-
(0,
|
|
24421
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .send */ .tN)(uploader, {
|
|
24412
24422
|
action: 'fileUploadRemote',
|
|
24413
24423
|
url
|
|
24414
24424
|
})
|
|
@@ -24428,11 +24438,11 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
24428
24438
|
super(editor);
|
|
24429
24439
|
this.path = '';
|
|
24430
24440
|
this.source = 'default';
|
|
24431
|
-
this.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(options || {}, (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(
|
|
24441
|
+
this.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(options || {}, (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.defaultOptions.uploader, (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isJoditObject)(editor) ? editor.o.uploader : {}));
|
|
24432
24442
|
}
|
|
24433
24443
|
destruct() {
|
|
24434
24444
|
this.setStatus(jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .STATUSES */ .f.beforeDestruct);
|
|
24435
|
-
const instances =
|
|
24445
|
+
const instances = jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .ajaxInstances */ .$j.get(this);
|
|
24436
24446
|
if (instances) {
|
|
24437
24447
|
instances.forEach(ajax => {
|
|
24438
24448
|
try {
|
|
@@ -24861,9 +24871,9 @@ const TabsWidget = (jodit, tabs, state) => {
|
|
|
24861
24871
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
24862
24872
|
/* harmony import */ var jodit_core_helpers___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65147);
|
|
24863
24873
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(931);
|
|
24864
|
-
/* harmony import */ var
|
|
24865
|
-
/* harmony import */ var
|
|
24866
|
-
/* harmony import */ var
|
|
24874
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
24875
|
+
/* harmony import */ var _about_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(17995);
|
|
24876
|
+
/* harmony import */ var _about_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_about_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
24867
24877
|
/*!
|
|
24868
24878
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
24869
24879
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -24877,7 +24887,7 @@ const TabsWidget = (jodit, tabs, state) => {
|
|
|
24877
24887
|
|
|
24878
24888
|
|
|
24879
24889
|
|
|
24880
|
-
|
|
24890
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.about = {
|
|
24881
24891
|
exec: (editor) => {
|
|
24882
24892
|
const dialog = editor.dlg({ closeOnClickOverlay: true }), i = editor.i18n.bind(editor);
|
|
24883
24893
|
dialog
|
|
@@ -24913,7 +24923,7 @@ function about(editor) {
|
|
|
24913
24923
|
});
|
|
24914
24924
|
}
|
|
24915
24925
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('about', about);
|
|
24916
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('about', (
|
|
24926
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('about', (_about_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
24917
24927
|
|
|
24918
24928
|
|
|
24919
24929
|
/***/ }),
|
|
@@ -25156,9 +25166,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('addNe
|
|
|
25156
25166
|
|
|
25157
25167
|
"use strict";
|
|
25158
25168
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
25159
|
-
/* harmony import */ var
|
|
25160
|
-
/* harmony import */ var
|
|
25161
|
-
/* harmony import */ var
|
|
25169
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
25170
|
+
/* harmony import */ var _enter_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(86634);
|
|
25171
|
+
/* harmony import */ var _enter_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_enter_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
25162
25172
|
/*!
|
|
25163
25173
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
25164
25174
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -25167,9 +25177,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('addNe
|
|
|
25167
25177
|
|
|
25168
25178
|
|
|
25169
25179
|
|
|
25170
|
-
|
|
25171
|
-
|
|
25172
|
-
|
|
25180
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLine = true;
|
|
25181
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineOnDBLClick = true;
|
|
25182
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineTagsTriggers = [
|
|
25173
25183
|
'table',
|
|
25174
25184
|
'iframe',
|
|
25175
25185
|
'img',
|
|
@@ -25177,8 +25187,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.addNewLineTa
|
|
|
25177
25187
|
'pre',
|
|
25178
25188
|
'jodit'
|
|
25179
25189
|
];
|
|
25180
|
-
|
|
25181
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (
|
|
25190
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineDeltaShow = 20;
|
|
25191
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (_enter_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
25182
25192
|
|
|
25183
25193
|
|
|
25184
25194
|
/***/ }),
|
|
@@ -25317,11 +25327,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('ai-as
|
|
|
25317
25327
|
|
|
25318
25328
|
"use strict";
|
|
25319
25329
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
25320
|
-
/* harmony import */ var
|
|
25321
|
-
/* harmony import */ var
|
|
25322
|
-
/* harmony import */ var
|
|
25323
|
-
/* harmony import */ var
|
|
25324
|
-
/* harmony import */ var
|
|
25330
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
25331
|
+
/* harmony import */ var _ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91115);
|
|
25332
|
+
/* harmony import */ var _ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
25333
|
+
/* harmony import */ var _chat_bot_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1916);
|
|
25334
|
+
/* harmony import */ var _chat_bot_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_chat_bot_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
25325
25335
|
/*!
|
|
25326
25336
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
25327
25337
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -25362,10 +25372,10 @@ const aiAssistantDefaults = {
|
|
|
25362
25372
|
aiTranslateToRussianPrompt: 'Translate this content into Russian, ensuring the translation is accurate and maintains the original meaning.',
|
|
25363
25373
|
aiTranslateToArabicPrompt: 'Translate this content into Arabic, ensuring the translation is accurate and maintains the original meaning.'
|
|
25364
25374
|
};
|
|
25365
|
-
|
|
25366
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-assistant', (
|
|
25367
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-commands', (
|
|
25368
|
-
|
|
25375
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.aiAssistant = aiAssistantDefaults;
|
|
25376
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-assistant', (_chat_bot_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
25377
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-commands', (_ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
25378
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls['ai-commands'] = {
|
|
25369
25379
|
isDisabled(editor) {
|
|
25370
25380
|
return !editor.o.aiAssistant.aiAssistantCallback;
|
|
25371
25381
|
},
|
|
@@ -25403,7 +25413,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls['ai
|
|
|
25403
25413
|
editor.e.fire('generateAiAssistantForm.ai-assistant', control.name);
|
|
25404
25414
|
}
|
|
25405
25415
|
};
|
|
25406
|
-
|
|
25416
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls['ai-assistant'] = {
|
|
25407
25417
|
isDisabled(editor) {
|
|
25408
25418
|
return !editor.o.aiAssistant.aiAssistantCallback;
|
|
25409
25419
|
},
|
|
@@ -26042,6 +26052,10 @@ function checkRemoveChar(jodit, fakeNode, backspace, mode) {
|
|
|
26042
26052
|
}
|
|
26043
26053
|
if ((_a = sibling.nodeValue) === null || _a === void 0 ? void 0 : _a.length) {
|
|
26044
26054
|
removed = tryRemoveChar(sibling, backspace, step, anotherSibling);
|
|
26055
|
+
if (!sibling.nodeValue.length &&
|
|
26056
|
+
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.isInlineBlock(sibling.parentNode)) {
|
|
26057
|
+
sibling.nodeValue = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INVISIBLE_SPACE;
|
|
26058
|
+
}
|
|
26045
26059
|
}
|
|
26046
26060
|
if (!((_b = sibling.nodeValue) === null || _b === void 0 ? void 0 : _b.length)) {
|
|
26047
26061
|
removeNeighbor = sibling;
|
|
@@ -26596,20 +26610,20 @@ function getMoveFilter(jodit) {
|
|
|
26596
26610
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(56298);
|
|
26597
26611
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65147);
|
|
26598
26612
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(931);
|
|
26599
|
-
/* harmony import */ var
|
|
26600
|
-
/* harmony import */ var
|
|
26601
|
-
/* harmony import */ var
|
|
26602
|
-
/* harmony import */ var
|
|
26603
|
-
/* harmony import */ var
|
|
26604
|
-
/* harmony import */ var
|
|
26605
|
-
/* harmony import */ var
|
|
26606
|
-
/* harmony import */ var
|
|
26607
|
-
/* harmony import */ var
|
|
26608
|
-
/* harmony import */ var
|
|
26609
|
-
/* harmony import */ var
|
|
26610
|
-
/* harmony import */ var
|
|
26611
|
-
/* harmony import */ var
|
|
26612
|
-
/* harmony import */ var
|
|
26613
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
26614
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(73124);
|
|
26615
|
+
/* harmony import */ var _icons_bold_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(52450);
|
|
26616
|
+
/* harmony import */ var _icons_bold_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_bold_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
26617
|
+
/* harmony import */ var _icons_italic_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(41111);
|
|
26618
|
+
/* harmony import */ var _icons_italic_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_icons_italic_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
26619
|
+
/* harmony import */ var _icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(49972);
|
|
26620
|
+
/* harmony import */ var _icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7__);
|
|
26621
|
+
/* harmony import */ var _icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(45062);
|
|
26622
|
+
/* harmony import */ var _icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8__);
|
|
26623
|
+
/* harmony import */ var _icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(18605);
|
|
26624
|
+
/* harmony import */ var _icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9__);
|
|
26625
|
+
/* harmony import */ var _icons_underline_svg__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(83389);
|
|
26626
|
+
/* harmony import */ var _icons_underline_svg__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_icons_underline_svg__WEBPACK_IMPORTED_MODULE_10__);
|
|
26613
26627
|
/*!
|
|
26614
26628
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
26615
26629
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -26632,7 +26646,7 @@ function getMoveFilter(jodit) {
|
|
|
26632
26646
|
*/
|
|
26633
26647
|
function bold(editor) {
|
|
26634
26648
|
const callBack = (command) => {
|
|
26635
|
-
const control =
|
|
26649
|
+
const control = jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.defaultOptions.controls[command], cssOptions = Object.assign({}, control.css);
|
|
26636
26650
|
let cssRules;
|
|
26637
26651
|
Object.keys(cssOptions).forEach((key) => {
|
|
26638
26652
|
if (!cssRules) {
|
|
@@ -26684,12 +26698,12 @@ function bold(editor) {
|
|
|
26684
26698
|
});
|
|
26685
26699
|
}
|
|
26686
26700
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('bold', bold);
|
|
26687
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('bold', (
|
|
26688
|
-
.set('italic', (
|
|
26689
|
-
.set('strikethrough', (
|
|
26690
|
-
.set('subscript', (
|
|
26691
|
-
.set('superscript', (
|
|
26692
|
-
.set('underline', (
|
|
26701
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('bold', (_icons_bold_svg__WEBPACK_IMPORTED_MODULE_5___default()))
|
|
26702
|
+
.set('italic', (_icons_italic_svg__WEBPACK_IMPORTED_MODULE_6___default()))
|
|
26703
|
+
.set('strikethrough', (_icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7___default()))
|
|
26704
|
+
.set('subscript', (_icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8___default()))
|
|
26705
|
+
.set('superscript', (_icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9___default()))
|
|
26706
|
+
.set('underline', (_icons_underline_svg__WEBPACK_IMPORTED_MODULE_10___default()));
|
|
26693
26707
|
|
|
26694
26708
|
|
|
26695
26709
|
/***/ }),
|
|
@@ -26759,9 +26773,9 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.controls.str
|
|
|
26759
26773
|
/* harmony import */ var jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(84976);
|
|
26760
26774
|
/* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(71005);
|
|
26761
26775
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(931);
|
|
26762
|
-
/* harmony import */ var
|
|
26763
|
-
/* harmony import */ var
|
|
26764
|
-
/* harmony import */ var
|
|
26776
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(36115);
|
|
26777
|
+
/* harmony import */ var _class_span_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(93267);
|
|
26778
|
+
/* harmony import */ var _class_span_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_class_span_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
26765
26779
|
/*!
|
|
26766
26780
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
26767
26781
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -26774,7 +26788,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.controls.str
|
|
|
26774
26788
|
|
|
26775
26789
|
|
|
26776
26790
|
|
|
26777
|
-
|
|
26791
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.classSpan = {
|
|
26778
26792
|
command: 'applyClassName',
|
|
26779
26793
|
exec: jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_2__/* .memorizeExec */ .qN,
|
|
26780
26794
|
list: [
|
|
@@ -26862,7 +26876,7 @@ class classSpan extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_3__/* .Plugin
|
|
|
26862
26876
|
beforeDestruct() { }
|
|
26863
26877
|
}
|
|
26864
26878
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('classSpan', classSpan);
|
|
26865
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('class-span', (
|
|
26879
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('class-span', (_class_span_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
26866
26880
|
|
|
26867
26881
|
|
|
26868
26882
|
/***/ }),
|
|
@@ -27001,9 +27015,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('clean
|
|
|
27001
27015
|
|
|
27002
27016
|
"use strict";
|
|
27003
27017
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
27004
|
-
/* harmony import */ var
|
|
27005
|
-
/* harmony import */ var
|
|
27006
|
-
/* harmony import */ var
|
|
27018
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
27019
|
+
/* harmony import */ var _eraser_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(71948);
|
|
27020
|
+
/* harmony import */ var _eraser_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_eraser_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
27007
27021
|
/*!
|
|
27008
27022
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27009
27023
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27012,7 +27026,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('clean
|
|
|
27012
27026
|
|
|
27013
27027
|
|
|
27014
27028
|
|
|
27015
|
-
|
|
27029
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.cleanHTML = {
|
|
27016
27030
|
timeout: 300,
|
|
27017
27031
|
removeEmptyElements: true,
|
|
27018
27032
|
fillEmptyParagraph: true,
|
|
@@ -27028,11 +27042,11 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.cleanHTML =
|
|
|
27028
27042
|
safeJavaScriptLink: true,
|
|
27029
27043
|
disableCleanFilter: null
|
|
27030
27044
|
};
|
|
27031
|
-
|
|
27045
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.eraser = {
|
|
27032
27046
|
command: 'removeFormat',
|
|
27033
27047
|
tooltip: 'Clear Formatting'
|
|
27034
27048
|
};
|
|
27035
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('eraser', (
|
|
27049
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('eraser', (_eraser_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
27036
27050
|
|
|
27037
27051
|
|
|
27038
27052
|
/***/ }),
|
|
@@ -27701,15 +27715,15 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('clipb
|
|
|
27701
27715
|
|
|
27702
27716
|
"use strict";
|
|
27703
27717
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
27704
|
-
/* harmony import */ var
|
|
27705
|
-
/* harmony import */ var
|
|
27706
|
-
/* harmony import */ var
|
|
27707
|
-
/* harmony import */ var
|
|
27708
|
-
/* harmony import */ var
|
|
27709
|
-
/* harmony import */ var
|
|
27710
|
-
/* harmony import */ var
|
|
27711
|
-
/* harmony import */ var
|
|
27712
|
-
/* harmony import */ var
|
|
27718
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
27719
|
+
/* harmony import */ var _icons_copy_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(51457);
|
|
27720
|
+
/* harmony import */ var _icons_copy_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_icons_copy_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
27721
|
+
/* harmony import */ var _icons_cut_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(23602);
|
|
27722
|
+
/* harmony import */ var _icons_cut_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_cut_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
27723
|
+
/* harmony import */ var _icons_paste_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(86899);
|
|
27724
|
+
/* harmony import */ var _icons_paste_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_paste_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
27725
|
+
/* harmony import */ var _icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(95320);
|
|
27726
|
+
/* harmony import */ var _icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
27713
27727
|
/*!
|
|
27714
27728
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27715
27729
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27721,25 +27735,25 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('clipb
|
|
|
27721
27735
|
|
|
27722
27736
|
|
|
27723
27737
|
|
|
27724
|
-
|
|
27738
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.cut = {
|
|
27725
27739
|
command: 'cut',
|
|
27726
27740
|
isDisabled: (editor) => editor.s.isCollapsed(),
|
|
27727
27741
|
tooltip: 'Cut selection'
|
|
27728
27742
|
};
|
|
27729
|
-
|
|
27743
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.copy = {
|
|
27730
27744
|
command: 'copy',
|
|
27731
27745
|
isDisabled: (editor) => editor.s.isCollapsed(),
|
|
27732
27746
|
tooltip: 'Copy selection'
|
|
27733
27747
|
};
|
|
27734
|
-
|
|
27748
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.selectall = {
|
|
27735
27749
|
icon: 'select-all',
|
|
27736
27750
|
command: 'selectall',
|
|
27737
27751
|
tooltip: 'Select all'
|
|
27738
27752
|
};
|
|
27739
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('copy', (
|
|
27740
|
-
.set('cut', (
|
|
27741
|
-
.set('paste', (
|
|
27742
|
-
.set('select-all', (
|
|
27753
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('copy', (_icons_copy_svg__WEBPACK_IMPORTED_MODULE_2___default()))
|
|
27754
|
+
.set('cut', (_icons_cut_svg__WEBPACK_IMPORTED_MODULE_3___default()))
|
|
27755
|
+
.set('paste', (_icons_paste_svg__WEBPACK_IMPORTED_MODULE_4___default()))
|
|
27756
|
+
.set('select-all', (_icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
27743
27757
|
|
|
27744
27758
|
|
|
27745
27759
|
/***/ }),
|
|
@@ -27811,10 +27825,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('color
|
|
|
27811
27825
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55186);
|
|
27812
27826
|
/* harmony import */ var jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65147);
|
|
27813
27827
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(931);
|
|
27814
|
-
/* harmony import */ var
|
|
27815
|
-
/* harmony import */ var
|
|
27816
|
-
/* harmony import */ var
|
|
27817
|
-
/* harmony import */ var
|
|
27828
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
27829
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(16116);
|
|
27830
|
+
/* harmony import */ var _brush_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(45674);
|
|
27831
|
+
/* harmony import */ var _brush_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_brush_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
27818
27832
|
/*!
|
|
27819
27833
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27820
27834
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27826,8 +27840,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('color
|
|
|
27826
27840
|
|
|
27827
27841
|
|
|
27828
27842
|
|
|
27829
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('brush', (
|
|
27830
|
-
|
|
27843
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('brush', (_brush_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
27844
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.brushCell = {
|
|
27831
27845
|
isVisible: (editor) => {
|
|
27832
27846
|
return !editor.o.disablePlugins.includes('color');
|
|
27833
27847
|
},
|
|
@@ -27840,7 +27854,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
27840
27854
|
if (!selected.length) {
|
|
27841
27855
|
return false;
|
|
27842
27856
|
}
|
|
27843
|
-
const makeColorPicker = (key) => (0,
|
|
27857
|
+
const makeColorPicker = (key) => (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, (value) => {
|
|
27844
27858
|
selected.forEach(cell => {
|
|
27845
27859
|
(0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.css)(cell, key, value);
|
|
27846
27860
|
});
|
|
@@ -27849,7 +27863,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
27849
27863
|
close();
|
|
27850
27864
|
editor.unlock();
|
|
27851
27865
|
}, (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.css)(selected[0], key));
|
|
27852
|
-
return (0,
|
|
27866
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .TabsWidget */ .Zg)(editor, [
|
|
27853
27867
|
{
|
|
27854
27868
|
name: 'Background',
|
|
27855
27869
|
content: makeColorPicker('background-color')
|
|
@@ -27860,7 +27874,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
27860
27874
|
},
|
|
27861
27875
|
tooltip: 'Background'
|
|
27862
27876
|
};
|
|
27863
|
-
|
|
27877
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.brush = {
|
|
27864
27878
|
isVisible: (editor) => {
|
|
27865
27879
|
return !editor.o.disablePlugins.includes('color');
|
|
27866
27880
|
},
|
|
@@ -27908,7 +27922,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
27908
27922
|
}
|
|
27909
27923
|
}, editor.editor);
|
|
27910
27924
|
}
|
|
27911
|
-
const backgroundTag = (0,
|
|
27925
|
+
const backgroundTag = (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, (value) => {
|
|
27912
27926
|
if (!currentElement) {
|
|
27913
27927
|
editor.execCommand('background', false, value);
|
|
27914
27928
|
}
|
|
@@ -27919,7 +27933,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
27919
27933
|
(0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.dataBind)(button, 'color-mode', 'background');
|
|
27920
27934
|
close();
|
|
27921
27935
|
}, bg_color);
|
|
27922
|
-
const colorTab = (0,
|
|
27936
|
+
const colorTab = (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, (value) => {
|
|
27923
27937
|
if (!currentElement) {
|
|
27924
27938
|
editor.execCommand('forecolor', false, value);
|
|
27925
27939
|
}
|
|
@@ -27943,7 +27957,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
27943
27957
|
if (editor.o.colorPickerDefaultTab !== 'background') {
|
|
27944
27958
|
tabs = tabs.reverse();
|
|
27945
27959
|
}
|
|
27946
|
-
return (0,
|
|
27960
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .TabsWidget */ .Zg)(editor, tabs, currentElement);
|
|
27947
27961
|
},
|
|
27948
27962
|
exec(jodit, current, { button }) {
|
|
27949
27963
|
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');
|
|
@@ -27982,10 +27996,10 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
27982
27996
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
27983
27997
|
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38322);
|
|
27984
27998
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(931);
|
|
27985
|
-
/* harmony import */ var
|
|
27986
|
-
/* harmony import */ var
|
|
27987
|
-
/* harmony import */ var
|
|
27988
|
-
/* harmony import */ var
|
|
27999
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
28000
|
+
/* harmony import */ var _copy_format_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(3843);
|
|
28001
|
+
/* harmony import */ var _copy_format_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_copy_format_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
28002
|
+
/* harmony import */ var _langs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(94628);
|
|
27989
28003
|
/*!
|
|
27990
28004
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27991
28005
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -28043,7 +28057,7 @@ const getStyles = (editor, box, defaultStyles) => {
|
|
|
28043
28057
|
}
|
|
28044
28058
|
return result;
|
|
28045
28059
|
};
|
|
28046
|
-
|
|
28060
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.copyformat = {
|
|
28047
28061
|
exec: (editor, current, { button }) => {
|
|
28048
28062
|
if (!current) {
|
|
28049
28063
|
return;
|
|
@@ -28093,10 +28107,10 @@ function copyFormat(editor) {
|
|
|
28093
28107
|
name: 'copyformat',
|
|
28094
28108
|
group: 'clipboard'
|
|
28095
28109
|
});
|
|
28096
|
-
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .extendLang */ .JW)(
|
|
28110
|
+
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .extendLang */ .JW)(_langs__WEBPACK_IMPORTED_MODULE_5__);
|
|
28097
28111
|
}
|
|
28098
28112
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('copyformat', copyFormat);
|
|
28099
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('copyformat', (
|
|
28113
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('copyformat', (_copy_format_svg__WEBPACK_IMPORTED_MODULE_4___default()));
|
|
28100
28114
|
|
|
28101
28115
|
|
|
28102
28116
|
/***/ }),
|
|
@@ -29906,8 +29920,8 @@ function wrapText(fake, jodit) {
|
|
|
29906
29920
|
/* unused harmony export file */
|
|
29907
29921
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55186);
|
|
29908
29922
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
29909
|
-
/* harmony import */ var
|
|
29910
|
-
/* harmony import */ var
|
|
29923
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
29924
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(16116);
|
|
29911
29925
|
/*!
|
|
29912
29926
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
29913
29927
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -29917,7 +29931,7 @@ function wrapText(fake, jodit) {
|
|
|
29917
29931
|
|
|
29918
29932
|
|
|
29919
29933
|
|
|
29920
|
-
|
|
29934
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.file = {
|
|
29921
29935
|
popup: (editor, current, close) => {
|
|
29922
29936
|
const insert = (url, title = '') => {
|
|
29923
29937
|
editor.s.insertNode(editor.createInside.fromHTML(`<a href="${url}" title="${title}">${title || url}</a>`));
|
|
@@ -29930,7 +29944,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fil
|
|
|
29930
29944
|
? current
|
|
29931
29945
|
: jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor);
|
|
29932
29946
|
}
|
|
29933
|
-
return (0,
|
|
29947
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_3__/* .FileSelectorWidget */ .kG)(editor, {
|
|
29934
29948
|
filebrowser: (data) => {
|
|
29935
29949
|
data.files &&
|
|
29936
29950
|
data.files.forEach(file => insert(data.baseurl + file));
|
|
@@ -30053,11 +30067,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('focus
|
|
|
30053
30067
|
/* harmony import */ var jodit_core_helpers_string_trim__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(59101);
|
|
30054
30068
|
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38322);
|
|
30055
30069
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(931);
|
|
30056
|
-
/* harmony import */ var
|
|
30057
|
-
/* harmony import */ var
|
|
30058
|
-
/* harmony import */ var
|
|
30059
|
-
/* harmony import */ var
|
|
30060
|
-
/* harmony import */ var
|
|
30070
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
30071
|
+
/* harmony import */ var _icons_font_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(48842);
|
|
30072
|
+
/* harmony import */ var _icons_font_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_font_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
30073
|
+
/* harmony import */ var _icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(25501);
|
|
30074
|
+
/* harmony import */ var _icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
30061
30075
|
/*!
|
|
30062
30076
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30063
30077
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30073,9 +30087,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('focus
|
|
|
30073
30087
|
/**
|
|
30074
30088
|
* Default font-size points
|
|
30075
30089
|
*/
|
|
30076
|
-
|
|
30077
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('font', (
|
|
30078
|
-
|
|
30090
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.defaultFontSizePoints = 'px';
|
|
30091
|
+
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()));
|
|
30092
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fontsize = {
|
|
30079
30093
|
command: 'fontsize',
|
|
30080
30094
|
data: {
|
|
30081
30095
|
cssRule: 'font-size',
|
|
@@ -30134,7 +30148,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.fon
|
|
|
30134
30148
|
return keySet.has(normalize(value.toString()));
|
|
30135
30149
|
}
|
|
30136
30150
|
};
|
|
30137
|
-
|
|
30151
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.font = Object.assign(Object.assign({}, jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fontsize), { command: 'fontname', textTemplate: (j, value) => {
|
|
30138
30152
|
const [first] = value.split(',');
|
|
30139
30153
|
return (0,jodit_core_helpers_string_trim__WEBPACK_IMPORTED_MODULE_1__/* .trimChars */ .Gd)(first, '"\'');
|
|
30140
30154
|
}, list: {
|
|
@@ -30237,11 +30251,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('font'
|
|
|
30237
30251
|
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
30238
30252
|
|
|
30239
30253
|
"use strict";
|
|
30240
|
-
/* harmony import */ var
|
|
30254
|
+
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55186);
|
|
30255
|
+
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(25376);
|
|
30241
30256
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(931);
|
|
30242
|
-
/* harmony import */ var
|
|
30243
|
-
/* harmony import */ var
|
|
30244
|
-
/* harmony import */ var
|
|
30257
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
30258
|
+
/* harmony import */ var _paragraph_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(29348);
|
|
30259
|
+
/* harmony import */ var _paragraph_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_paragraph_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
30245
30260
|
/*!
|
|
30246
30261
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30247
30262
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30251,13 +30266,14 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('font'
|
|
|
30251
30266
|
|
|
30252
30267
|
|
|
30253
30268
|
|
|
30254
|
-
|
|
30255
|
-
|
|
30269
|
+
|
|
30270
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('paragraph', (_paragraph_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
30271
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.paragraph = {
|
|
30256
30272
|
command: 'formatBlock',
|
|
30257
30273
|
value(editor, button) {
|
|
30258
30274
|
var _a, _b;
|
|
30259
30275
|
const control = button.control, current = editor.s.current();
|
|
30260
|
-
const currentBox =
|
|
30276
|
+
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);
|
|
30261
30277
|
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;
|
|
30262
30278
|
},
|
|
30263
30279
|
update(editor, button) {
|
|
@@ -30266,7 +30282,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.par
|
|
|
30266
30282
|
return false;
|
|
30267
30283
|
}
|
|
30268
30284
|
const currentValue = button.state.value, list = control.list;
|
|
30269
|
-
if (list && list[currentValue.toString()]) {
|
|
30285
|
+
if ((0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__/* .isPlainObject */ .Q)(list) && list[currentValue.toString()]) {
|
|
30270
30286
|
if (editor.o.textIcons) {
|
|
30271
30287
|
button.state.text = list[currentValue.toString()].toString();
|
|
30272
30288
|
}
|
|
@@ -30290,9 +30306,9 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.par
|
|
|
30290
30306
|
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]));
|
|
30291
30307
|
},
|
|
30292
30308
|
isActive: (editor, button) => {
|
|
30293
|
-
var _a;
|
|
30294
30309
|
return (button.state.value !== editor.o.enter &&
|
|
30295
|
-
|
|
30310
|
+
(0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__/* .isPlainObject */ .Q)(button.control.list) &&
|
|
30311
|
+
Boolean(button.control.list[button.state.value]));
|
|
30296
30312
|
},
|
|
30297
30313
|
childTemplate: (e, key, value) => `<${key} style="margin:0;padding:0"><span>${e.i18n(value)}</span></${key}>`,
|
|
30298
30314
|
tooltip: 'Insert format block'
|
|
@@ -30342,11 +30358,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('forma
|
|
|
30342
30358
|
"use strict";
|
|
30343
30359
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17352);
|
|
30344
30360
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(931);
|
|
30345
|
-
/* harmony import */ var
|
|
30346
|
-
/* harmony import */ var
|
|
30347
|
-
/* harmony import */ var
|
|
30348
|
-
/* harmony import */ var
|
|
30349
|
-
/* harmony import */ var
|
|
30361
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
30362
|
+
/* harmony import */ var _icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(24772);
|
|
30363
|
+
/* harmony import */ var _icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
30364
|
+
/* harmony import */ var _icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(66547);
|
|
30365
|
+
/* harmony import */ var _icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
30350
30366
|
/*!
|
|
30351
30367
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30352
30368
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30358,10 +30374,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('forma
|
|
|
30358
30374
|
|
|
30359
30375
|
|
|
30360
30376
|
|
|
30361
|
-
|
|
30362
|
-
|
|
30363
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('fullsize', (
|
|
30364
|
-
|
|
30377
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.fullsize = false;
|
|
30378
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.globalFullSize = true;
|
|
30379
|
+
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()));
|
|
30380
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.fullsize = {
|
|
30365
30381
|
exec: (editor) => {
|
|
30366
30382
|
editor.toggleFullSize();
|
|
30367
30383
|
},
|
|
@@ -30689,9 +30705,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('hotke
|
|
|
30689
30705
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(71842);
|
|
30690
30706
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
30691
30707
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(931);
|
|
30692
|
-
/* harmony import */ var
|
|
30693
|
-
/* harmony import */ var
|
|
30694
|
-
/* harmony import */ var
|
|
30708
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
30709
|
+
/* harmony import */ var _hr_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(89097);
|
|
30710
|
+
/* harmony import */ var _hr_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_hr_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
30695
30711
|
/*!
|
|
30696
30712
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30697
30713
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30702,8 +30718,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('hotke
|
|
|
30702
30718
|
|
|
30703
30719
|
|
|
30704
30720
|
|
|
30705
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('hr', (
|
|
30706
|
-
|
|
30721
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('hr', (_hr_svg__WEBPACK_IMPORTED_MODULE_4___default()));
|
|
30722
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.hr = {
|
|
30707
30723
|
command: 'insertHorizontalRule',
|
|
30708
30724
|
tags: ['hr'],
|
|
30709
30725
|
tooltip: 'Insert Horizontal Line'
|
|
@@ -31184,6 +31200,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('image
|
|
|
31184
31200
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
31185
31201
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
31186
31202
|
*/
|
|
31203
|
+
/**
|
|
31204
|
+
* @module plugins/image-properties
|
|
31205
|
+
*/
|
|
31187
31206
|
|
|
31188
31207
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.image = {
|
|
31189
31208
|
dialogWidth: 600,
|
|
@@ -32700,10 +32719,10 @@ function applySize(image, imageWidth, imageHeight, sizeIsLocked) {
|
|
|
32700
32719
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
32701
32720
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65147);
|
|
32702
32721
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(931);
|
|
32703
|
-
/* harmony import */ var
|
|
32704
|
-
/* harmony import */ var
|
|
32705
|
-
/* harmony import */ var
|
|
32706
|
-
/* harmony import */ var
|
|
32722
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
32723
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(16116);
|
|
32724
|
+
/* harmony import */ var _image_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(64831);
|
|
32725
|
+
/* harmony import */ var _image_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_image_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
32707
32726
|
/*!
|
|
32708
32727
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
32709
32728
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -32717,8 +32736,8 @@ function applySize(image, imageWidth, imageHeight, sizeIsLocked) {
|
|
|
32717
32736
|
|
|
32718
32737
|
|
|
32719
32738
|
|
|
32720
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('image', (
|
|
32721
|
-
|
|
32739
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('image', (_image_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
32740
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.image = {
|
|
32722
32741
|
popup: (editor, current, close) => {
|
|
32723
32742
|
let sourceImage = null;
|
|
32724
32743
|
if (current &&
|
|
@@ -32730,7 +32749,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.prototype.controls.ima
|
|
|
32730
32749
|
: (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.$$)('img', current)[0];
|
|
32731
32750
|
}
|
|
32732
32751
|
editor.s.save();
|
|
32733
|
-
return (0,
|
|
32752
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__/* .FileSelectorWidget */ .kG)(editor, {
|
|
32734
32753
|
filebrowser: (data) => {
|
|
32735
32754
|
editor.s.restore();
|
|
32736
32755
|
data.files &&
|
|
@@ -32773,12 +32792,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('image
|
|
|
32773
32792
|
"use strict";
|
|
32774
32793
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(71842);
|
|
32775
32794
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(931);
|
|
32776
|
-
/* harmony import */ var
|
|
32777
|
-
/* harmony import */ var
|
|
32778
|
-
/* harmony import */ var
|
|
32779
|
-
/* harmony import */ var
|
|
32780
|
-
/* harmony import */ var
|
|
32781
|
-
/* harmony import */ var
|
|
32795
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
32796
|
+
/* harmony import */ var _icons_indent_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(67176);
|
|
32797
|
+
/* harmony import */ var _icons_indent_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_indent_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
32798
|
+
/* harmony import */ var _icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(14017);
|
|
32799
|
+
/* harmony import */ var _icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
32800
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(3392);
|
|
32782
32801
|
/*!
|
|
32783
32802
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
32784
32803
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -32790,17 +32809,17 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('image
|
|
|
32790
32809
|
|
|
32791
32810
|
|
|
32792
32811
|
|
|
32793
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('indent', (
|
|
32794
|
-
|
|
32812
|
+
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()));
|
|
32813
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.indent = {
|
|
32795
32814
|
tooltip: 'Increase Indent'
|
|
32796
32815
|
};
|
|
32797
|
-
|
|
32816
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.outdent = {
|
|
32798
32817
|
isDisabled: (editor) => {
|
|
32799
32818
|
const current = editor.s.current();
|
|
32800
32819
|
if (current) {
|
|
32801
32820
|
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);
|
|
32802
32821
|
if (currentBox) {
|
|
32803
|
-
const arrow = (0,
|
|
32822
|
+
const arrow = (0,_helpers__WEBPACK_IMPORTED_MODULE_5__/* .getKey */ .i)(editor.o.direction, currentBox);
|
|
32804
32823
|
return (!currentBox.style[arrow] ||
|
|
32805
32824
|
parseInt(currentBox.style[arrow], 10) <= 0);
|
|
32806
32825
|
}
|
|
@@ -32809,7 +32828,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.out
|
|
|
32809
32828
|
},
|
|
32810
32829
|
tooltip: 'Decrease Indent'
|
|
32811
32830
|
};
|
|
32812
|
-
|
|
32831
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.indentMargin = 10;
|
|
32813
32832
|
|
|
32814
32833
|
|
|
32815
32834
|
/***/ }),
|
|
@@ -33070,12 +33089,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inden
|
|
|
33070
33089
|
|
|
33071
33090
|
"use strict";
|
|
33072
33091
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
33073
|
-
/* harmony import */ var
|
|
33074
|
-
/* harmony import */ var
|
|
33075
|
-
/* harmony import */ var
|
|
33076
|
-
/* harmony import */ var
|
|
33092
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
33093
|
+
/* harmony import */ var _items_a__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(97836);
|
|
33094
|
+
/* harmony import */ var _items_cells__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(82558);
|
|
33095
|
+
/* harmony import */ var _items_iframe__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(6295);
|
|
33096
|
+
/* harmony import */ var _items_img__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(26396);
|
|
33077
33097
|
/* harmony import */ var _items_toolbar__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(58540);
|
|
33078
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(36115);
|
|
33079
33098
|
/* harmony import */ var jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38681);
|
|
33080
33099
|
/* 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__);
|
|
33081
33100
|
/* harmony import */ var jodit_plugins_inline_popup_icons_addrow_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(64637);
|
|
@@ -33109,10 +33128,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inden
|
|
|
33109
33128
|
|
|
33110
33129
|
|
|
33111
33130
|
|
|
33112
|
-
|
|
33113
|
-
|
|
33114
|
-
|
|
33115
|
-
|
|
33131
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInline = true;
|
|
33132
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineForSelection = false;
|
|
33133
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineDisableFor = [];
|
|
33134
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineDisabledButtons = ['source'];
|
|
33116
33135
|
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('addcolumn', (jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_6___default()))
|
|
33117
33136
|
.set('addrow', (jodit_plugins_inline_popup_icons_addrow_svg__WEBPACK_IMPORTED_MODULE_7___default()))
|
|
33118
33137
|
.set('merge', (jodit_plugins_inline_popup_icons_merge_svg__WEBPACK_IMPORTED_MODULE_8___default()))
|
|
@@ -33120,14 +33139,14 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('addcolumn', (
|
|
|
33120
33139
|
.set('splitg', (jodit_plugins_inline_popup_icons_splitg_svg__WEBPACK_IMPORTED_MODULE_9___default()))
|
|
33121
33140
|
.set('splitv', (jodit_plugins_inline_popup_icons_splitv_svg__WEBPACK_IMPORTED_MODULE_10___default()))
|
|
33122
33141
|
.set('th-list', (jodit_plugins_inline_popup_icons_th_list_svg__WEBPACK_IMPORTED_MODULE_12___default()));
|
|
33123
|
-
|
|
33124
|
-
a:
|
|
33125
|
-
img:
|
|
33126
|
-
cells:
|
|
33142
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.popup = {
|
|
33143
|
+
a: _items_a__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A,
|
|
33144
|
+
img: _items_img__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .A,
|
|
33145
|
+
cells: _items_cells__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .A,
|
|
33127
33146
|
toolbar: _items_toolbar__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .A,
|
|
33128
|
-
jodit:
|
|
33129
|
-
iframe:
|
|
33130
|
-
'jodit-media':
|
|
33147
|
+
jodit: _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
33148
|
+
iframe: _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
33149
|
+
'jodit-media': _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
33131
33150
|
selection: [
|
|
33132
33151
|
'bold',
|
|
33133
33152
|
'underline',
|
|
@@ -33739,12 +33758,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inlin
|
|
|
33739
33758
|
/* unused harmony export justify */
|
|
33740
33759
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55186);
|
|
33741
33760
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
33742
|
-
/* harmony import */ var
|
|
33743
|
-
/* harmony import */ var
|
|
33744
|
-
/* harmony import */ var
|
|
33745
|
-
/* harmony import */ var
|
|
33746
|
-
/* harmony import */ var _justify_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_justify_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
33761
|
+
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65147);
|
|
33762
|
+
/* harmony import */ var jodit_core_helpers_utils_align__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(40080);
|
|
33763
|
+
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(38322);
|
|
33764
|
+
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(931);
|
|
33747
33765
|
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(36115);
|
|
33766
|
+
/* harmony import */ var _justify_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(80515);
|
|
33767
|
+
/* harmony import */ var _justify_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_justify_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
33748
33768
|
/*!
|
|
33749
33769
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
33750
33770
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -33757,7 +33777,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inlin
|
|
|
33757
33777
|
|
|
33758
33778
|
|
|
33759
33779
|
|
|
33760
|
-
|
|
33780
|
+
|
|
33781
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('justify', (_justify_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
33761
33782
|
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.align = {
|
|
33762
33783
|
name: 'left',
|
|
33763
33784
|
tooltip: 'Align',
|
|
@@ -33766,22 +33787,25 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.ali
|
|
|
33766
33787
|
if (current) {
|
|
33767
33788
|
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) ||
|
|
33768
33789
|
editor.editor;
|
|
33769
|
-
let currentValue = (0,
|
|
33790
|
+
let currentValue = (0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__/* .css */ .A)(currentBox, 'text-align').toString();
|
|
33770
33791
|
if (control.defaultValue &&
|
|
33771
33792
|
control.defaultValue.indexOf(currentValue) !== -1) {
|
|
33772
33793
|
currentValue = 'left';
|
|
33773
33794
|
}
|
|
33774
|
-
|
|
33775
|
-
|
|
33776
|
-
|
|
33777
|
-
|
|
33795
|
+
const { list, data } = control;
|
|
33796
|
+
if (data &&
|
|
33797
|
+
data.currentValue !== currentValue &&
|
|
33798
|
+
list &&
|
|
33799
|
+
((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isPlainObject)(list)
|
|
33800
|
+
? list[currentValue]
|
|
33801
|
+
: list.includes(currentValue))) {
|
|
33778
33802
|
if (editor.o.textIcons || control.component === 'select') {
|
|
33779
33803
|
button.state.text = currentValue;
|
|
33780
33804
|
}
|
|
33781
33805
|
else {
|
|
33782
33806
|
button.state.icon.name = currentValue;
|
|
33783
33807
|
}
|
|
33784
|
-
|
|
33808
|
+
data.currentValue = currentValue;
|
|
33785
33809
|
}
|
|
33786
33810
|
}
|
|
33787
33811
|
},
|
|
@@ -33792,7 +33816,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.ali
|
|
|
33792
33816
|
}
|
|
33793
33817
|
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) ||
|
|
33794
33818
|
editor.editor;
|
|
33795
|
-
return (btn.control.defaultValue.indexOf((0,
|
|
33819
|
+
return (btn.control.defaultValue.indexOf((0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__/* .css */ .A)(currentBox, 'text-align').toString()) === -1);
|
|
33796
33820
|
},
|
|
33797
33821
|
defaultValue: ['left', 'start', 'inherit'],
|
|
33798
33822
|
data: {
|
|
@@ -33846,7 +33870,7 @@ function justify(editor) {
|
|
|
33846
33870
|
if (!currentBox) {
|
|
33847
33871
|
currentBox = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.wrapInline(current, editor.o.enterBlock, editor);
|
|
33848
33872
|
}
|
|
33849
|
-
(0,
|
|
33873
|
+
(0,jodit_core_helpers_utils_align__WEBPACK_IMPORTED_MODULE_3__/* .alignElement */ .Op)(command, currentBox);
|
|
33850
33874
|
});
|
|
33851
33875
|
return false;
|
|
33852
33876
|
};
|
|
@@ -34058,9 +34082,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('limit
|
|
|
34058
34082
|
"use strict";
|
|
34059
34083
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(65147);
|
|
34060
34084
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(931);
|
|
34061
|
-
/* harmony import */ var
|
|
34062
|
-
/* harmony import */ var
|
|
34063
|
-
/* harmony import */ var
|
|
34085
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
34086
|
+
/* harmony import */ var _line_height_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(223);
|
|
34087
|
+
/* harmony import */ var _line_height_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_line_height_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
34064
34088
|
/*!
|
|
34065
34089
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
34066
34090
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -34070,9 +34094,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('limit
|
|
|
34070
34094
|
|
|
34071
34095
|
|
|
34072
34096
|
|
|
34073
|
-
|
|
34074
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('line-height', (
|
|
34075
|
-
|
|
34097
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.defaultLineHeight = null;
|
|
34098
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('line-height', (_line_height_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
34099
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.lineHeight = {
|
|
34076
34100
|
command: 'applyLineHeight',
|
|
34077
34101
|
tags: ['ol'],
|
|
34078
34102
|
tooltip: 'Line height',
|
|
@@ -34637,12 +34661,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('lineH
|
|
|
34637
34661
|
"use strict";
|
|
34638
34662
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55186);
|
|
34639
34663
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(931);
|
|
34640
|
-
/* harmony import */ var
|
|
34641
|
-
/* harmony import */ var
|
|
34642
|
-
/* harmony import */ var
|
|
34643
|
-
/* harmony import */ var
|
|
34644
|
-
/* harmony import */ var
|
|
34645
|
-
/* harmony import */ var
|
|
34664
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
34665
|
+
/* harmony import */ var _icons_link_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(95032);
|
|
34666
|
+
/* harmony import */ var _icons_link_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_link_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
34667
|
+
/* harmony import */ var _icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(73533);
|
|
34668
|
+
/* harmony import */ var _icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
34669
|
+
/* harmony import */ var _template__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(21329);
|
|
34646
34670
|
/*!
|
|
34647
34671
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
34648
34672
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -34654,8 +34678,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('lineH
|
|
|
34654
34678
|
|
|
34655
34679
|
|
|
34656
34680
|
|
|
34657
|
-
|
|
34658
|
-
formTemplate:
|
|
34681
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.link = {
|
|
34682
|
+
formTemplate: _template__WEBPACK_IMPORTED_MODULE_5__/* .formTemplate */ .B,
|
|
34659
34683
|
followOnDblClick: false,
|
|
34660
34684
|
processVideoLink: true,
|
|
34661
34685
|
processPastedLink: true,
|
|
@@ -34667,8 +34691,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.link = {
|
|
|
34667
34691
|
selectOptionsClassName: [],
|
|
34668
34692
|
hotkeys: ['ctrl+k', 'cmd+k']
|
|
34669
34693
|
};
|
|
34670
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('link', (
|
|
34671
|
-
|
|
34694
|
+
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()));
|
|
34695
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.unlink = {
|
|
34672
34696
|
exec: (editor, current) => {
|
|
34673
34697
|
const anchor = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor);
|
|
34674
34698
|
if (anchor) {
|
|
@@ -34679,7 +34703,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.unl
|
|
|
34679
34703
|
},
|
|
34680
34704
|
tooltip: 'Unlink'
|
|
34681
34705
|
};
|
|
34682
|
-
|
|
34706
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.link = {
|
|
34683
34707
|
isActive: (editor) => {
|
|
34684
34708
|
const current = editor.s.current();
|
|
34685
34709
|
return Boolean(current && jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor));
|
|
@@ -35224,9 +35248,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('media
|
|
|
35224
35248
|
"use strict";
|
|
35225
35249
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17352);
|
|
35226
35250
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65147);
|
|
35227
|
-
/* harmony import */ var
|
|
35228
|
-
/* harmony import */ var
|
|
35229
|
-
/* harmony import */ var
|
|
35251
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
35252
|
+
/* harmony import */ var jodit_modules_toolbar_collection_collection__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(97394);
|
|
35253
|
+
/* harmony import */ var jodit_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(8809);
|
|
35230
35254
|
/*!
|
|
35231
35255
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
35232
35256
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -35237,9 +35261,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('media
|
|
|
35237
35261
|
|
|
35238
35262
|
|
|
35239
35263
|
|
|
35240
|
-
|
|
35241
|
-
|
|
35242
|
-
|
|
35264
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.mobileTapTimeout = 300;
|
|
35265
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.toolbarAdaptive = true;
|
|
35266
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsMD = [
|
|
35243
35267
|
{
|
|
35244
35268
|
group: 'font-style',
|
|
35245
35269
|
buttons: []
|
|
@@ -35286,7 +35310,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsMD =
|
|
|
35286
35310
|
'|',
|
|
35287
35311
|
'dots'
|
|
35288
35312
|
];
|
|
35289
|
-
|
|
35313
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsSM = [
|
|
35290
35314
|
{
|
|
35291
35315
|
group: 'font-style',
|
|
35292
35316
|
buttons: []
|
|
@@ -35321,7 +35345,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsSM =
|
|
|
35321
35345
|
'|',
|
|
35322
35346
|
'dots'
|
|
35323
35347
|
];
|
|
35324
|
-
|
|
35348
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsXS = [
|
|
35325
35349
|
{
|
|
35326
35350
|
group: 'font-style',
|
|
35327
35351
|
buttons: []
|
|
@@ -35342,17 +35366,17 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsXS =
|
|
|
35342
35366
|
'---',
|
|
35343
35367
|
'dots'
|
|
35344
35368
|
];
|
|
35345
|
-
|
|
35369
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.dots = {
|
|
35346
35370
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SOURCE + jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_WYSIWYG,
|
|
35347
35371
|
popup: (editor, current, close, button) => {
|
|
35348
35372
|
let store = button.control.data;
|
|
35349
35373
|
if (store === undefined) {
|
|
35350
35374
|
store = {
|
|
35351
|
-
toolbar: (0,
|
|
35375
|
+
toolbar: (0,jodit_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_4__/* .makeCollection */ .$K)(editor),
|
|
35352
35376
|
rebuild: () => {
|
|
35353
35377
|
var _a, _b;
|
|
35354
35378
|
if (button) {
|
|
35355
|
-
const buttons = editor.e.fire('getDiffButtons.mobile', button.closest(
|
|
35379
|
+
const buttons = editor.e.fire('getDiffButtons.mobile', button.closest(jodit_modules_toolbar_collection_collection__WEBPACK_IMPORTED_MODULE_3__/* .ToolbarCollection */ .Q));
|
|
35356
35380
|
if (buttons && store) {
|
|
35357
35381
|
store.toolbar.build((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.splitArray)(buttons));
|
|
35358
35382
|
const w = ((_b = (_a = editor.toolbar) === null || _a === void 0 ? void 0 : _a.firstButton) === null || _b === void 0 ? void 0 : _b.container.offsetWidth) || 36;
|
|
@@ -35461,11 +35485,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('mobil
|
|
|
35461
35485
|
"use strict";
|
|
35462
35486
|
/* harmony import */ var jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(72197);
|
|
35463
35487
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(931);
|
|
35464
|
-
/* harmony import */ var
|
|
35465
|
-
/* harmony import */ var
|
|
35466
|
-
/* harmony import */ var
|
|
35467
|
-
/* harmony import */ var
|
|
35468
|
-
/* harmony import */ var
|
|
35488
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
35489
|
+
/* harmony import */ var _icons_ol_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(40037);
|
|
35490
|
+
/* harmony import */ var _icons_ol_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_ol_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
35491
|
+
/* harmony import */ var _icons_ul_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(83207);
|
|
35492
|
+
/* harmony import */ var _icons_ul_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_ul_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
35469
35493
|
/*!
|
|
35470
35494
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
35471
35495
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -35483,8 +35507,8 @@ const memoExec = (jodit, _, { control }) => {
|
|
|
35483
35507
|
(0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_0__/* .dataBind */ .m)(jodit, key, value);
|
|
35484
35508
|
jodit.execCommand(control.command, false, value === 'default' ? null : value);
|
|
35485
35509
|
};
|
|
35486
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('ol', (
|
|
35487
|
-
|
|
35510
|
+
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()));
|
|
35511
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.ul = {
|
|
35488
35512
|
command: 'insertUnorderedList',
|
|
35489
35513
|
tags: ['ul'],
|
|
35490
35514
|
tooltip: 'Insert Unordered List',
|
|
@@ -35496,7 +35520,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.ul
|
|
|
35496
35520
|
},
|
|
35497
35521
|
exec: memoExec
|
|
35498
35522
|
};
|
|
35499
|
-
|
|
35523
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.ol = {
|
|
35500
35524
|
command: 'insertOrderedList',
|
|
35501
35525
|
tags: ['ol'],
|
|
35502
35526
|
tooltip: 'Insert Ordered List',
|
|
@@ -35872,8 +35896,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('paste
|
|
|
35872
35896
|
"use strict";
|
|
35873
35897
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(31635);
|
|
35874
35898
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17352);
|
|
35875
|
-
/* harmony import */ var
|
|
35876
|
-
/* harmony import */ var
|
|
35899
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
35900
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(90823);
|
|
35877
35901
|
/*!
|
|
35878
35902
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
35879
35903
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -35883,19 +35907,19 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('paste
|
|
|
35883
35907
|
|
|
35884
35908
|
|
|
35885
35909
|
|
|
35886
|
-
|
|
35887
|
-
|
|
35888
|
-
|
|
35889
|
-
|
|
35890
|
-
|
|
35910
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.askBeforePasteHTML = true;
|
|
35911
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.processPasteHTML = true;
|
|
35912
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.scrollToPastedContent = true;
|
|
35913
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.pasteExcludeStripTags = ['br', 'hr'];
|
|
35914
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.pasteHTMLActionList = [
|
|
35891
35915
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_AS_HTML, text: 'Keep' },
|
|
35892
35916
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_AS_TEXT, text: 'Insert as Text' },
|
|
35893
35917
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_ONLY_TEXT, text: 'Insert only Text' }
|
|
35894
35918
|
];
|
|
35895
|
-
|
|
35896
|
-
|
|
35919
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.memorizeChoiceWhenPasteFragment = false;
|
|
35920
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.nl2brInPlainText = true;
|
|
35897
35921
|
const psKey = 'pasteStorage';
|
|
35898
|
-
|
|
35922
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.paste = {
|
|
35899
35923
|
tooltip: 'Paste from clipboard',
|
|
35900
35924
|
exec(editor_1, _1, _a) {
|
|
35901
35925
|
return (0,tslib__WEBPACK_IMPORTED_MODULE_3__/* .__awaiter */ .sH)(this, arguments, void 0, function* (editor, _, { control }) {
|
|
@@ -35944,7 +35968,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.pas
|
|
|
35944
35968
|
!error && editor.e.fire('afterPaste');
|
|
35945
35969
|
}
|
|
35946
35970
|
else if (text.length) {
|
|
35947
|
-
(0,
|
|
35971
|
+
(0,_helpers__WEBPACK_IMPORTED_MODULE_2__/* .pasteInsertHtml */ .sX)(null, editor, text);
|
|
35948
35972
|
editor.e.fire('afterPaste');
|
|
35949
35973
|
}
|
|
35950
35974
|
else {
|
|
@@ -36670,10 +36694,10 @@ function generateCriticalCSS(jodit) {
|
|
|
36670
36694
|
/* harmony import */ var jodit_core_helpers_utils_default_language__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(17527);
|
|
36671
36695
|
/* harmony import */ var jodit_core_helpers_utils_print__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(98434);
|
|
36672
36696
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(931);
|
|
36673
|
-
/* harmony import */ var
|
|
36674
|
-
/* harmony import */ var
|
|
36675
|
-
/* harmony import */ var
|
|
36676
|
-
/* harmony import */ var
|
|
36697
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(36115);
|
|
36698
|
+
/* harmony import */ var _lib_generate_critical_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(11131);
|
|
36699
|
+
/* harmony import */ var _print_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(59827);
|
|
36700
|
+
/* harmony import */ var _print_svg__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_print_svg__WEBPACK_IMPORTED_MODULE_7__);
|
|
36677
36701
|
/*!
|
|
36678
36702
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
36679
36703
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -36688,8 +36712,8 @@ function generateCriticalCSS(jodit) {
|
|
|
36688
36712
|
|
|
36689
36713
|
|
|
36690
36714
|
|
|
36691
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('print', (
|
|
36692
|
-
|
|
36715
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('print', (_print_svg__WEBPACK_IMPORTED_MODULE_7___default()));
|
|
36716
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.print = {
|
|
36693
36717
|
exec: (editor) => {
|
|
36694
36718
|
const iframe = editor.create.element('iframe');
|
|
36695
36719
|
Object.assign(iframe.style, {
|
|
@@ -36700,7 +36724,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_7__/* .Config */ .T.prototype.controls.pri
|
|
|
36700
36724
|
height: 0,
|
|
36701
36725
|
border: 0
|
|
36702
36726
|
});
|
|
36703
|
-
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .getContainer */ .My)(editor,
|
|
36727
|
+
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .getContainer */ .My)(editor, jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T).appendChild(iframe);
|
|
36704
36728
|
const afterFinishPrint = () => {
|
|
36705
36729
|
editor.e.off(editor.ow, 'mousemove', afterFinishPrint);
|
|
36706
36730
|
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.safeRemove(iframe);
|
|
@@ -36718,7 +36742,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_7__/* .Config */ .T.prototype.controls.pri
|
|
|
36718
36742
|
myWindow.document.write('<!doctype html><html lang="' +
|
|
36719
36743
|
(0,jodit_core_helpers_utils_default_language__WEBPACK_IMPORTED_MODULE_8__/* .defaultLanguage */ .e)(editor.o.language) +
|
|
36720
36744
|
'"><head><title></title></head><style>' +
|
|
36721
|
-
(0,
|
|
36745
|
+
(0,_lib_generate_critical_css__WEBPACK_IMPORTED_MODULE_6__/* .generateCriticalCSS */ .Y)(editor) +
|
|
36722
36746
|
'</style><body></body></html>');
|
|
36723
36747
|
myWindow.document.close();
|
|
36724
36748
|
(0,jodit_core_helpers_utils_print__WEBPACK_IMPORTED_MODULE_3__/* .previewBox */ .u)(editor, undefined, 'px', myWindow.document.body);
|
|
@@ -36756,11 +36780,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('print
|
|
|
36756
36780
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
36757
36781
|
/* harmony import */ var jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(29866);
|
|
36758
36782
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(931);
|
|
36759
|
-
/* harmony import */ var
|
|
36760
|
-
/* harmony import */ var
|
|
36761
|
-
/* harmony import */ var
|
|
36762
|
-
/* harmony import */ var
|
|
36763
|
-
/* harmony import */ var
|
|
36783
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
36784
|
+
/* harmony import */ var _icons_redo_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(34045);
|
|
36785
|
+
/* harmony import */ var _icons_redo_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_redo_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
36786
|
+
/* harmony import */ var _icons_undo_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(39199);
|
|
36787
|
+
/* harmony import */ var _icons_undo_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_icons_undo_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
36764
36788
|
/*!
|
|
36765
36789
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
36766
36790
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -36773,13 +36797,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('print
|
|
|
36773
36797
|
|
|
36774
36798
|
|
|
36775
36799
|
|
|
36776
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('redo', (
|
|
36777
|
-
|
|
36800
|
+
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()));
|
|
36801
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.redo = {
|
|
36778
36802
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
36779
36803
|
isDisabled: (editor) => !editor.history.canRedo(),
|
|
36780
36804
|
tooltip: 'Redo'
|
|
36781
36805
|
};
|
|
36782
|
-
|
|
36806
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.undo = {
|
|
36783
36807
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
36784
36808
|
isDisabled: (editor) => !editor.history.canUndo(),
|
|
36785
36809
|
tooltip: 'Undo'
|
|
@@ -37798,9 +37822,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('resiz
|
|
|
37798
37822
|
|
|
37799
37823
|
"use strict";
|
|
37800
37824
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
37801
|
-
/* harmony import */ var
|
|
37802
|
-
/* harmony import */ var
|
|
37803
|
-
/* harmony import */ var
|
|
37825
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
37826
|
+
/* harmony import */ var _search_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(21917);
|
|
37827
|
+
/* harmony import */ var _search_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_search_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
37804
37828
|
/*!
|
|
37805
37829
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
37806
37830
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -37810,14 +37834,14 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('resiz
|
|
|
37810
37834
|
|
|
37811
37835
|
|
|
37812
37836
|
|
|
37813
|
-
|
|
37814
|
-
|
|
37837
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.useSearch = true;
|
|
37838
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.search = {
|
|
37815
37839
|
lazyIdleTimeout: 0,
|
|
37816
37840
|
// @ts-ignore Because Highlight is not defined in the types TS 5.3.3
|
|
37817
37841
|
useCustomHighlightAPI: typeof window.Highlight !== 'undefined'
|
|
37818
37842
|
};
|
|
37819
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('search', (
|
|
37820
|
-
|
|
37843
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('search', (_search_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
37844
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.find = {
|
|
37821
37845
|
tooltip: 'Find',
|
|
37822
37846
|
icon: 'search',
|
|
37823
37847
|
exec(jodit, _, { control }) {
|
|
@@ -39449,9 +39473,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('size'
|
|
|
39449
39473
|
"use strict";
|
|
39450
39474
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17352);
|
|
39451
39475
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(931);
|
|
39452
|
-
/* harmony import */ var
|
|
39453
|
-
/* harmony import */ var
|
|
39454
|
-
/* harmony import */ var
|
|
39476
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
39477
|
+
/* harmony import */ var _source_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9103);
|
|
39478
|
+
/* harmony import */ var _source_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_source_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
39455
39479
|
/*!
|
|
39456
39480
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
39457
39481
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -39461,9 +39485,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('size'
|
|
|
39461
39485
|
|
|
39462
39486
|
|
|
39463
39487
|
|
|
39464
|
-
|
|
39465
|
-
|
|
39466
|
-
|
|
39488
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.beautifyHTML = !jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.IS_IE;
|
|
39489
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditor = 'ace';
|
|
39490
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditorNativeOptions = {
|
|
39467
39491
|
/**
|
|
39468
39492
|
* Show gutter
|
|
39469
39493
|
*/
|
|
@@ -39485,15 +39509,15 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.sourceEditor
|
|
|
39485
39509
|
*/
|
|
39486
39510
|
highlightActiveLine: true
|
|
39487
39511
|
};
|
|
39488
|
-
|
|
39512
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditorCDNUrlsJS = [
|
|
39489
39513
|
'https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.2/ace.js'
|
|
39490
39514
|
];
|
|
39491
|
-
|
|
39515
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.beautifyHTMLCDNUrlsJS = [
|
|
39492
39516
|
'https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify.min.js',
|
|
39493
39517
|
'https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify-html.min.js'
|
|
39494
39518
|
];
|
|
39495
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('source', (
|
|
39496
|
-
|
|
39519
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('source', (_source_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
39520
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.source = {
|
|
39497
39521
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
39498
39522
|
exec: (editor) => {
|
|
39499
39523
|
editor.toggleMode();
|
|
@@ -40303,9 +40327,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('sourc
|
|
|
40303
40327
|
|
|
40304
40328
|
"use strict";
|
|
40305
40329
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
40306
|
-
/* harmony import */ var
|
|
40307
|
-
/* harmony import */ var
|
|
40308
|
-
/* harmony import */ var
|
|
40330
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
40331
|
+
/* harmony import */ var _spellcheck_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(49989);
|
|
40332
|
+
/* harmony import */ var _spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
40309
40333
|
/*!
|
|
40310
40334
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
40311
40335
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -40314,13 +40338,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('sourc
|
|
|
40314
40338
|
|
|
40315
40339
|
|
|
40316
40340
|
|
|
40317
|
-
|
|
40318
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('spellcheck', (
|
|
40319
|
-
|
|
40341
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.spellcheck = false;
|
|
40342
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('spellcheck', (_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
40343
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.spellcheck = {
|
|
40320
40344
|
isActive(e) {
|
|
40321
40345
|
return e.o.spellcheck;
|
|
40322
40346
|
},
|
|
40323
|
-
icon: (
|
|
40347
|
+
icon: (_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default()),
|
|
40324
40348
|
name: 'spellcheck',
|
|
40325
40349
|
command: 'toggleSpellcheck',
|
|
40326
40350
|
tooltip: 'Spellcheck'
|
|
@@ -41095,9 +41119,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('stick
|
|
|
41095
41119
|
|
|
41096
41120
|
"use strict";
|
|
41097
41121
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
41098
|
-
/* harmony import */ var
|
|
41099
|
-
/* harmony import */ var
|
|
41100
|
-
/* harmony import */ var
|
|
41122
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
41123
|
+
/* harmony import */ var _symbols_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(81875);
|
|
41124
|
+
/* harmony import */ var _symbols_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_symbols_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
41101
41125
|
/*!
|
|
41102
41126
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
41103
41127
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -41106,8 +41130,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('stick
|
|
|
41106
41130
|
|
|
41107
41131
|
|
|
41108
41132
|
|
|
41109
|
-
|
|
41110
|
-
|
|
41133
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.usePopupForSpecialCharacters = false;
|
|
41134
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.specialCharacters = [
|
|
41111
41135
|
'!',
|
|
41112
41136
|
'"',
|
|
41113
41137
|
'#',
|
|
@@ -41319,8 +41343,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.specialChara
|
|
|
41319
41343
|
'♦',
|
|
41320
41344
|
'≈'
|
|
41321
41345
|
];
|
|
41322
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('symbols', (
|
|
41323
|
-
|
|
41346
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('symbols', (_symbols_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
41347
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.symbols = {
|
|
41324
41348
|
hotkeys: ['ctrl+shift+i', 'cmd+shift+i'],
|
|
41325
41349
|
tooltip: 'Insert Special Character',
|
|
41326
41350
|
popup: (editor, current, close) => {
|
|
@@ -42309,9 +42333,9 @@ function findCell(editor, key) {
|
|
|
42309
42333
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65147);
|
|
42310
42334
|
/* harmony import */ var jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(97369);
|
|
42311
42335
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(931);
|
|
42312
|
-
/* harmony import */ var
|
|
42313
|
-
/* harmony import */ var
|
|
42314
|
-
/* harmony import */ var
|
|
42336
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
42337
|
+
/* harmony import */ var _table_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(67447);
|
|
42338
|
+
/* harmony import */ var _table_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_table_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
42315
42339
|
/*!
|
|
42316
42340
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
42317
42341
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -42323,12 +42347,12 @@ function findCell(editor, key) {
|
|
|
42323
42347
|
|
|
42324
42348
|
|
|
42325
42349
|
|
|
42326
|
-
|
|
42350
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.table = {
|
|
42327
42351
|
selectionCellStyle: 'border: 1px double #1e88e5 !important;',
|
|
42328
42352
|
useExtraClassesOptions: false
|
|
42329
42353
|
};
|
|
42330
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('table', (
|
|
42331
|
-
|
|
42354
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('table', (_table_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
42355
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.table = {
|
|
42332
42356
|
data: {
|
|
42333
42357
|
cols: 10,
|
|
42334
42358
|
rows: 10,
|
|
@@ -42495,10 +42519,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('table
|
|
|
42495
42519
|
/* harmony import */ var jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(35265);
|
|
42496
42520
|
/* harmony import */ var jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(20703);
|
|
42497
42521
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(931);
|
|
42498
|
-
/* harmony import */ var
|
|
42499
|
-
/* harmony import */ var
|
|
42500
|
-
/* harmony import */ var
|
|
42501
|
-
/* harmony import */ var
|
|
42522
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
42523
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(16116);
|
|
42524
|
+
/* harmony import */ var _video_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(36339);
|
|
42525
|
+
/* harmony import */ var _video_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_video_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
42502
42526
|
/*!
|
|
42503
42527
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
42504
42528
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -42511,8 +42535,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('table
|
|
|
42511
42535
|
|
|
42512
42536
|
|
|
42513
42537
|
|
|
42514
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('video', (
|
|
42515
|
-
|
|
42538
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('video', (_video_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
42539
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.video = {
|
|
42516
42540
|
popup: (editor, current, close) => {
|
|
42517
42541
|
const formLink = new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIForm */ .XV(editor, [
|
|
42518
42542
|
new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIBlock */ .Yh(editor, [
|
|
@@ -42559,7 +42583,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.prototype.controls.vid
|
|
|
42559
42583
|
formCode.onSubmit(data => {
|
|
42560
42584
|
insertCode(data.code);
|
|
42561
42585
|
});
|
|
42562
|
-
return (0,
|
|
42586
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__/* .TabsWidget */ .Zg)(editor, tabs);
|
|
42563
42587
|
},
|
|
42564
42588
|
tags: ['iframe'],
|
|
42565
42589
|
tooltip: 'Insert youtube/vimeo video'
|