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