jodit 4.2.15 → 4.2.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +81 -5
- package/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +408 -395
- package/es2015/jodit.min.js +2 -2
- package/es2015/plugins/debug/debug.js +1 -1
- package/es2015/plugins/debug/debug.min.js +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.js +11 -11
- package/es2015/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es2018/jodit.css +1 -1
- package/es2018/jodit.fat.min.js +2 -2
- package/es2018/jodit.js +408 -397
- package/es2018/jodit.min.js +2 -2
- package/es2018/plugins/debug/debug.js +1 -1
- package/es2018/plugins/debug/debug.min.js +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.js +11 -11
- package/es2018/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es2021/jodit.css +1 -1
- package/es2021/jodit.fat.min.js +2 -2
- package/es2021/jodit.js +408 -395
- package/es2021/jodit.min.js +2 -2
- package/es2021/plugins/debug/debug.js +1 -1
- package/es2021/plugins/debug/debug.min.js +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.js +11 -11
- package/es2021/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es2021.en/jodit.css +1 -1
- package/es2021.en/jodit.fat.min.js +2 -2
- package/es2021.en/jodit.js +408 -395
- package/es2021.en/jodit.min.js +2 -2
- package/es2021.en/plugins/debug/debug.js +1 -1
- package/es2021.en/plugins/debug/debug.min.js +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.js +11 -11
- package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es5/jodit.css +2 -2
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +413 -400
- package/es5/jodit.min.css +2 -2
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/debug/debug.js +1 -1
- package/es5/plugins/debug/debug.min.js +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.js +11 -11
- package/es5/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/esm/core/constants.js +1 -1
- package/esm/core/helpers/utils/append-script.js +2 -0
- package/esm/core/helpers/utils/config-proto.js +1 -1
- package/esm/core/request/ajax.js +1 -1
- package/esm/core/ui/helpers/get-control-type.js +15 -9
- package/esm/core/ui/helpers/get-strong-control-types.js +1 -1
- package/esm/jodit.d.ts +1 -1
- package/esm/jodit.js +1 -1
- package/esm/modules/file-browser/file-browser.js +1 -1
- package/esm/modules/history/history.js +1 -1
- package/esm/modules/image-editor/config.js +1 -1
- package/esm/modules/image-editor/image-editor.js +1 -1
- package/esm/modules/toolbar/button/button.js +2 -1
- package/esm/modules/toolbar/button/select/select.js +2 -1
- package/esm/modules/uploader/uploader.js +1 -1
- package/esm/plugins/about/about.js +1 -1
- package/esm/plugins/add-new-line/config.js +1 -1
- package/esm/plugins/ai-assistant/config.js +1 -1
- package/esm/plugins/backspace/cases/check-remove-char.js +4 -0
- package/esm/plugins/bold/bold.js +1 -1
- package/esm/plugins/class-span/class-span.js +1 -1
- package/esm/plugins/clean-html/config.js +1 -1
- package/esm/plugins/clipboard/config.js +1 -1
- package/esm/plugins/color/config.js +1 -1
- package/esm/plugins/copy-format/copy-format.js +1 -1
- package/esm/plugins/file/file.js +1 -1
- package/esm/plugins/font/config.js +1 -1
- package/esm/plugins/format-block/config.js +6 -4
- package/esm/plugins/fullsize/config.js +1 -1
- package/esm/plugins/hotkeys/config.d.ts +13 -0
- package/esm/plugins/hotkeys/config.js +0 -13
- package/esm/plugins/hr/hr.js +1 -1
- package/esm/plugins/image/image.js +1 -1
- package/esm/plugins/image-properties/config.d.ts +0 -3
- package/esm/plugins/image-properties/config.js +3 -0
- package/esm/plugins/image-properties/interface.d.ts +121 -0
- package/esm/plugins/indent/config.js +1 -1
- package/esm/plugins/inline-popup/config/config.js +1 -1
- package/esm/plugins/justify/justify.js +10 -6
- package/esm/plugins/line-height/config.js +1 -1
- package/esm/plugins/link/config.js +1 -1
- package/esm/plugins/mobile/config.js +1 -1
- package/esm/plugins/ordered-list/config.js +1 -1
- package/esm/plugins/paste/config.js +1 -1
- package/esm/plugins/print/print.js +1 -1
- package/esm/plugins/redo-undo/redo-undo.js +1 -1
- package/esm/plugins/search/config.js +1 -1
- package/esm/plugins/source/config.js +1 -1
- package/esm/plugins/speech-recognize/config.js +1 -1
- package/esm/plugins/spellcheck/config.js +1 -1
- package/esm/plugins/symbols/config.js +1 -1
- package/esm/plugins/table/config.js +1 -1
- package/esm/plugins/video/config.js +1 -1
- package/esm/types/toolbar.d.ts +1 -2
- package/package.json +1 -1
- package/types/jodit.d.ts +1 -1
- package/types/plugins/hotkeys/config.d.ts +13 -0
- package/types/plugins/image-properties/config.d.ts +0 -3
- package/types/plugins/image-properties/interface.d.ts +121 -0
- package/types/types/toolbar.d.ts +1 -2
package/es5/jodit.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
|
|
3
3
|
* Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
|
|
4
|
-
* Version: v4.2.
|
|
4
|
+
* Version: v4.2.18
|
|
5
5
|
* Url: https://xdsoft.net/jodit/
|
|
6
6
|
* License(s): MIT
|
|
7
7
|
*/
|
|
@@ -3127,7 +3127,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3127
3127
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
3128
3128
|
*/
|
|
3129
3129
|
|
|
3130
|
-
var APP_VERSION = "4.2.
|
|
3130
|
+
var APP_VERSION = "4.2.18";
|
|
3131
3131
|
// prettier-ignore
|
|
3132
3132
|
var ES = "es5";
|
|
3133
3133
|
var IS_ES_MODERN = false;
|
|
@@ -8916,6 +8916,8 @@ var appendScriptAsync = cacheLoaders(function (jodit, url) {
|
|
|
8916
8916
|
}
|
|
8917
8917
|
var script = jodit.c.element('script', {
|
|
8918
8918
|
type: 'text/javascript',
|
|
8919
|
+
crossorigin: 'anonymous',
|
|
8920
|
+
referrerpolicy: 'no-referrer',
|
|
8919
8921
|
async: true,
|
|
8920
8922
|
src: (0,_complete_url__WEBPACK_IMPORTED_MODULE_1__/* .completeUrl */ .X)(url)
|
|
8921
8923
|
});
|
|
@@ -9163,9 +9165,9 @@ var completeUrl = function (url) {
|
|
|
9163
9165
|
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(25376);
|
|
9164
9166
|
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(98253);
|
|
9165
9167
|
/* harmony import */ var jodit_core_helpers_checker_is_void__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(35642);
|
|
9168
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(36115);
|
|
9166
9169
|
/* harmony import */ var _extend__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(49429);
|
|
9167
|
-
/* harmony import */ var
|
|
9168
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
9170
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(84976);
|
|
9169
9171
|
/*!
|
|
9170
9172
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
9171
9173
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -9215,7 +9217,7 @@ function ConfigProto(options, proto, deep) {
|
|
|
9215
9217
|
if (Object.getPrototypeOf(options) !== Object.prototype) {
|
|
9216
9218
|
return options;
|
|
9217
9219
|
}
|
|
9218
|
-
var def =
|
|
9220
|
+
var def = jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.defaultOptions;
|
|
9219
9221
|
if ((0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__/* .isString */ .K)(options.preset)) {
|
|
9220
9222
|
if (def.presets[options.preset] !== undefined) {
|
|
9221
9223
|
var preset_1 = def.presets[options.preset];
|
|
@@ -9245,7 +9247,7 @@ function ConfigProto(options, proto, deep) {
|
|
|
9245
9247
|
return newOpt;
|
|
9246
9248
|
}
|
|
9247
9249
|
function ConfigFlatten(obj) {
|
|
9248
|
-
return (0,
|
|
9250
|
+
return (0,_utils__WEBPACK_IMPORTED_MODULE_1__/* .keys */ .HP)(obj, false).reduce(function (app, key) {
|
|
9249
9251
|
app[key] = obj[key];
|
|
9250
9252
|
return app;
|
|
9251
9253
|
}, {});
|
|
@@ -11281,9 +11283,9 @@ var Plugin = /** @class */ (function (_super) {
|
|
|
11281
11283
|
/* harmony import */ var jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(26318);
|
|
11282
11284
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65147);
|
|
11283
11285
|
/* harmony import */ var jodit_core_helpers_utils_error__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(50156);
|
|
11284
|
-
/* harmony import */ var
|
|
11285
|
-
/* harmony import */ var
|
|
11286
|
-
/* harmony import */ var
|
|
11286
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
11287
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(27337);
|
|
11288
|
+
/* harmony import */ var _response__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(91672);
|
|
11287
11289
|
/*!
|
|
11288
11290
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
11289
11291
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -11299,7 +11301,7 @@ var Plugin = /** @class */ (function (_super) {
|
|
|
11299
11301
|
|
|
11300
11302
|
var Ajax = /** @class */ (function () {
|
|
11301
11303
|
function Ajax(options, defaultAjaxOptions) {
|
|
11302
|
-
if (defaultAjaxOptions === void 0) { defaultAjaxOptions =
|
|
11304
|
+
if (defaultAjaxOptions === void 0) { defaultAjaxOptions = jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.defaultAjaxOptions; }
|
|
11303
11305
|
this.__async = new jodit_core_async__WEBPACK_IMPORTED_MODULE_0__/* .Async */ .j();
|
|
11304
11306
|
this.__isFulfilled = false;
|
|
11305
11307
|
this.__activated = false;
|
|
@@ -11362,7 +11364,7 @@ var Ajax = /** @class */ (function () {
|
|
|
11362
11364
|
};
|
|
11363
11365
|
onResolve = function () {
|
|
11364
11366
|
_this.__isFulfilled = true;
|
|
11365
|
-
resolve(new
|
|
11367
|
+
resolve(new _response__WEBPACK_IMPORTED_MODULE_5__/* .Response */ .Y(request, xhr.status, xhr.statusText, !xhr.responseType ? xhr.responseText : xhr.response));
|
|
11366
11368
|
};
|
|
11367
11369
|
xhr.onload = onResolve;
|
|
11368
11370
|
xhr.onabort = function () {
|
|
@@ -17048,9 +17050,8 @@ function getControlType(button, controls) {
|
|
|
17048
17050
|
* @private
|
|
17049
17051
|
*/
|
|
17050
17052
|
function findControlType(path, controls) {
|
|
17051
|
-
var _a;
|
|
17052
17053
|
// eslint-disable-next-line prefer-const
|
|
17053
|
-
var
|
|
17054
|
+
var _a = (0,tslib__WEBPACK_IMPORTED_MODULE_2__/* .__read */ .zs)(path.split(/\./), 2), namespaceOrKey = _a[0], key = _a[1];
|
|
17054
17055
|
var store = controls;
|
|
17055
17056
|
if (key != null) {
|
|
17056
17057
|
if (controls[namespaceOrKey] !== undefined) {
|
|
@@ -17060,14 +17061,22 @@ function findControlType(path, controls) {
|
|
|
17060
17061
|
else {
|
|
17061
17062
|
key = namespaceOrKey;
|
|
17062
17063
|
}
|
|
17063
|
-
|
|
17064
|
+
// const list = store[key]?.list;
|
|
17064
17065
|
return store[key]
|
|
17065
|
-
? (0,tslib__WEBPACK_IMPORTED_MODULE_2__/* .__assign */ .Cl)(
|
|
17066
|
-
|
|
17067
|
-
|
|
17068
|
-
|
|
17069
|
-
|
|
17070
|
-
|
|
17066
|
+
? (0,tslib__WEBPACK_IMPORTED_MODULE_2__/* .__assign */ .Cl)({ name: key }, (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__.ConfigFlatten)(store[key])
|
|
17067
|
+
// list: isArray(list)
|
|
17068
|
+
// ? (<Array<string>>list).reduce(
|
|
17069
|
+
// (
|
|
17070
|
+
// acc: IDictionary<string | number>,
|
|
17071
|
+
// k: string | number
|
|
17072
|
+
// ) => {
|
|
17073
|
+
// acc[String(k)] = k;
|
|
17074
|
+
// return acc;
|
|
17075
|
+
// },
|
|
17076
|
+
// {}
|
|
17077
|
+
// )
|
|
17078
|
+
// : list
|
|
17079
|
+
) : undefined;
|
|
17071
17080
|
}
|
|
17072
17081
|
|
|
17073
17082
|
|
|
@@ -17082,8 +17091,8 @@ function findControlType(path, controls) {
|
|
|
17082
17091
|
/* harmony export */ });
|
|
17083
17092
|
/* harmony import */ var jodit_core_helpers_checker_is_array__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(37923);
|
|
17084
17093
|
/* harmony import */ var jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(97369);
|
|
17085
|
-
/* harmony import */ var
|
|
17086
|
-
/* harmony import */ var
|
|
17094
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
17095
|
+
/* harmony import */ var _get_control_type__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(57023);
|
|
17087
17096
|
/*!
|
|
17088
17097
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
17089
17098
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -17104,7 +17113,7 @@ function getStrongControlTypes(items, controls) {
|
|
|
17104
17113
|
return (0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_0__.ConfigProto)({ name: key }, value);
|
|
17105
17114
|
});
|
|
17106
17115
|
return elements.map(function (item) {
|
|
17107
|
-
return (0,
|
|
17116
|
+
return (0,_get_control_type__WEBPACK_IMPORTED_MODULE_2__/* .getControlType */ .U)(item, controls || jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.defaultOptions.controls);
|
|
17108
17117
|
});
|
|
17109
17118
|
}
|
|
17110
17119
|
|
|
@@ -18298,8 +18307,8 @@ View.defaultOptions = {
|
|
|
18298
18307
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(65147);
|
|
18299
18308
|
/* harmony import */ var jodit_core_request__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(53883);
|
|
18300
18309
|
/* harmony import */ var jodit_core_traits_dlgs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(58597);
|
|
18301
|
-
/* harmony import */ var
|
|
18302
|
-
/* harmony import */ var
|
|
18310
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(36115);
|
|
18311
|
+
/* harmony import */ var jodit_modules__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(37435);
|
|
18303
18312
|
/*!
|
|
18304
18313
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
18305
18314
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -18356,7 +18365,7 @@ var Jodit = /** @class */ (function (_super) {
|
|
|
18356
18365
|
_this.destruct();
|
|
18357
18366
|
throw e;
|
|
18358
18367
|
}
|
|
18359
|
-
_this.setStatus(
|
|
18368
|
+
_this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.STATUSES.beforeInit);
|
|
18360
18369
|
_this.id =
|
|
18361
18370
|
(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') ||
|
|
18362
18371
|
new Date().getTime().toString();
|
|
@@ -18368,7 +18377,7 @@ var Jodit = /** @class */ (function (_super) {
|
|
|
18368
18377
|
}
|
|
18369
18378
|
});
|
|
18370
18379
|
_this.e.on('prepareWYSIWYGEditor', _this.__prepareWYSIWYGEditor);
|
|
18371
|
-
_this.selection = new
|
|
18380
|
+
_this.selection = new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Selection(_this);
|
|
18372
18381
|
var beforeInitHookResult = _this.beforeInitHook();
|
|
18373
18382
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.callPromise)(beforeInitHookResult, function () {
|
|
18374
18383
|
if (_this.isInDestruct) {
|
|
@@ -18392,7 +18401,7 @@ var Jodit = /** @class */ (function (_super) {
|
|
|
18392
18401
|
_this.e.fire('afterInit', _this);
|
|
18393
18402
|
}
|
|
18394
18403
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.callPromise)(_this.afterInitHook());
|
|
18395
|
-
_this.setStatus(
|
|
18404
|
+
_this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.STATUSES.ready);
|
|
18396
18405
|
_this.e.fire('afterConstructor', _this);
|
|
18397
18406
|
};
|
|
18398
18407
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.callPromise)(addPlaceResult, init);
|
|
@@ -18456,7 +18465,7 @@ var Jodit = /** @class */ (function (_super) {
|
|
|
18456
18465
|
get: function () {
|
|
18457
18466
|
return (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isNumber)(this.o.defaultTimeout)
|
|
18458
18467
|
? this.o.defaultTimeout
|
|
18459
|
-
:
|
|
18468
|
+
: jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions.defaultTimeout;
|
|
18460
18469
|
},
|
|
18461
18470
|
enumerable: false,
|
|
18462
18471
|
configurable: true
|
|
@@ -18486,7 +18495,7 @@ var Jodit = /** @class */ (function (_super) {
|
|
|
18486
18495
|
* Default settings
|
|
18487
18496
|
*/
|
|
18488
18497
|
get: function () {
|
|
18489
|
-
return
|
|
18498
|
+
return jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions;
|
|
18490
18499
|
},
|
|
18491
18500
|
enumerable: false,
|
|
18492
18501
|
configurable: true
|
|
@@ -18494,7 +18503,7 @@ var Jodit = /** @class */ (function (_super) {
|
|
|
18494
18503
|
Object.defineProperty(Jodit.prototype, "createInside", {
|
|
18495
18504
|
get: function () {
|
|
18496
18505
|
var _this = this;
|
|
18497
|
-
return new
|
|
18506
|
+
return new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Create(function () { return _this.ed; }, this.o.createAttributes);
|
|
18498
18507
|
},
|
|
18499
18508
|
enumerable: false,
|
|
18500
18509
|
configurable: true
|
|
@@ -19139,8 +19148,8 @@ var Jodit = /** @class */ (function (_super) {
|
|
|
19139
19148
|
var active = this.od.activeElement;
|
|
19140
19149
|
if (active &&
|
|
19141
19150
|
(active === this.iframe ||
|
|
19142
|
-
|
|
19143
|
-
|
|
19151
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.isOrContains(this.editor, active) ||
|
|
19152
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.isOrContains(this.toolbar.container, active))) {
|
|
19144
19153
|
return jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_WYSIWYG;
|
|
19145
19154
|
}
|
|
19146
19155
|
return jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SOURCE;
|
|
@@ -19297,7 +19306,7 @@ var Jodit = /** @class */ (function (_super) {
|
|
|
19297
19306
|
};
|
|
19298
19307
|
/** @override **/
|
|
19299
19308
|
Jodit.prototype.initOptions = function (options) {
|
|
19300
|
-
this.options = ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {},
|
|
19309
|
+
this.options = ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions));
|
|
19301
19310
|
};
|
|
19302
19311
|
/** @override **/
|
|
19303
19312
|
Jodit.prototype.initOwners = function () {
|
|
@@ -19316,7 +19325,7 @@ var Jodit = /** @class */ (function (_super) {
|
|
|
19316
19325
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.toArray)(element.attributes).forEach(function (attr) {
|
|
19317
19326
|
var name = attr.name;
|
|
19318
19327
|
var value = attr.value;
|
|
19319
|
-
if (
|
|
19328
|
+
if (jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions[name] !== undefined &&
|
|
19320
19329
|
(!options || options[name] === undefined)) {
|
|
19321
19330
|
if (['readonly', 'disabled'].indexOf(name) !== -1) {
|
|
19322
19331
|
value = value === '' || value === 'true';
|
|
@@ -19384,11 +19393,11 @@ var Jodit = /** @class */ (function (_super) {
|
|
|
19384
19393
|
element: element,
|
|
19385
19394
|
container: container,
|
|
19386
19395
|
workplace: workplace,
|
|
19387
|
-
statusbar: new
|
|
19396
|
+
statusbar: new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.StatusBar(this, container),
|
|
19388
19397
|
options: this.isReady
|
|
19389
|
-
? (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {},
|
|
19398
|
+
? (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions)
|
|
19390
19399
|
: this.options,
|
|
19391
|
-
history: new
|
|
19400
|
+
history: new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.History(this),
|
|
19392
19401
|
editorWindow: this.ow
|
|
19393
19402
|
};
|
|
19394
19403
|
this.__elementToPlace.set(editor, currentPlace);
|
|
@@ -19481,7 +19490,7 @@ var Jodit = /** @class */ (function (_super) {
|
|
|
19481
19490
|
return;
|
|
19482
19491
|
}
|
|
19483
19492
|
if (stayDefault === false || (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isPromise)(stayDefault)) {
|
|
19484
|
-
|
|
19493
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(defaultEditorArea);
|
|
19485
19494
|
}
|
|
19486
19495
|
addClassNames(_this.o.editorClassName, _this.editor);
|
|
19487
19496
|
if (_this.o.style) {
|
|
@@ -19571,7 +19580,7 @@ var Jodit = /** @class */ (function (_super) {
|
|
|
19571
19580
|
if (this.isInDestruct) {
|
|
19572
19581
|
return;
|
|
19573
19582
|
}
|
|
19574
|
-
this.setStatus(
|
|
19583
|
+
this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.STATUSES.beforeDestruct);
|
|
19575
19584
|
this.__elementToPlace.clear();
|
|
19576
19585
|
this.storage.clear();
|
|
19577
19586
|
this.buffer.clear();
|
|
@@ -19613,17 +19622,17 @@ var Jodit = /** @class */ (function (_super) {
|
|
|
19613
19622
|
_this.e.off(container);
|
|
19614
19623
|
_this.e.off(element);
|
|
19615
19624
|
_this.e.off(editor);
|
|
19616
|
-
|
|
19617
|
-
|
|
19625
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(workplace);
|
|
19626
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(editor);
|
|
19618
19627
|
if (container !== element) {
|
|
19619
|
-
|
|
19628
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(container);
|
|
19620
19629
|
}
|
|
19621
19630
|
Object.defineProperty(element, 'component', {
|
|
19622
19631
|
enumerable: false,
|
|
19623
19632
|
configurable: true,
|
|
19624
19633
|
value: null
|
|
19625
19634
|
});
|
|
19626
|
-
|
|
19635
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(iframe);
|
|
19627
19636
|
// inline mode
|
|
19628
19637
|
if (container === element) {
|
|
19629
19638
|
element.innerHTML = buffer;
|
|
@@ -19645,7 +19654,7 @@ var Jodit = /** @class */ (function (_super) {
|
|
|
19645
19654
|
Jodit.instances = jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .instances */ .VF;
|
|
19646
19655
|
Jodit.lang = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.lang;
|
|
19647
19656
|
Jodit.core = {
|
|
19648
|
-
Plugin:
|
|
19657
|
+
Plugin: jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Plugin
|
|
19649
19658
|
};
|
|
19650
19659
|
(0,tslib__WEBPACK_IMPORTED_MODULE_8__/* .__decorate */ .Cg)([
|
|
19651
19660
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.cache
|
|
@@ -19675,7 +19684,7 @@ var Jodit = /** @class */ (function (_super) {
|
|
|
19675
19684
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.derive)(jodit_core_traits_dlgs__WEBPACK_IMPORTED_MODULE_5__/* .Dlgs */ .z)
|
|
19676
19685
|
], Jodit);
|
|
19677
19686
|
return Jodit;
|
|
19678
|
-
}(
|
|
19687
|
+
}(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.ViewWithToolbar));
|
|
19679
19688
|
|
|
19680
19689
|
function addClassNames(className, elm) {
|
|
19681
19690
|
if (className) {
|
|
@@ -21992,16 +22001,16 @@ function loadTree(fb) {
|
|
|
21992
22001
|
/* harmony import */ var jodit_core_storage__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(63915);
|
|
21993
22002
|
/* harmony import */ var jodit_core_traits_dlgs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(58597);
|
|
21994
22003
|
/* harmony import */ var jodit_core_view_view_with_toolbar__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(14961);
|
|
21995
|
-
/* harmony import */ var
|
|
22004
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(36115);
|
|
22005
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(70265);
|
|
21996
22006
|
/* harmony import */ var _fetch_load_items__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(9979);
|
|
21997
|
-
/* harmony import */ var
|
|
21998
|
-
/* harmony import */ var
|
|
21999
|
-
/* harmony import */ var
|
|
22000
|
-
/* harmony import */ var
|
|
22001
|
-
/* harmony import */ var
|
|
22002
|
-
/* harmony import */ var
|
|
22003
|
-
/* harmony import */ var
|
|
22004
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(36115);
|
|
22007
|
+
/* harmony import */ var _fetch_load_tree__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(31859);
|
|
22008
|
+
/* harmony import */ var _listeners_native_listeners__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(62994);
|
|
22009
|
+
/* harmony import */ var _listeners_self_listeners__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(18043);
|
|
22010
|
+
/* harmony import */ var _listeners_state_listeners__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(80004);
|
|
22011
|
+
/* harmony import */ var _data_provider__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(75889);
|
|
22012
|
+
/* harmony import */ var _factories__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(83797);
|
|
22013
|
+
/* harmony import */ var _ui__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(10274);
|
|
22005
22014
|
/*!
|
|
22006
22015
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
22007
22016
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -22035,11 +22044,11 @@ var FileBrowser = /** @class */ (function (_super) {
|
|
|
22035
22044
|
var _this = _super.call(this, options) || this;
|
|
22036
22045
|
_this.browser = _this.c.div(_this.componentName);
|
|
22037
22046
|
_this.status_line = _this.c.div(_this.getFullElName('status'));
|
|
22038
|
-
_this.tree = new
|
|
22039
|
-
_this.files = new
|
|
22047
|
+
_this.tree = new _ui__WEBPACK_IMPORTED_MODULE_17__/* .FileBrowserTree */ .V(_this);
|
|
22048
|
+
_this.files = new _ui__WEBPACK_IMPORTED_MODULE_17__/* .FileBrowserFiles */ .Q(_this);
|
|
22040
22049
|
_this.state = (0,jodit_core_event_emitter__WEBPACK_IMPORTED_MODULE_4__/* .observable */ .sH)({
|
|
22041
22050
|
currentPath: '',
|
|
22042
|
-
currentSource:
|
|
22051
|
+
currentSource: _data_provider__WEBPACK_IMPORTED_MODULE_15__/* .DEFAULT_SOURCE_NAME */ .o,
|
|
22043
22052
|
currentBaseUrl: '',
|
|
22044
22053
|
activeElements: [],
|
|
22045
22054
|
elements: [],
|
|
@@ -22069,7 +22078,7 @@ var FileBrowser = /** @class */ (function (_super) {
|
|
|
22069
22078
|
_this.__prevButtons = [];
|
|
22070
22079
|
_this.attachEvents(options);
|
|
22071
22080
|
var self = _this;
|
|
22072
|
-
self.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {},
|
|
22081
|
+
self.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_9__/* .Config */ .T.defaultOptions.filebrowser);
|
|
22073
22082
|
self.browser.component = _this;
|
|
22074
22083
|
self.container = self.browser;
|
|
22075
22084
|
if (self.o.showFoldersPanel) {
|
|
@@ -22077,9 +22086,9 @@ var FileBrowser = /** @class */ (function (_super) {
|
|
|
22077
22086
|
}
|
|
22078
22087
|
self.browser.appendChild(self.files.container);
|
|
22079
22088
|
self.browser.appendChild(self.status_line);
|
|
22080
|
-
|
|
22081
|
-
|
|
22082
|
-
|
|
22089
|
+
_listeners_self_listeners__WEBPACK_IMPORTED_MODULE_13__/* .selfListeners */ .c.call(self);
|
|
22090
|
+
_listeners_native_listeners__WEBPACK_IMPORTED_MODULE_12__/* .nativeListeners */ .nW.call(self);
|
|
22091
|
+
_listeners_state_listeners__WEBPACK_IMPORTED_MODULE_14__/* .stateListeners */ .r.call(self);
|
|
22083
22092
|
var keys = [
|
|
22084
22093
|
'getLocalFileByUrl',
|
|
22085
22094
|
'crop',
|
|
@@ -22139,7 +22148,7 @@ var FileBrowser = /** @class */ (function (_super) {
|
|
|
22139
22148
|
};
|
|
22140
22149
|
Object.defineProperty(FileBrowser.prototype, "dataProvider", {
|
|
22141
22150
|
get: function () {
|
|
22142
|
-
return (0,
|
|
22151
|
+
return (0,_factories__WEBPACK_IMPORTED_MODULE_16__/* .makeDataProvider */ .S)(this, this.options);
|
|
22143
22152
|
},
|
|
22144
22153
|
enumerable: false,
|
|
22145
22154
|
configurable: true
|
|
@@ -22277,7 +22286,7 @@ var FileBrowser = /** @class */ (function (_super) {
|
|
|
22277
22286
|
_this.__updateToolbarButtons();
|
|
22278
22287
|
_this._dialog.open(_this.browser, header);
|
|
22279
22288
|
_this.e.fire('sort.filebrowser', _this.state.sortBy);
|
|
22280
|
-
(0,
|
|
22289
|
+
(0,_fetch_load_tree__WEBPACK_IMPORTED_MODULE_11__/* .loadTree */ .r)(_this)
|
|
22281
22290
|
.then(resolve, reject)
|
|
22282
22291
|
.finally(function () {
|
|
22283
22292
|
var _a;
|
|
@@ -22316,7 +22325,7 @@ var FileBrowser = /** @class */ (function (_super) {
|
|
|
22316
22325
|
FileBrowser.prototype.initUploader = function (editor) {
|
|
22317
22326
|
var _this = this;
|
|
22318
22327
|
var _a;
|
|
22319
|
-
var self = this, options = (_a = editor === null || editor === void 0 ? void 0 : editor.options) === null || _a === void 0 ? void 0 : _a.uploader, uploaderOptions = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {},
|
|
22328
|
+
var self = this, options = (_a = editor === null || editor === void 0 ? void 0 : editor.options) === null || _a === void 0 ? void 0 : _a.uploader, uploaderOptions = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_9__/* .Config */ .T.defaultOptions.uploader);
|
|
22320
22329
|
var uploadHandler = function () { return (0,_fetch_load_items__WEBPACK_IMPORTED_MODULE_19__/* .loadItems */ .f)(_this); };
|
|
22321
22330
|
self.uploader = self.getInstance('Uploader', uploaderOptions);
|
|
22322
22331
|
self.uploader
|
|
@@ -22979,10 +22988,10 @@ var Command = /** @class */ (function () {
|
|
|
22979
22988
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(31635);
|
|
22980
22989
|
/* harmony import */ var jodit_core_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77753);
|
|
22981
22990
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(22664);
|
|
22982
|
-
/* harmony import */ var
|
|
22983
|
-
/* harmony import */ var
|
|
22984
|
-
/* harmony import */ var
|
|
22985
|
-
/* harmony import */ var
|
|
22991
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
22992
|
+
/* harmony import */ var _command__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(84345);
|
|
22993
|
+
/* harmony import */ var _snapshot__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(58770);
|
|
22994
|
+
/* harmony import */ var _stack__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(66180);
|
|
22986
22995
|
/*!
|
|
22987
22996
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
22988
22997
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -22995,7 +23004,7 @@ var Command = /** @class */ (function () {
|
|
|
22995
23004
|
|
|
22996
23005
|
|
|
22997
23006
|
|
|
22998
|
-
|
|
23007
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.history = {
|
|
22999
23008
|
enable: true,
|
|
23000
23009
|
maxHistoryLength: Infinity,
|
|
23001
23010
|
timeout: 1000
|
|
@@ -23006,8 +23015,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.history = {
|
|
|
23006
23015
|
var History = /** @class */ (function (_super) {
|
|
23007
23016
|
(0,tslib__WEBPACK_IMPORTED_MODULE_6__/* .__extends */ .C6)(History, _super);
|
|
23008
23017
|
function History(editor, stack, snapshot) {
|
|
23009
|
-
if (stack === void 0) { stack = new
|
|
23010
|
-
if (snapshot === void 0) { snapshot = new
|
|
23018
|
+
if (stack === void 0) { stack = new _stack__WEBPACK_IMPORTED_MODULE_5__/* .Stack */ .B(editor.o.history.maxHistoryLength); }
|
|
23019
|
+
if (snapshot === void 0) { snapshot = new _snapshot__WEBPACK_IMPORTED_MODULE_4__/* .Snapshot */ .F(editor); }
|
|
23011
23020
|
var _this = _super.call(this, editor) || this;
|
|
23012
23021
|
_this.updateTick = 0;
|
|
23013
23022
|
_this.__stack = stack;
|
|
@@ -23122,8 +23131,8 @@ var History = /** @class */ (function (_super) {
|
|
|
23122
23131
|
History.prototype.updateStack = function (replace) {
|
|
23123
23132
|
if (replace === void 0) { replace = false; }
|
|
23124
23133
|
var newValue = this.snapshot.make();
|
|
23125
|
-
if (!
|
|
23126
|
-
var newCommand = new
|
|
23134
|
+
if (!_snapshot__WEBPACK_IMPORTED_MODULE_4__/* .Snapshot */ .F.equal(newValue, this.startValue)) {
|
|
23135
|
+
var newCommand = new _command__WEBPACK_IMPORTED_MODULE_3__/* .Command */ .u(this.startValue, newValue, this, this.updateTick);
|
|
23127
23136
|
if (replace) {
|
|
23128
23137
|
var command = this.__stack.current();
|
|
23129
23138
|
if (command && this.updateTick === command.tick) {
|
|
@@ -23475,11 +23484,11 @@ var Stack = /** @class */ (function () {
|
|
|
23475
23484
|
|
|
23476
23485
|
"use strict";
|
|
23477
23486
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
23478
|
-
/* harmony import */ var
|
|
23479
|
-
/* harmony import */ var
|
|
23480
|
-
/* harmony import */ var
|
|
23481
|
-
/* harmony import */ var
|
|
23482
|
-
/* harmony import */ var
|
|
23487
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
23488
|
+
/* harmony import */ var _icons_crop_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(928);
|
|
23489
|
+
/* harmony import */ var _icons_crop_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_icons_crop_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
23490
|
+
/* harmony import */ var _icons_resize_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(31230);
|
|
23491
|
+
/* harmony import */ var _icons_resize_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_resize_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
23483
23492
|
/*!
|
|
23484
23493
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
23485
23494
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -23489,7 +23498,7 @@ var Stack = /** @class */ (function () {
|
|
|
23489
23498
|
|
|
23490
23499
|
|
|
23491
23500
|
|
|
23492
|
-
|
|
23501
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.imageeditor = {
|
|
23493
23502
|
min_width: 20,
|
|
23494
23503
|
min_height: 20,
|
|
23495
23504
|
closeAfterSave: false,
|
|
@@ -23504,7 +23513,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.imageeditor
|
|
|
23504
23513
|
cropDefaultWidth: '70%',
|
|
23505
23514
|
cropDefaultHeight: '70%'
|
|
23506
23515
|
};
|
|
23507
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('crop', (
|
|
23516
|
+
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()));
|
|
23508
23517
|
|
|
23509
23518
|
|
|
23510
23519
|
/***/ }),
|
|
@@ -23523,9 +23532,9 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('crop', (_icon
|
|
|
23523
23532
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(71842);
|
|
23524
23533
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(65147);
|
|
23525
23534
|
/* harmony import */ var jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(35265);
|
|
23526
|
-
/* harmony import */ var
|
|
23527
|
-
/* harmony import */ var
|
|
23528
|
-
/* harmony import */ var
|
|
23535
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(36115);
|
|
23536
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(93027);
|
|
23537
|
+
/* harmony import */ var _templates_form__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(24863);
|
|
23529
23538
|
/*!
|
|
23530
23539
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
23531
23540
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -23764,7 +23773,7 @@ var ImageEditor = /** @class */ (function (_super) {
|
|
|
23764
23773
|
_this.options =
|
|
23765
23774
|
editor && editor.o && editor.o.imageeditor
|
|
23766
23775
|
? editor.o.imageeditor
|
|
23767
|
-
:
|
|
23776
|
+
: jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.defaultOptions.imageeditor;
|
|
23768
23777
|
var o = _this.options;
|
|
23769
23778
|
_this.resizeUseRatio = o.resizeUseRatio;
|
|
23770
23779
|
_this.cropUseRatio = o.cropUseRatio;
|
|
@@ -23774,7 +23783,7 @@ var ImageEditor = /** @class */ (function (_super) {
|
|
|
23774
23783
|
saveas: (0,jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_4__/* .Button */ .$n)(_this.j, 'save', 'Save as ...')
|
|
23775
23784
|
};
|
|
23776
23785
|
_this.activeTab = o.resize ? TABS.resize : TABS.crop;
|
|
23777
|
-
_this.editor = (0,
|
|
23786
|
+
_this.editor = (0,_templates_form__WEBPACK_IMPORTED_MODULE_7__/* .form */ .Z)(_this.j, _this.options);
|
|
23778
23787
|
var _a = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.refs)(_this.editor), resizeBox = _a.resizeBox, cropBox = _a.cropBox;
|
|
23779
23788
|
_this.resize_box = resizeBox;
|
|
23780
23789
|
_this.crop_box = cropBox;
|
|
@@ -25443,7 +25452,8 @@ var ToolbarButton = /** @class */ (function (_super) {
|
|
|
25443
25452
|
};
|
|
25444
25453
|
ToolbarButton.prototype.createContainer = function () {
|
|
25445
25454
|
var cn = this.componentName;
|
|
25446
|
-
var container = this.j.c.span(cn)
|
|
25455
|
+
var container = this.j.c.span(cn);
|
|
25456
|
+
var button = _super.prototype.createContainer.call(this);
|
|
25447
25457
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.attr)(container, 'role', 'listitem');
|
|
25448
25458
|
button.classList.remove(cn);
|
|
25449
25459
|
button.classList.add(cn + '__button');
|
|
@@ -25808,6 +25818,7 @@ var ToolbarContent = /** @class */ (function (_super) {
|
|
|
25808
25818
|
/* harmony export */ });
|
|
25809
25819
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(31635);
|
|
25810
25820
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(22664);
|
|
25821
|
+
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(25376);
|
|
25811
25822
|
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(98253);
|
|
25812
25823
|
/* harmony import */ var _button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3258);
|
|
25813
25824
|
/*!
|
|
@@ -25820,6 +25831,7 @@ var ToolbarContent = /** @class */ (function (_super) {
|
|
|
25820
25831
|
|
|
25821
25832
|
|
|
25822
25833
|
|
|
25834
|
+
|
|
25823
25835
|
var ToolbarSelect = /** @class */ (function (_super) {
|
|
25824
25836
|
(0,tslib__WEBPACK_IMPORTED_MODULE_2__/* .__extends */ .C6)(ToolbarSelect, _super);
|
|
25825
25837
|
function ToolbarSelect() {
|
|
@@ -25842,7 +25854,7 @@ var ToolbarSelect = /** @class */ (function (_super) {
|
|
|
25842
25854
|
var keys = Object.keys(list);
|
|
25843
25855
|
key = keys[0];
|
|
25844
25856
|
}
|
|
25845
|
-
var text = (list[key.toString()] || key).toString();
|
|
25857
|
+
var text = ((0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__/* .isPlainObject */ .Q)(list) ? list[key.toString()] || key : key).toString();
|
|
25846
25858
|
this.state.text =
|
|
25847
25859
|
(_c = (_b = (_a = this.control).textTemplate) === null || _b === void 0 ? void 0 : _b.call(_a, this.jodit, text)) !== null && _c !== void 0 ? _c : text;
|
|
25848
25860
|
}
|
|
@@ -26709,9 +26721,9 @@ function send(uploader, data) {
|
|
|
26709
26721
|
/* harmony import */ var jodit_core_component___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77753);
|
|
26710
26722
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(17352);
|
|
26711
26723
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65147);
|
|
26712
|
-
/* harmony import */ var
|
|
26713
|
-
/* harmony import */ var
|
|
26714
|
-
/* harmony import */ var
|
|
26724
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
26725
|
+
/* harmony import */ var jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(74340);
|
|
26726
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(77334);
|
|
26715
26727
|
/*!
|
|
26716
26728
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
26717
26729
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -26731,7 +26743,7 @@ var Uploader = /** @class */ (function (_super) {
|
|
|
26731
26743
|
var _this = _super.call(this, editor) || this;
|
|
26732
26744
|
_this.path = '';
|
|
26733
26745
|
_this.source = 'default';
|
|
26734
|
-
_this.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(options || {}, (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(
|
|
26746
|
+
_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 : {}));
|
|
26735
26747
|
return _this;
|
|
26736
26748
|
}
|
|
26737
26749
|
Object.defineProperty(Uploader.prototype, "j", {
|
|
@@ -26800,14 +26812,14 @@ var Uploader = /** @class */ (function (_super) {
|
|
|
26800
26812
|
}
|
|
26801
26813
|
};
|
|
26802
26814
|
// send data on server
|
|
26803
|
-
if (!jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && (0,
|
|
26804
|
-
(0,
|
|
26815
|
+
if (!jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && (0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(cData)) {
|
|
26816
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, cData.files, handlerSuccess, handlerError).finally(onFinally);
|
|
26805
26817
|
return false;
|
|
26806
26818
|
}
|
|
26807
26819
|
if (jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && !jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_ES_NEXT) {
|
|
26808
|
-
return (0,
|
|
26820
|
+
return (0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .processOldBrowserDrag */ .dT)(self, cData, handlerSuccess, handlerError, onFinally);
|
|
26809
26821
|
}
|
|
26810
|
-
if ((0,
|
|
26822
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasItems */ .Pb)(cData)) {
|
|
26811
26823
|
var items = cData.items;
|
|
26812
26824
|
for (i = 0; i < items.length; i += 1) {
|
|
26813
26825
|
if (items[i].kind === 'file' &&
|
|
@@ -26818,7 +26830,7 @@ var Uploader = /** @class */ (function (_super) {
|
|
|
26818
26830
|
extension = mime[1]
|
|
26819
26831
|
? mime[1].toLowerCase()
|
|
26820
26832
|
: '';
|
|
26821
|
-
(0,
|
|
26833
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, [file], handlerSuccess, handlerError, processData).finally(onFinally);
|
|
26822
26834
|
}
|
|
26823
26835
|
e.preventDefault();
|
|
26824
26836
|
break;
|
|
@@ -26841,30 +26853,30 @@ var Uploader = /** @class */ (function (_super) {
|
|
|
26841
26853
|
e.preventDefault();
|
|
26842
26854
|
})
|
|
26843
26855
|
.on(form, 'dragover', function (event) {
|
|
26844
|
-
if ((0,
|
|
26845
|
-
(0,
|
|
26856
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer) ||
|
|
26857
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasItems */ .Pb)(event.dataTransfer)) {
|
|
26846
26858
|
form.classList.add('jodit_drag_hover');
|
|
26847
26859
|
event.preventDefault();
|
|
26848
26860
|
}
|
|
26849
26861
|
})
|
|
26850
26862
|
.on(form, 'dragend dragleave', function (event) {
|
|
26851
26863
|
form.classList.remove('jodit_drag_hover');
|
|
26852
|
-
if ((0,
|
|
26864
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer)) {
|
|
26853
26865
|
event.preventDefault();
|
|
26854
26866
|
}
|
|
26855
26867
|
})
|
|
26856
26868
|
.on(form, 'drop', function (event) {
|
|
26857
26869
|
form.classList.remove('jodit_drag_hover');
|
|
26858
|
-
if ((0,
|
|
26870
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer)) {
|
|
26859
26871
|
event.preventDefault();
|
|
26860
26872
|
event.stopImmediatePropagation();
|
|
26861
|
-
(0,
|
|
26873
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, event.dataTransfer.files, handlerSuccess, handlerError).finally(onFinally);
|
|
26862
26874
|
}
|
|
26863
26875
|
});
|
|
26864
26876
|
var inputFile = form.querySelector('input[type=file]');
|
|
26865
26877
|
if (inputFile) {
|
|
26866
26878
|
self.j.e.on(inputFile, 'change', function () {
|
|
26867
|
-
(0,
|
|
26879
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, inputFile.files, handlerSuccess, handlerError)
|
|
26868
26880
|
.then(function () {
|
|
26869
26881
|
inputFile.value = '';
|
|
26870
26882
|
if (!/safari/i.test(navigator.userAgent)) {
|
|
@@ -26884,7 +26896,7 @@ var Uploader = /** @class */ (function (_super) {
|
|
|
26884
26896
|
var handlerE = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isFunction)(handlerError)
|
|
26885
26897
|
? handlerError
|
|
26886
26898
|
: o.defaultHandlerError;
|
|
26887
|
-
(0,
|
|
26899
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .send */ .tN)(uploader, {
|
|
26888
26900
|
action: 'fileUploadRemote',
|
|
26889
26901
|
url: url
|
|
26890
26902
|
})
|
|
@@ -26902,7 +26914,7 @@ var Uploader = /** @class */ (function (_super) {
|
|
|
26902
26914
|
};
|
|
26903
26915
|
Uploader.prototype.destruct = function () {
|
|
26904
26916
|
this.setStatus(jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .STATUSES */ .f.beforeDestruct);
|
|
26905
|
-
var instances =
|
|
26917
|
+
var instances = jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .ajaxInstances */ .$j.get(this);
|
|
26906
26918
|
if (instances) {
|
|
26907
26919
|
instances.forEach(function (ajax) {
|
|
26908
26920
|
try {
|
|
@@ -27337,9 +27349,9 @@ var TabsWidget = function (jodit, tabs, state) {
|
|
|
27337
27349
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
27338
27350
|
/* harmony import */ var jodit_core_helpers___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65147);
|
|
27339
27351
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(931);
|
|
27340
|
-
/* harmony import */ var
|
|
27341
|
-
/* harmony import */ var
|
|
27342
|
-
/* harmony import */ var
|
|
27352
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
27353
|
+
/* harmony import */ var _about_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(17995);
|
|
27354
|
+
/* harmony import */ var _about_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_about_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
27343
27355
|
/*!
|
|
27344
27356
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27345
27357
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27353,7 +27365,7 @@ var TabsWidget = function (jodit, tabs, state) {
|
|
|
27353
27365
|
|
|
27354
27366
|
|
|
27355
27367
|
|
|
27356
|
-
|
|
27368
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.about = {
|
|
27357
27369
|
exec: function (editor) {
|
|
27358
27370
|
var dialog = editor.dlg({ closeOnClickOverlay: true }), i = editor.i18n.bind(editor);
|
|
27359
27371
|
dialog
|
|
@@ -27378,7 +27390,7 @@ function about(editor) {
|
|
|
27378
27390
|
});
|
|
27379
27391
|
}
|
|
27380
27392
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('about', about);
|
|
27381
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('about', (
|
|
27393
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('about', (_about_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
27382
27394
|
|
|
27383
27395
|
|
|
27384
27396
|
/***/ }),
|
|
@@ -27628,9 +27640,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('addNe
|
|
|
27628
27640
|
|
|
27629
27641
|
"use strict";
|
|
27630
27642
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
27631
|
-
/* harmony import */ var
|
|
27632
|
-
/* harmony import */ var
|
|
27633
|
-
/* harmony import */ var
|
|
27643
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
27644
|
+
/* harmony import */ var _enter_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(86634);
|
|
27645
|
+
/* harmony import */ var _enter_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_enter_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
27634
27646
|
/*!
|
|
27635
27647
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27636
27648
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27639,9 +27651,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('addNe
|
|
|
27639
27651
|
|
|
27640
27652
|
|
|
27641
27653
|
|
|
27642
|
-
|
|
27643
|
-
|
|
27644
|
-
|
|
27654
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLine = true;
|
|
27655
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineOnDBLClick = true;
|
|
27656
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineTagsTriggers = [
|
|
27645
27657
|
'table',
|
|
27646
27658
|
'iframe',
|
|
27647
27659
|
'img',
|
|
@@ -27649,8 +27661,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.addNewLineTa
|
|
|
27649
27661
|
'pre',
|
|
27650
27662
|
'jodit'
|
|
27651
27663
|
];
|
|
27652
|
-
|
|
27653
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (
|
|
27664
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineDeltaShow = 20;
|
|
27665
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (_enter_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
27654
27666
|
|
|
27655
27667
|
|
|
27656
27668
|
/***/ }),
|
|
@@ -27812,11 +27824,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('ai-as
|
|
|
27812
27824
|
|
|
27813
27825
|
"use strict";
|
|
27814
27826
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
27815
|
-
/* harmony import */ var
|
|
27816
|
-
/* harmony import */ var
|
|
27817
|
-
/* harmony import */ var
|
|
27818
|
-
/* harmony import */ var
|
|
27819
|
-
/* harmony import */ var
|
|
27827
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
27828
|
+
/* harmony import */ var _ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91115);
|
|
27829
|
+
/* harmony import */ var _ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
27830
|
+
/* harmony import */ var _chat_bot_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1916);
|
|
27831
|
+
/* harmony import */ var _chat_bot_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_chat_bot_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
27820
27832
|
/*!
|
|
27821
27833
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27822
27834
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27857,10 +27869,10 @@ var aiAssistantDefaults = {
|
|
|
27857
27869
|
aiTranslateToRussianPrompt: 'Translate this content into Russian, ensuring the translation is accurate and maintains the original meaning.',
|
|
27858
27870
|
aiTranslateToArabicPrompt: 'Translate this content into Arabic, ensuring the translation is accurate and maintains the original meaning.'
|
|
27859
27871
|
};
|
|
27860
|
-
|
|
27861
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-assistant', (
|
|
27862
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-commands', (
|
|
27863
|
-
|
|
27872
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.aiAssistant = aiAssistantDefaults;
|
|
27873
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-assistant', (_chat_bot_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
27874
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-commands', (_ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
27875
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls['ai-commands'] = {
|
|
27864
27876
|
isDisabled: function (editor) {
|
|
27865
27877
|
return !editor.o.aiAssistant.aiAssistantCallback;
|
|
27866
27878
|
},
|
|
@@ -27899,7 +27911,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls['ai
|
|
|
27899
27911
|
editor.e.fire('generateAiAssistantForm.ai-assistant', control.name);
|
|
27900
27912
|
}
|
|
27901
27913
|
};
|
|
27902
|
-
|
|
27914
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls['ai-assistant'] = {
|
|
27903
27915
|
isDisabled: function (editor) {
|
|
27904
27916
|
return !editor.o.aiAssistant.aiAssistantCallback;
|
|
27905
27917
|
},
|
|
@@ -28545,6 +28557,10 @@ function checkRemoveChar(jodit, fakeNode, backspace, mode) {
|
|
|
28545
28557
|
}
|
|
28546
28558
|
if ((_a = sibling.nodeValue) === null || _a === void 0 ? void 0 : _a.length) {
|
|
28547
28559
|
removed = tryRemoveChar(sibling, backspace, step, anotherSibling);
|
|
28560
|
+
if (!sibling.nodeValue.length &&
|
|
28561
|
+
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.isInlineBlock(sibling.parentNode)) {
|
|
28562
|
+
sibling.nodeValue = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INVISIBLE_SPACE;
|
|
28563
|
+
}
|
|
28548
28564
|
}
|
|
28549
28565
|
if (!((_b = sibling.nodeValue) === null || _b === void 0 ? void 0 : _b.length)) {
|
|
28550
28566
|
removeNeighbor = sibling;
|
|
@@ -29105,20 +29121,20 @@ function getMoveFilter(jodit) {
|
|
|
29105
29121
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(56298);
|
|
29106
29122
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65147);
|
|
29107
29123
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(931);
|
|
29108
|
-
/* harmony import */ var
|
|
29109
|
-
/* harmony import */ var
|
|
29110
|
-
/* harmony import */ var
|
|
29111
|
-
/* harmony import */ var
|
|
29112
|
-
/* harmony import */ var
|
|
29113
|
-
/* harmony import */ var
|
|
29114
|
-
/* harmony import */ var
|
|
29115
|
-
/* harmony import */ var
|
|
29116
|
-
/* harmony import */ var
|
|
29117
|
-
/* harmony import */ var
|
|
29118
|
-
/* harmony import */ var
|
|
29119
|
-
/* harmony import */ var
|
|
29120
|
-
/* harmony import */ var
|
|
29121
|
-
/* harmony import */ var
|
|
29124
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
29125
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(73124);
|
|
29126
|
+
/* harmony import */ var _icons_bold_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(52450);
|
|
29127
|
+
/* harmony import */ var _icons_bold_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_bold_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
29128
|
+
/* harmony import */ var _icons_italic_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(41111);
|
|
29129
|
+
/* harmony import */ var _icons_italic_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_icons_italic_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
29130
|
+
/* harmony import */ var _icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(49972);
|
|
29131
|
+
/* harmony import */ var _icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7__);
|
|
29132
|
+
/* harmony import */ var _icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(45062);
|
|
29133
|
+
/* harmony import */ var _icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8__);
|
|
29134
|
+
/* harmony import */ var _icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(18605);
|
|
29135
|
+
/* harmony import */ var _icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9__);
|
|
29136
|
+
/* harmony import */ var _icons_underline_svg__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(83389);
|
|
29137
|
+
/* harmony import */ var _icons_underline_svg__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_icons_underline_svg__WEBPACK_IMPORTED_MODULE_10__);
|
|
29122
29138
|
/*!
|
|
29123
29139
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
29124
29140
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -29142,7 +29158,7 @@ function getMoveFilter(jodit) {
|
|
|
29142
29158
|
*/
|
|
29143
29159
|
function bold(editor) {
|
|
29144
29160
|
var callBack = function (command) {
|
|
29145
|
-
var control =
|
|
29161
|
+
var control = jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.defaultOptions.controls[command], cssOptions = (0,tslib__WEBPACK_IMPORTED_MODULE_11__/* .__assign */ .Cl)({}, control.css);
|
|
29146
29162
|
var cssRules;
|
|
29147
29163
|
Object.keys(cssOptions).forEach(function (key) {
|
|
29148
29164
|
if (!cssRules) {
|
|
@@ -29194,12 +29210,12 @@ function bold(editor) {
|
|
|
29194
29210
|
});
|
|
29195
29211
|
}
|
|
29196
29212
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('bold', bold);
|
|
29197
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('bold', (
|
|
29198
|
-
.set('italic', (
|
|
29199
|
-
.set('strikethrough', (
|
|
29200
|
-
.set('subscript', (
|
|
29201
|
-
.set('superscript', (
|
|
29202
|
-
.set('underline', (
|
|
29213
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('bold', (_icons_bold_svg__WEBPACK_IMPORTED_MODULE_5___default()))
|
|
29214
|
+
.set('italic', (_icons_italic_svg__WEBPACK_IMPORTED_MODULE_6___default()))
|
|
29215
|
+
.set('strikethrough', (_icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7___default()))
|
|
29216
|
+
.set('subscript', (_icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8___default()))
|
|
29217
|
+
.set('superscript', (_icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9___default()))
|
|
29218
|
+
.set('underline', (_icons_underline_svg__WEBPACK_IMPORTED_MODULE_10___default()));
|
|
29203
29219
|
|
|
29204
29220
|
|
|
29205
29221
|
/***/ }),
|
|
@@ -29270,9 +29286,9 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.controls.str
|
|
|
29270
29286
|
/* harmony import */ var jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(84976);
|
|
29271
29287
|
/* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(71005);
|
|
29272
29288
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(931);
|
|
29273
|
-
/* harmony import */ var
|
|
29274
|
-
/* harmony import */ var
|
|
29275
|
-
/* harmony import */ var
|
|
29289
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(36115);
|
|
29290
|
+
/* harmony import */ var _class_span_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(93267);
|
|
29291
|
+
/* harmony import */ var _class_span_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_class_span_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
29276
29292
|
/*!
|
|
29277
29293
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
29278
29294
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -29286,7 +29302,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.controls.str
|
|
|
29286
29302
|
|
|
29287
29303
|
|
|
29288
29304
|
|
|
29289
|
-
|
|
29305
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.classSpan = {
|
|
29290
29306
|
command: 'applyClassName',
|
|
29291
29307
|
exec: jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_2__/* .memorizeExec */ .qN,
|
|
29292
29308
|
list: [
|
|
@@ -29381,7 +29397,7 @@ var classSpan = /** @class */ (function (_super) {
|
|
|
29381
29397
|
}(jodit_core_plugin__WEBPACK_IMPORTED_MODULE_3__/* .Plugin */ .k));
|
|
29382
29398
|
|
|
29383
29399
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('classSpan', classSpan);
|
|
29384
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('class-span', (
|
|
29400
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('class-span', (_class_span_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
29385
29401
|
|
|
29386
29402
|
|
|
29387
29403
|
/***/ }),
|
|
@@ -29531,9 +29547,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('clean
|
|
|
29531
29547
|
|
|
29532
29548
|
"use strict";
|
|
29533
29549
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
29534
|
-
/* harmony import */ var
|
|
29535
|
-
/* harmony import */ var
|
|
29536
|
-
/* harmony import */ var
|
|
29550
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
29551
|
+
/* harmony import */ var _eraser_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(71948);
|
|
29552
|
+
/* harmony import */ var _eraser_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_eraser_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
29537
29553
|
/*!
|
|
29538
29554
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
29539
29555
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -29542,7 +29558,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('clean
|
|
|
29542
29558
|
|
|
29543
29559
|
|
|
29544
29560
|
|
|
29545
|
-
|
|
29561
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.cleanHTML = {
|
|
29546
29562
|
timeout: 300,
|
|
29547
29563
|
removeEmptyElements: true,
|
|
29548
29564
|
fillEmptyParagraph: true,
|
|
@@ -29558,11 +29574,11 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.cleanHTML =
|
|
|
29558
29574
|
safeJavaScriptLink: true,
|
|
29559
29575
|
disableCleanFilter: null
|
|
29560
29576
|
};
|
|
29561
|
-
|
|
29577
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.eraser = {
|
|
29562
29578
|
command: 'removeFormat',
|
|
29563
29579
|
tooltip: 'Clear Formatting'
|
|
29564
29580
|
};
|
|
29565
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('eraser', (
|
|
29581
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('eraser', (_eraser_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
29566
29582
|
|
|
29567
29583
|
|
|
29568
29584
|
/***/ }),
|
|
@@ -30246,15 +30262,15 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('clipb
|
|
|
30246
30262
|
|
|
30247
30263
|
"use strict";
|
|
30248
30264
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
30249
|
-
/* harmony import */ var
|
|
30250
|
-
/* harmony import */ var
|
|
30251
|
-
/* harmony import */ var
|
|
30252
|
-
/* harmony import */ var
|
|
30253
|
-
/* harmony import */ var
|
|
30254
|
-
/* harmony import */ var
|
|
30255
|
-
/* harmony import */ var
|
|
30256
|
-
/* harmony import */ var
|
|
30257
|
-
/* harmony import */ var
|
|
30265
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
30266
|
+
/* harmony import */ var _icons_copy_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(51457);
|
|
30267
|
+
/* harmony import */ var _icons_copy_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_icons_copy_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
30268
|
+
/* harmony import */ var _icons_cut_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(23602);
|
|
30269
|
+
/* harmony import */ var _icons_cut_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_cut_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
30270
|
+
/* harmony import */ var _icons_paste_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(86899);
|
|
30271
|
+
/* harmony import */ var _icons_paste_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_paste_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
30272
|
+
/* harmony import */ var _icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(95320);
|
|
30273
|
+
/* harmony import */ var _icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
30258
30274
|
/*!
|
|
30259
30275
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30260
30276
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30266,25 +30282,25 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('clipb
|
|
|
30266
30282
|
|
|
30267
30283
|
|
|
30268
30284
|
|
|
30269
|
-
|
|
30285
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.cut = {
|
|
30270
30286
|
command: 'cut',
|
|
30271
30287
|
isDisabled: function (editor) { return editor.s.isCollapsed(); },
|
|
30272
30288
|
tooltip: 'Cut selection'
|
|
30273
30289
|
};
|
|
30274
|
-
|
|
30290
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.copy = {
|
|
30275
30291
|
command: 'copy',
|
|
30276
30292
|
isDisabled: function (editor) { return editor.s.isCollapsed(); },
|
|
30277
30293
|
tooltip: 'Copy selection'
|
|
30278
30294
|
};
|
|
30279
|
-
|
|
30295
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.selectall = {
|
|
30280
30296
|
icon: 'select-all',
|
|
30281
30297
|
command: 'selectall',
|
|
30282
30298
|
tooltip: 'Select all'
|
|
30283
30299
|
};
|
|
30284
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('copy', (
|
|
30285
|
-
.set('cut', (
|
|
30286
|
-
.set('paste', (
|
|
30287
|
-
.set('select-all', (
|
|
30300
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('copy', (_icons_copy_svg__WEBPACK_IMPORTED_MODULE_2___default()))
|
|
30301
|
+
.set('cut', (_icons_cut_svg__WEBPACK_IMPORTED_MODULE_3___default()))
|
|
30302
|
+
.set('paste', (_icons_paste_svg__WEBPACK_IMPORTED_MODULE_4___default()))
|
|
30303
|
+
.set('select-all', (_icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
30288
30304
|
|
|
30289
30305
|
|
|
30290
30306
|
/***/ }),
|
|
@@ -30356,10 +30372,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('color
|
|
|
30356
30372
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55186);
|
|
30357
30373
|
/* harmony import */ var jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65147);
|
|
30358
30374
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(931);
|
|
30359
|
-
/* harmony import */ var
|
|
30360
|
-
/* harmony import */ var
|
|
30361
|
-
/* harmony import */ var
|
|
30362
|
-
/* harmony import */ var
|
|
30375
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
30376
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(16116);
|
|
30377
|
+
/* harmony import */ var _brush_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(45674);
|
|
30378
|
+
/* harmony import */ var _brush_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_brush_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
30363
30379
|
/*!
|
|
30364
30380
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30365
30381
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30371,8 +30387,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('color
|
|
|
30371
30387
|
|
|
30372
30388
|
|
|
30373
30389
|
|
|
30374
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('brush', (
|
|
30375
|
-
|
|
30390
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('brush', (_brush_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
30391
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.brushCell = {
|
|
30376
30392
|
isVisible: function (editor) {
|
|
30377
30393
|
return !editor.o.disablePlugins.includes('color');
|
|
30378
30394
|
},
|
|
@@ -30386,7 +30402,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
30386
30402
|
return false;
|
|
30387
30403
|
}
|
|
30388
30404
|
var makeColorPicker = function (key) {
|
|
30389
|
-
return (0,
|
|
30405
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, function (value) {
|
|
30390
30406
|
selected.forEach(function (cell) {
|
|
30391
30407
|
(0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.css)(cell, key, value);
|
|
30392
30408
|
});
|
|
@@ -30396,7 +30412,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
30396
30412
|
editor.unlock();
|
|
30397
30413
|
}, (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.css)(selected[0], key));
|
|
30398
30414
|
};
|
|
30399
|
-
return (0,
|
|
30415
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .TabsWidget */ .Zg)(editor, [
|
|
30400
30416
|
{
|
|
30401
30417
|
name: 'Background',
|
|
30402
30418
|
content: makeColorPicker('background-color')
|
|
@@ -30407,7 +30423,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
30407
30423
|
},
|
|
30408
30424
|
tooltip: 'Background'
|
|
30409
30425
|
};
|
|
30410
|
-
|
|
30426
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.brush = {
|
|
30411
30427
|
isVisible: function (editor) {
|
|
30412
30428
|
return !editor.o.disablePlugins.includes('color');
|
|
30413
30429
|
},
|
|
@@ -30455,7 +30471,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
30455
30471
|
}
|
|
30456
30472
|
}, editor.editor);
|
|
30457
30473
|
}
|
|
30458
|
-
var backgroundTag = (0,
|
|
30474
|
+
var backgroundTag = (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, function (value) {
|
|
30459
30475
|
if (!currentElement) {
|
|
30460
30476
|
editor.execCommand('background', false, value);
|
|
30461
30477
|
}
|
|
@@ -30466,7 +30482,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
30466
30482
|
(0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.dataBind)(button, 'color-mode', 'background');
|
|
30467
30483
|
close();
|
|
30468
30484
|
}, bg_color);
|
|
30469
|
-
var colorTab = (0,
|
|
30485
|
+
var colorTab = (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, function (value) {
|
|
30470
30486
|
if (!currentElement) {
|
|
30471
30487
|
editor.execCommand('forecolor', false, value);
|
|
30472
30488
|
}
|
|
@@ -30490,7 +30506,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
30490
30506
|
if (editor.o.colorPickerDefaultTab !== 'background') {
|
|
30491
30507
|
tabs = tabs.reverse();
|
|
30492
30508
|
}
|
|
30493
|
-
return (0,
|
|
30509
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .TabsWidget */ .Zg)(editor, tabs, currentElement);
|
|
30494
30510
|
},
|
|
30495
30511
|
exec: function (jodit, current, _a) {
|
|
30496
30512
|
var button = _a.button;
|
|
@@ -30530,10 +30546,10 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
30530
30546
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
30531
30547
|
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38322);
|
|
30532
30548
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(931);
|
|
30533
|
-
/* harmony import */ var
|
|
30534
|
-
/* harmony import */ var
|
|
30535
|
-
/* harmony import */ var
|
|
30536
|
-
/* harmony import */ var
|
|
30549
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
30550
|
+
/* harmony import */ var _copy_format_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(3843);
|
|
30551
|
+
/* harmony import */ var _copy_format_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_copy_format_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
30552
|
+
/* harmony import */ var _langs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(94628);
|
|
30537
30553
|
/*!
|
|
30538
30554
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30539
30555
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30591,7 +30607,7 @@ var getStyles = function (editor, box, defaultStyles) {
|
|
|
30591
30607
|
}
|
|
30592
30608
|
return result;
|
|
30593
30609
|
};
|
|
30594
|
-
|
|
30610
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.copyformat = {
|
|
30595
30611
|
exec: function (editor, current, _a) {
|
|
30596
30612
|
var button = _a.button;
|
|
30597
30613
|
if (!current) {
|
|
@@ -30642,10 +30658,10 @@ function copyFormat(editor) {
|
|
|
30642
30658
|
name: 'copyformat',
|
|
30643
30659
|
group: 'clipboard'
|
|
30644
30660
|
});
|
|
30645
|
-
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .extendLang */ .JW)(
|
|
30661
|
+
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .extendLang */ .JW)(_langs__WEBPACK_IMPORTED_MODULE_5__);
|
|
30646
30662
|
}
|
|
30647
30663
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('copyformat', copyFormat);
|
|
30648
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('copyformat', (
|
|
30664
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('copyformat', (_copy_format_svg__WEBPACK_IMPORTED_MODULE_4___default()));
|
|
30649
30665
|
|
|
30650
30666
|
|
|
30651
30667
|
/***/ }),
|
|
@@ -32493,8 +32509,8 @@ function wrapText(fake, jodit) {
|
|
|
32493
32509
|
/* unused harmony export file */
|
|
32494
32510
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55186);
|
|
32495
32511
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
32496
|
-
/* harmony import */ var
|
|
32497
|
-
/* harmony import */ var
|
|
32512
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
32513
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(16116);
|
|
32498
32514
|
/*!
|
|
32499
32515
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
32500
32516
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -32504,7 +32520,7 @@ function wrapText(fake, jodit) {
|
|
|
32504
32520
|
|
|
32505
32521
|
|
|
32506
32522
|
|
|
32507
|
-
|
|
32523
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.file = {
|
|
32508
32524
|
popup: function (editor, current, close) {
|
|
32509
32525
|
var insert = function (url, title) {
|
|
32510
32526
|
if (title === void 0) { title = ''; }
|
|
@@ -32518,7 +32534,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fil
|
|
|
32518
32534
|
? current
|
|
32519
32535
|
: jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor);
|
|
32520
32536
|
}
|
|
32521
|
-
return (0,
|
|
32537
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_3__/* .FileSelectorWidget */ .kG)(editor, {
|
|
32522
32538
|
filebrowser: function (data) {
|
|
32523
32539
|
data.files &&
|
|
32524
32540
|
data.files.forEach(function (file) { return insert(data.baseurl + file); });
|
|
@@ -32644,11 +32660,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('focus
|
|
|
32644
32660
|
/* harmony import */ var jodit_core_helpers_string_trim__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(59101);
|
|
32645
32661
|
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38322);
|
|
32646
32662
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(931);
|
|
32647
|
-
/* harmony import */ var
|
|
32648
|
-
/* harmony import */ var
|
|
32649
|
-
/* harmony import */ var
|
|
32650
|
-
/* harmony import */ var
|
|
32651
|
-
/* harmony import */ var
|
|
32663
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
32664
|
+
/* harmony import */ var _icons_font_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(48842);
|
|
32665
|
+
/* harmony import */ var _icons_font_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_font_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
32666
|
+
/* harmony import */ var _icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(25501);
|
|
32667
|
+
/* harmony import */ var _icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
32652
32668
|
/*!
|
|
32653
32669
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
32654
32670
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -32665,9 +32681,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('focus
|
|
|
32665
32681
|
/**
|
|
32666
32682
|
* Default font-size points
|
|
32667
32683
|
*/
|
|
32668
|
-
|
|
32669
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('font', (
|
|
32670
|
-
|
|
32684
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.defaultFontSizePoints = 'px';
|
|
32685
|
+
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()));
|
|
32686
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fontsize = {
|
|
32671
32687
|
command: 'fontsize',
|
|
32672
32688
|
data: {
|
|
32673
32689
|
cssRule: 'font-size',
|
|
@@ -32726,7 +32742,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.fon
|
|
|
32726
32742
|
return keySet.has(normalize(value.toString()));
|
|
32727
32743
|
}
|
|
32728
32744
|
};
|
|
32729
|
-
|
|
32745
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.font = (0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__assign */ .Cl)((0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__assign */ .Cl)({}, jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fontsize), { command: 'fontname', textTemplate: function (j, value) {
|
|
32730
32746
|
var _a = (0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__read */ .zs)(value.split(','), 1), first = _a[0];
|
|
32731
32747
|
return (0,jodit_core_helpers_string_trim__WEBPACK_IMPORTED_MODULE_1__/* .trimChars */ .Gd)(first, '"\'');
|
|
32732
32748
|
}, list: {
|
|
@@ -32829,11 +32845,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('font'
|
|
|
32829
32845
|
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
32830
32846
|
|
|
32831
32847
|
"use strict";
|
|
32832
|
-
/* harmony import */ var
|
|
32848
|
+
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55186);
|
|
32849
|
+
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(25376);
|
|
32833
32850
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(931);
|
|
32834
|
-
/* harmony import */ var
|
|
32835
|
-
/* harmony import */ var
|
|
32836
|
-
/* harmony import */ var
|
|
32851
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
32852
|
+
/* harmony import */ var _paragraph_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(29348);
|
|
32853
|
+
/* harmony import */ var _paragraph_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_paragraph_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
32837
32854
|
/*!
|
|
32838
32855
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
32839
32856
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -32843,13 +32860,14 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('font'
|
|
|
32843
32860
|
|
|
32844
32861
|
|
|
32845
32862
|
|
|
32846
|
-
|
|
32847
|
-
|
|
32863
|
+
|
|
32864
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('paragraph', (_paragraph_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
32865
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.paragraph = {
|
|
32848
32866
|
command: 'formatBlock',
|
|
32849
32867
|
value: function (editor, button) {
|
|
32850
32868
|
var _a, _b;
|
|
32851
32869
|
var control = button.control, current = editor.s.current();
|
|
32852
|
-
var currentBox =
|
|
32870
|
+
var 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);
|
|
32853
32871
|
return (_a = currentBox === null || currentBox === void 0 ? void 0 : currentBox.nodeName.toLowerCase()) !== null && _a !== void 0 ? _a : (_b = control.data) === null || _b === void 0 ? void 0 : _b.currentValue;
|
|
32854
32872
|
},
|
|
32855
32873
|
update: function (editor, button) {
|
|
@@ -32858,7 +32876,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.par
|
|
|
32858
32876
|
return false;
|
|
32859
32877
|
}
|
|
32860
32878
|
var currentValue = button.state.value, list = control.list;
|
|
32861
|
-
if (list && list[currentValue.toString()]) {
|
|
32879
|
+
if ((0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__/* .isPlainObject */ .Q)(list) && list[currentValue.toString()]) {
|
|
32862
32880
|
if (editor.o.textIcons) {
|
|
32863
32881
|
button.state.text = list[currentValue.toString()].toString();
|
|
32864
32882
|
}
|
|
@@ -32882,9 +32900,9 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.par
|
|
|
32882
32900
|
return Boolean(button.state.value === ((_b = (_a = button.control) === null || _a === void 0 ? void 0 : _a.args) === null || _b === void 0 ? void 0 : _b[0]));
|
|
32883
32901
|
},
|
|
32884
32902
|
isActive: function (editor, button) {
|
|
32885
|
-
var _a;
|
|
32886
32903
|
return (button.state.value !== editor.o.enter &&
|
|
32887
|
-
|
|
32904
|
+
(0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__/* .isPlainObject */ .Q)(button.control.list) &&
|
|
32905
|
+
Boolean(button.control.list[button.state.value]));
|
|
32888
32906
|
},
|
|
32889
32907
|
childTemplate: function (e, key, value) {
|
|
32890
32908
|
return "<".concat(key, " style=\"margin:0;padding:0\"><span>").concat(e.i18n(value), "</span></").concat(key, ">");
|
|
@@ -32936,11 +32954,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('forma
|
|
|
32936
32954
|
"use strict";
|
|
32937
32955
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17352);
|
|
32938
32956
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(931);
|
|
32939
|
-
/* harmony import */ var
|
|
32940
|
-
/* harmony import */ var
|
|
32941
|
-
/* harmony import */ var
|
|
32942
|
-
/* harmony import */ var
|
|
32943
|
-
/* harmony import */ var
|
|
32957
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
32958
|
+
/* harmony import */ var _icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(24772);
|
|
32959
|
+
/* harmony import */ var _icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
32960
|
+
/* harmony import */ var _icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(66547);
|
|
32961
|
+
/* harmony import */ var _icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
32944
32962
|
/*!
|
|
32945
32963
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
32946
32964
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -32952,10 +32970,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('forma
|
|
|
32952
32970
|
|
|
32953
32971
|
|
|
32954
32972
|
|
|
32955
|
-
|
|
32956
|
-
|
|
32957
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('fullsize', (
|
|
32958
|
-
|
|
32973
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.fullsize = false;
|
|
32974
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.globalFullSize = true;
|
|
32975
|
+
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()));
|
|
32976
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.fullsize = {
|
|
32959
32977
|
exec: function (editor) {
|
|
32960
32978
|
editor.toggleFullSize();
|
|
32961
32979
|
},
|
|
@@ -33096,19 +33114,6 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('fulls
|
|
|
33096
33114
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
33097
33115
|
*/
|
|
33098
33116
|
|
|
33099
|
-
/**
|
|
33100
|
-
* You can redefine hotkeys for some command
|
|
33101
|
-
*
|
|
33102
|
-
* @example
|
|
33103
|
-
* ```js
|
|
33104
|
-
* var jodit = Jodit.make('#editor', {
|
|
33105
|
-
* commandToHotkeys: {
|
|
33106
|
-
* bold: 'ctrl+shift+b',
|
|
33107
|
-
* italic: ['ctrl+i', 'ctrl+b'],
|
|
33108
|
-
* }
|
|
33109
|
-
* })
|
|
33110
|
-
* ```
|
|
33111
|
-
*/
|
|
33112
33117
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.commandToHotkeys = {
|
|
33113
33118
|
removeFormat: ['ctrl+shift+m', 'cmd+shift+m'],
|
|
33114
33119
|
insertOrderedList: ['ctrl+shift+7', 'cmd+shift+7'],
|
|
@@ -33290,9 +33295,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('hotke
|
|
|
33290
33295
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(71842);
|
|
33291
33296
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
33292
33297
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(931);
|
|
33293
|
-
/* harmony import */ var
|
|
33294
|
-
/* harmony import */ var
|
|
33295
|
-
/* harmony import */ var
|
|
33298
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
33299
|
+
/* harmony import */ var _hr_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(89097);
|
|
33300
|
+
/* harmony import */ var _hr_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_hr_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
33296
33301
|
/*!
|
|
33297
33302
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
33298
33303
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -33303,8 +33308,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('hotke
|
|
|
33303
33308
|
|
|
33304
33309
|
|
|
33305
33310
|
|
|
33306
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('hr', (
|
|
33307
|
-
|
|
33311
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('hr', (_hr_svg__WEBPACK_IMPORTED_MODULE_4___default()));
|
|
33312
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.hr = {
|
|
33308
33313
|
command: 'insertHorizontalRule',
|
|
33309
33314
|
tags: ['hr'],
|
|
33310
33315
|
tooltip: 'Insert Horizontal Line'
|
|
@@ -33824,6 +33829,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('image
|
|
|
33824
33829
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
33825
33830
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
33826
33831
|
*/
|
|
33832
|
+
/**
|
|
33833
|
+
* @module plugins/image-properties
|
|
33834
|
+
*/
|
|
33827
33835
|
|
|
33828
33836
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.image = {
|
|
33829
33837
|
dialogWidth: 600,
|
|
@@ -35346,10 +35354,10 @@ function applySize(image, imageWidth, imageHeight, sizeIsLocked) {
|
|
|
35346
35354
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
35347
35355
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65147);
|
|
35348
35356
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(931);
|
|
35349
|
-
/* harmony import */ var
|
|
35350
|
-
/* harmony import */ var
|
|
35351
|
-
/* harmony import */ var
|
|
35352
|
-
/* harmony import */ var
|
|
35357
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
35358
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(16116);
|
|
35359
|
+
/* harmony import */ var _image_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(64831);
|
|
35360
|
+
/* harmony import */ var _image_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_image_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
35353
35361
|
/*!
|
|
35354
35362
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
35355
35363
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -35363,8 +35371,8 @@ function applySize(image, imageWidth, imageHeight, sizeIsLocked) {
|
|
|
35363
35371
|
|
|
35364
35372
|
|
|
35365
35373
|
|
|
35366
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('image', (
|
|
35367
|
-
|
|
35374
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('image', (_image_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
35375
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.image = {
|
|
35368
35376
|
popup: function (editor, current, close) {
|
|
35369
35377
|
var sourceImage = null;
|
|
35370
35378
|
if (current &&
|
|
@@ -35376,7 +35384,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.prototype.controls.ima
|
|
|
35376
35384
|
: (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.$$)('img', current)[0];
|
|
35377
35385
|
}
|
|
35378
35386
|
editor.s.save();
|
|
35379
|
-
return (0,
|
|
35387
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__/* .FileSelectorWidget */ .kG)(editor, {
|
|
35380
35388
|
filebrowser: function (data) {
|
|
35381
35389
|
editor.s.restore();
|
|
35382
35390
|
data.files &&
|
|
@@ -35431,12 +35439,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('image
|
|
|
35431
35439
|
"use strict";
|
|
35432
35440
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(71842);
|
|
35433
35441
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(931);
|
|
35434
|
-
/* harmony import */ var
|
|
35435
|
-
/* harmony import */ var
|
|
35436
|
-
/* harmony import */ var
|
|
35437
|
-
/* harmony import */ var
|
|
35438
|
-
/* harmony import */ var
|
|
35439
|
-
/* harmony import */ var
|
|
35442
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
35443
|
+
/* harmony import */ var _icons_indent_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(67176);
|
|
35444
|
+
/* harmony import */ var _icons_indent_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_indent_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
35445
|
+
/* harmony import */ var _icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(14017);
|
|
35446
|
+
/* harmony import */ var _icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
35447
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(3392);
|
|
35440
35448
|
/*!
|
|
35441
35449
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
35442
35450
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -35448,17 +35456,17 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('image
|
|
|
35448
35456
|
|
|
35449
35457
|
|
|
35450
35458
|
|
|
35451
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('indent', (
|
|
35452
|
-
|
|
35459
|
+
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()));
|
|
35460
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.indent = {
|
|
35453
35461
|
tooltip: 'Increase Indent'
|
|
35454
35462
|
};
|
|
35455
|
-
|
|
35463
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.outdent = {
|
|
35456
35464
|
isDisabled: function (editor) {
|
|
35457
35465
|
var current = editor.s.current();
|
|
35458
35466
|
if (current) {
|
|
35459
35467
|
var currentBox = jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.isBlock, editor.editor);
|
|
35460
35468
|
if (currentBox) {
|
|
35461
|
-
var arrow = (0,
|
|
35469
|
+
var arrow = (0,_helpers__WEBPACK_IMPORTED_MODULE_5__/* .getKey */ .i)(editor.o.direction, currentBox);
|
|
35462
35470
|
return (!currentBox.style[arrow] ||
|
|
35463
35471
|
parseInt(currentBox.style[arrow], 10) <= 0);
|
|
35464
35472
|
}
|
|
@@ -35467,7 +35475,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.out
|
|
|
35467
35475
|
},
|
|
35468
35476
|
tooltip: 'Decrease Indent'
|
|
35469
35477
|
};
|
|
35470
|
-
|
|
35478
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.indentMargin = 10;
|
|
35471
35479
|
|
|
35472
35480
|
|
|
35473
35481
|
/***/ }),
|
|
@@ -35730,12 +35738,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inden
|
|
|
35730
35738
|
|
|
35731
35739
|
"use strict";
|
|
35732
35740
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
35733
|
-
/* harmony import */ var
|
|
35734
|
-
/* harmony import */ var
|
|
35735
|
-
/* harmony import */ var
|
|
35736
|
-
/* harmony import */ var
|
|
35741
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
35742
|
+
/* harmony import */ var _items_a__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(97836);
|
|
35743
|
+
/* harmony import */ var _items_cells__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(82558);
|
|
35744
|
+
/* harmony import */ var _items_iframe__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(6295);
|
|
35745
|
+
/* harmony import */ var _items_img__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(26396);
|
|
35737
35746
|
/* harmony import */ var _items_toolbar__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(58540);
|
|
35738
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(36115);
|
|
35739
35747
|
/* harmony import */ var jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38681);
|
|
35740
35748
|
/* 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__);
|
|
35741
35749
|
/* harmony import */ var jodit_plugins_inline_popup_icons_addrow_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(64637);
|
|
@@ -35769,10 +35777,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inden
|
|
|
35769
35777
|
|
|
35770
35778
|
|
|
35771
35779
|
|
|
35772
|
-
|
|
35773
|
-
|
|
35774
|
-
|
|
35775
|
-
|
|
35780
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInline = true;
|
|
35781
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineForSelection = false;
|
|
35782
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineDisableFor = [];
|
|
35783
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineDisabledButtons = ['source'];
|
|
35776
35784
|
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('addcolumn', (jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_6___default()))
|
|
35777
35785
|
.set('addrow', (jodit_plugins_inline_popup_icons_addrow_svg__WEBPACK_IMPORTED_MODULE_7___default()))
|
|
35778
35786
|
.set('merge', (jodit_plugins_inline_popup_icons_merge_svg__WEBPACK_IMPORTED_MODULE_8___default()))
|
|
@@ -35780,14 +35788,14 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('addcolumn', (
|
|
|
35780
35788
|
.set('splitg', (jodit_plugins_inline_popup_icons_splitg_svg__WEBPACK_IMPORTED_MODULE_9___default()))
|
|
35781
35789
|
.set('splitv', (jodit_plugins_inline_popup_icons_splitv_svg__WEBPACK_IMPORTED_MODULE_10___default()))
|
|
35782
35790
|
.set('th-list', (jodit_plugins_inline_popup_icons_th_list_svg__WEBPACK_IMPORTED_MODULE_12___default()));
|
|
35783
|
-
|
|
35784
|
-
a:
|
|
35785
|
-
img:
|
|
35786
|
-
cells:
|
|
35791
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.popup = {
|
|
35792
|
+
a: _items_a__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A,
|
|
35793
|
+
img: _items_img__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .A,
|
|
35794
|
+
cells: _items_cells__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .A,
|
|
35787
35795
|
toolbar: _items_toolbar__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .A,
|
|
35788
|
-
jodit:
|
|
35789
|
-
iframe:
|
|
35790
|
-
'jodit-media':
|
|
35796
|
+
jodit: _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
35797
|
+
iframe: _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
35798
|
+
'jodit-media': _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
35791
35799
|
selection: [
|
|
35792
35800
|
'bold',
|
|
35793
35801
|
'underline',
|
|
@@ -36428,12 +36436,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inlin
|
|
|
36428
36436
|
/* unused harmony export justify */
|
|
36429
36437
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55186);
|
|
36430
36438
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
36431
|
-
/* harmony import */ var
|
|
36432
|
-
/* harmony import */ var
|
|
36433
|
-
/* harmony import */ var
|
|
36434
|
-
/* harmony import */ var
|
|
36435
|
-
/* harmony import */ var _justify_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_justify_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
36439
|
+
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65147);
|
|
36440
|
+
/* harmony import */ var jodit_core_helpers_utils_align__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(40080);
|
|
36441
|
+
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(38322);
|
|
36442
|
+
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(931);
|
|
36436
36443
|
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(36115);
|
|
36444
|
+
/* harmony import */ var _justify_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(80515);
|
|
36445
|
+
/* harmony import */ var _justify_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_justify_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
36437
36446
|
/*!
|
|
36438
36447
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
36439
36448
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -36446,7 +36455,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inlin
|
|
|
36446
36455
|
|
|
36447
36456
|
|
|
36448
36457
|
|
|
36449
|
-
|
|
36458
|
+
|
|
36459
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('justify', (_justify_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
36450
36460
|
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.align = {
|
|
36451
36461
|
name: 'left',
|
|
36452
36462
|
tooltip: 'Align',
|
|
@@ -36455,22 +36465,25 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.ali
|
|
|
36455
36465
|
if (current) {
|
|
36456
36466
|
var 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) ||
|
|
36457
36467
|
editor.editor;
|
|
36458
|
-
var currentValue = (0,
|
|
36468
|
+
var currentValue = (0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__/* .css */ .A)(currentBox, 'text-align').toString();
|
|
36459
36469
|
if (control.defaultValue &&
|
|
36460
36470
|
control.defaultValue.indexOf(currentValue) !== -1) {
|
|
36461
36471
|
currentValue = 'left';
|
|
36462
36472
|
}
|
|
36463
|
-
|
|
36464
|
-
|
|
36465
|
-
|
|
36466
|
-
|
|
36473
|
+
var list = control.list, data = control.data;
|
|
36474
|
+
if (data &&
|
|
36475
|
+
data.currentValue !== currentValue &&
|
|
36476
|
+
list &&
|
|
36477
|
+
((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isPlainObject)(list)
|
|
36478
|
+
? list[currentValue]
|
|
36479
|
+
: list.includes(currentValue))) {
|
|
36467
36480
|
if (editor.o.textIcons || control.component === 'select') {
|
|
36468
36481
|
button.state.text = currentValue;
|
|
36469
36482
|
}
|
|
36470
36483
|
else {
|
|
36471
36484
|
button.state.icon.name = currentValue;
|
|
36472
36485
|
}
|
|
36473
|
-
|
|
36486
|
+
data.currentValue = currentValue;
|
|
36474
36487
|
}
|
|
36475
36488
|
}
|
|
36476
36489
|
},
|
|
@@ -36481,7 +36494,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.ali
|
|
|
36481
36494
|
}
|
|
36482
36495
|
var 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) ||
|
|
36483
36496
|
editor.editor;
|
|
36484
|
-
return (btn.control.defaultValue.indexOf((0,
|
|
36497
|
+
return (btn.control.defaultValue.indexOf((0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__/* .css */ .A)(currentBox, 'text-align').toString()) === -1);
|
|
36485
36498
|
},
|
|
36486
36499
|
defaultValue: ['left', 'start', 'inherit'],
|
|
36487
36500
|
data: {
|
|
@@ -36535,7 +36548,7 @@ function justify(editor) {
|
|
|
36535
36548
|
if (!currentBox) {
|
|
36536
36549
|
currentBox = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.wrapInline(current, editor.o.enterBlock, editor);
|
|
36537
36550
|
}
|
|
36538
|
-
(0,
|
|
36551
|
+
(0,jodit_core_helpers_utils_align__WEBPACK_IMPORTED_MODULE_3__/* .alignElement */ .Op)(command, currentBox);
|
|
36539
36552
|
});
|
|
36540
36553
|
return false;
|
|
36541
36554
|
};
|
|
@@ -36760,9 +36773,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('limit
|
|
|
36760
36773
|
"use strict";
|
|
36761
36774
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(65147);
|
|
36762
36775
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(931);
|
|
36763
|
-
/* harmony import */ var
|
|
36764
|
-
/* harmony import */ var
|
|
36765
|
-
/* harmony import */ var
|
|
36776
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
36777
|
+
/* harmony import */ var _line_height_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(223);
|
|
36778
|
+
/* harmony import */ var _line_height_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_line_height_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
36766
36779
|
/*!
|
|
36767
36780
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
36768
36781
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -36772,9 +36785,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('limit
|
|
|
36772
36785
|
|
|
36773
36786
|
|
|
36774
36787
|
|
|
36775
|
-
|
|
36776
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('line-height', (
|
|
36777
|
-
|
|
36788
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.defaultLineHeight = null;
|
|
36789
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('line-height', (_line_height_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
36790
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.lineHeight = {
|
|
36778
36791
|
command: 'applyLineHeight',
|
|
36779
36792
|
tags: ['ol'],
|
|
36780
36793
|
tooltip: 'Line height',
|
|
@@ -37346,12 +37359,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('lineH
|
|
|
37346
37359
|
"use strict";
|
|
37347
37360
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55186);
|
|
37348
37361
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(931);
|
|
37349
|
-
/* harmony import */ var
|
|
37350
|
-
/* harmony import */ var
|
|
37351
|
-
/* harmony import */ var
|
|
37352
|
-
/* harmony import */ var
|
|
37353
|
-
/* harmony import */ var
|
|
37354
|
-
/* harmony import */ var
|
|
37362
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
37363
|
+
/* harmony import */ var _icons_link_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(95032);
|
|
37364
|
+
/* harmony import */ var _icons_link_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_link_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
37365
|
+
/* harmony import */ var _icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(73533);
|
|
37366
|
+
/* harmony import */ var _icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
37367
|
+
/* harmony import */ var _template__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(21329);
|
|
37355
37368
|
/*!
|
|
37356
37369
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
37357
37370
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -37363,8 +37376,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('lineH
|
|
|
37363
37376
|
|
|
37364
37377
|
|
|
37365
37378
|
|
|
37366
|
-
|
|
37367
|
-
formTemplate:
|
|
37379
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.link = {
|
|
37380
|
+
formTemplate: _template__WEBPACK_IMPORTED_MODULE_5__/* .formTemplate */ .B,
|
|
37368
37381
|
followOnDblClick: false,
|
|
37369
37382
|
processVideoLink: true,
|
|
37370
37383
|
processPastedLink: true,
|
|
@@ -37376,8 +37389,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.link = {
|
|
|
37376
37389
|
selectOptionsClassName: [],
|
|
37377
37390
|
hotkeys: ['ctrl+k', 'cmd+k']
|
|
37378
37391
|
};
|
|
37379
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('link', (
|
|
37380
|
-
|
|
37392
|
+
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()));
|
|
37393
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.unlink = {
|
|
37381
37394
|
exec: function (editor, current) {
|
|
37382
37395
|
var anchor = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor);
|
|
37383
37396
|
if (anchor) {
|
|
@@ -37388,7 +37401,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.unl
|
|
|
37388
37401
|
},
|
|
37389
37402
|
tooltip: 'Unlink'
|
|
37390
37403
|
};
|
|
37391
|
-
|
|
37404
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.link = {
|
|
37392
37405
|
isActive: function (editor) {
|
|
37393
37406
|
var current = editor.s.current();
|
|
37394
37407
|
return Boolean(current && jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor));
|
|
@@ -37942,9 +37955,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('media
|
|
|
37942
37955
|
"use strict";
|
|
37943
37956
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17352);
|
|
37944
37957
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65147);
|
|
37945
|
-
/* harmony import */ var
|
|
37946
|
-
/* harmony import */ var
|
|
37947
|
-
/* harmony import */ var
|
|
37958
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
37959
|
+
/* harmony import */ var jodit_modules_toolbar_collection_collection__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(97394);
|
|
37960
|
+
/* harmony import */ var jodit_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(8809);
|
|
37948
37961
|
/*!
|
|
37949
37962
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
37950
37963
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -37955,9 +37968,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('media
|
|
|
37955
37968
|
|
|
37956
37969
|
|
|
37957
37970
|
|
|
37958
|
-
|
|
37959
|
-
|
|
37960
|
-
|
|
37971
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.mobileTapTimeout = 300;
|
|
37972
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.toolbarAdaptive = true;
|
|
37973
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsMD = [
|
|
37961
37974
|
{
|
|
37962
37975
|
group: 'font-style',
|
|
37963
37976
|
buttons: []
|
|
@@ -38004,7 +38017,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsMD =
|
|
|
38004
38017
|
'|',
|
|
38005
38018
|
'dots'
|
|
38006
38019
|
];
|
|
38007
|
-
|
|
38020
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsSM = [
|
|
38008
38021
|
{
|
|
38009
38022
|
group: 'font-style',
|
|
38010
38023
|
buttons: []
|
|
@@ -38039,7 +38052,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsSM =
|
|
|
38039
38052
|
'|',
|
|
38040
38053
|
'dots'
|
|
38041
38054
|
];
|
|
38042
|
-
|
|
38055
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsXS = [
|
|
38043
38056
|
{
|
|
38044
38057
|
group: 'font-style',
|
|
38045
38058
|
buttons: []
|
|
@@ -38060,17 +38073,17 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsXS =
|
|
|
38060
38073
|
'---',
|
|
38061
38074
|
'dots'
|
|
38062
38075
|
];
|
|
38063
|
-
|
|
38076
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.dots = {
|
|
38064
38077
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SOURCE + jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_WYSIWYG,
|
|
38065
38078
|
popup: function (editor, current, close, button) {
|
|
38066
38079
|
var store = button.control.data;
|
|
38067
38080
|
if (store === undefined) {
|
|
38068
38081
|
store = {
|
|
38069
|
-
toolbar: (0,
|
|
38082
|
+
toolbar: (0,jodit_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_4__/* .makeCollection */ .$K)(editor),
|
|
38070
38083
|
rebuild: function () {
|
|
38071
38084
|
var _a, _b;
|
|
38072
38085
|
if (button) {
|
|
38073
|
-
var buttons = editor.e.fire('getDiffButtons.mobile', button.closest(
|
|
38086
|
+
var buttons = editor.e.fire('getDiffButtons.mobile', button.closest(jodit_modules_toolbar_collection_collection__WEBPACK_IMPORTED_MODULE_3__/* .ToolbarCollection */ .Q));
|
|
38074
38087
|
if (buttons && store) {
|
|
38075
38088
|
store.toolbar.build((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.splitArray)(buttons));
|
|
38076
38089
|
var w = ((_b = (_a = editor.toolbar) === null || _a === void 0 ? void 0 : _a.firstButton) === null || _b === void 0 ? void 0 : _b.container.offsetWidth) || 36;
|
|
@@ -38181,11 +38194,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('mobil
|
|
|
38181
38194
|
"use strict";
|
|
38182
38195
|
/* harmony import */ var jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(72197);
|
|
38183
38196
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(931);
|
|
38184
|
-
/* harmony import */ var
|
|
38185
|
-
/* harmony import */ var
|
|
38186
|
-
/* harmony import */ var
|
|
38187
|
-
/* harmony import */ var
|
|
38188
|
-
/* harmony import */ var
|
|
38197
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
38198
|
+
/* harmony import */ var _icons_ol_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(40037);
|
|
38199
|
+
/* harmony import */ var _icons_ol_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_ol_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
38200
|
+
/* harmony import */ var _icons_ul_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(83207);
|
|
38201
|
+
/* harmony import */ var _icons_ul_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_ul_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
38189
38202
|
/*!
|
|
38190
38203
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
38191
38204
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -38204,8 +38217,8 @@ var memoExec = function (jodit, _, _a) {
|
|
|
38204
38217
|
(0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_0__/* .dataBind */ .m)(jodit, key, value);
|
|
38205
38218
|
jodit.execCommand(control.command, false, value === 'default' ? null : value);
|
|
38206
38219
|
};
|
|
38207
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('ol', (
|
|
38208
|
-
|
|
38220
|
+
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()));
|
|
38221
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.ul = {
|
|
38209
38222
|
command: 'insertUnorderedList',
|
|
38210
38223
|
tags: ['ul'],
|
|
38211
38224
|
tooltip: 'Insert Unordered List',
|
|
@@ -38217,7 +38230,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.ul
|
|
|
38217
38230
|
},
|
|
38218
38231
|
exec: memoExec
|
|
38219
38232
|
};
|
|
38220
|
-
|
|
38233
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.ol = {
|
|
38221
38234
|
command: 'insertOrderedList',
|
|
38222
38235
|
tags: ['ol'],
|
|
38223
38236
|
tooltip: 'Insert Ordered List',
|
|
@@ -38612,8 +38625,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('paste
|
|
|
38612
38625
|
"use strict";
|
|
38613
38626
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(31635);
|
|
38614
38627
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17352);
|
|
38615
|
-
/* harmony import */ var
|
|
38616
|
-
/* harmony import */ var
|
|
38628
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
38629
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(90823);
|
|
38617
38630
|
/*!
|
|
38618
38631
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
38619
38632
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -38624,19 +38637,19 @@ var _a;
|
|
|
38624
38637
|
|
|
38625
38638
|
|
|
38626
38639
|
|
|
38627
|
-
|
|
38628
|
-
|
|
38629
|
-
|
|
38630
|
-
|
|
38631
|
-
|
|
38640
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.askBeforePasteHTML = true;
|
|
38641
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.processPasteHTML = true;
|
|
38642
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.scrollToPastedContent = true;
|
|
38643
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.pasteExcludeStripTags = ['br', 'hr'];
|
|
38644
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.pasteHTMLActionList = [
|
|
38632
38645
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_AS_HTML, text: 'Keep' },
|
|
38633
38646
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_AS_TEXT, text: 'Insert as Text' },
|
|
38634
38647
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_ONLY_TEXT, text: 'Insert only Text' }
|
|
38635
38648
|
];
|
|
38636
|
-
|
|
38637
|
-
|
|
38649
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.memorizeChoiceWhenPasteFragment = false;
|
|
38650
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.nl2brInPlainText = true;
|
|
38638
38651
|
var psKey = 'pasteStorage';
|
|
38639
|
-
|
|
38652
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.paste = {
|
|
38640
38653
|
tooltip: 'Paste from clipboard',
|
|
38641
38654
|
exec: function (editor_1, _1, _a) {
|
|
38642
38655
|
return (0,tslib__WEBPACK_IMPORTED_MODULE_3__/* .__awaiter */ .sH)(this, arguments, void 0, function (editor, _, _b) {
|
|
@@ -38705,7 +38718,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.pas
|
|
|
38705
38718
|
!error && editor.e.fire('afterPaste');
|
|
38706
38719
|
}
|
|
38707
38720
|
else if (text.length) {
|
|
38708
|
-
(0,
|
|
38721
|
+
(0,_helpers__WEBPACK_IMPORTED_MODULE_2__/* .pasteInsertHtml */ .sX)(null, editor, text);
|
|
38709
38722
|
editor.e.fire('afterPaste');
|
|
38710
38723
|
}
|
|
38711
38724
|
else {
|
|
@@ -39465,10 +39478,10 @@ function generateCriticalCSS(jodit) {
|
|
|
39465
39478
|
/* harmony import */ var jodit_core_helpers_utils_default_language__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(17527);
|
|
39466
39479
|
/* harmony import */ var jodit_core_helpers_utils_print__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(98434);
|
|
39467
39480
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(931);
|
|
39468
|
-
/* harmony import */ var
|
|
39469
|
-
/* harmony import */ var
|
|
39470
|
-
/* harmony import */ var
|
|
39471
|
-
/* harmony import */ var
|
|
39481
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(36115);
|
|
39482
|
+
/* harmony import */ var _lib_generate_critical_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(11131);
|
|
39483
|
+
/* harmony import */ var _print_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(59827);
|
|
39484
|
+
/* harmony import */ var _print_svg__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_print_svg__WEBPACK_IMPORTED_MODULE_7__);
|
|
39472
39485
|
/*!
|
|
39473
39486
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
39474
39487
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -39483,8 +39496,8 @@ function generateCriticalCSS(jodit) {
|
|
|
39483
39496
|
|
|
39484
39497
|
|
|
39485
39498
|
|
|
39486
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('print', (
|
|
39487
|
-
|
|
39499
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('print', (_print_svg__WEBPACK_IMPORTED_MODULE_7___default()));
|
|
39500
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.print = {
|
|
39488
39501
|
exec: function (editor) {
|
|
39489
39502
|
var iframe = editor.create.element('iframe');
|
|
39490
39503
|
Object.assign(iframe.style, {
|
|
@@ -39495,7 +39508,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_7__/* .Config */ .T.prototype.controls.pri
|
|
|
39495
39508
|
height: 0,
|
|
39496
39509
|
border: 0
|
|
39497
39510
|
});
|
|
39498
|
-
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .getContainer */ .My)(editor,
|
|
39511
|
+
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .getContainer */ .My)(editor, jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T).appendChild(iframe);
|
|
39499
39512
|
var afterFinishPrint = function () {
|
|
39500
39513
|
editor.e.off(editor.ow, 'mousemove', afterFinishPrint);
|
|
39501
39514
|
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.safeRemove(iframe);
|
|
@@ -39513,7 +39526,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_7__/* .Config */ .T.prototype.controls.pri
|
|
|
39513
39526
|
myWindow.document.write('<!doctype html><html lang="' +
|
|
39514
39527
|
(0,jodit_core_helpers_utils_default_language__WEBPACK_IMPORTED_MODULE_8__/* .defaultLanguage */ .e)(editor.o.language) +
|
|
39515
39528
|
'"><head><title></title></head><style>' +
|
|
39516
|
-
(0,
|
|
39529
|
+
(0,_lib_generate_critical_css__WEBPACK_IMPORTED_MODULE_6__/* .generateCriticalCSS */ .Y)(editor) +
|
|
39517
39530
|
'</style><body></body></html>');
|
|
39518
39531
|
myWindow.document.close();
|
|
39519
39532
|
(0,jodit_core_helpers_utils_print__WEBPACK_IMPORTED_MODULE_3__/* .previewBox */ .u)(editor, undefined, 'px', myWindow.document.body);
|
|
@@ -39548,11 +39561,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('print
|
|
|
39548
39561
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
39549
39562
|
/* harmony import */ var jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(29866);
|
|
39550
39563
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(931);
|
|
39551
|
-
/* harmony import */ var
|
|
39552
|
-
/* harmony import */ var
|
|
39553
|
-
/* harmony import */ var
|
|
39554
|
-
/* harmony import */ var
|
|
39555
|
-
/* harmony import */ var
|
|
39564
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
39565
|
+
/* harmony import */ var _icons_redo_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(34045);
|
|
39566
|
+
/* harmony import */ var _icons_redo_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_redo_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
39567
|
+
/* harmony import */ var _icons_undo_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(39199);
|
|
39568
|
+
/* harmony import */ var _icons_undo_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_icons_undo_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
39556
39569
|
/*!
|
|
39557
39570
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
39558
39571
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -39566,13 +39579,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('print
|
|
|
39566
39579
|
|
|
39567
39580
|
|
|
39568
39581
|
|
|
39569
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('redo', (
|
|
39570
|
-
|
|
39582
|
+
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()));
|
|
39583
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.redo = {
|
|
39571
39584
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
39572
39585
|
isDisabled: function (editor) { return !editor.history.canRedo(); },
|
|
39573
39586
|
tooltip: 'Redo'
|
|
39574
39587
|
};
|
|
39575
|
-
|
|
39588
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.undo = {
|
|
39576
39589
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
39577
39590
|
isDisabled: function (editor) { return !editor.history.canUndo(); },
|
|
39578
39591
|
tooltip: 'Undo'
|
|
@@ -40619,9 +40632,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('resiz
|
|
|
40619
40632
|
|
|
40620
40633
|
"use strict";
|
|
40621
40634
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
40622
|
-
/* harmony import */ var
|
|
40623
|
-
/* harmony import */ var
|
|
40624
|
-
/* harmony import */ var
|
|
40635
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
40636
|
+
/* harmony import */ var _search_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(21917);
|
|
40637
|
+
/* harmony import */ var _search_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_search_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
40625
40638
|
/*!
|
|
40626
40639
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
40627
40640
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -40631,14 +40644,14 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('resiz
|
|
|
40631
40644
|
|
|
40632
40645
|
|
|
40633
40646
|
|
|
40634
|
-
|
|
40635
|
-
|
|
40647
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.useSearch = true;
|
|
40648
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.search = {
|
|
40636
40649
|
lazyIdleTimeout: 0,
|
|
40637
40650
|
// @ts-ignore Because Highlight is not defined in the types TS 5.3.3
|
|
40638
40651
|
useCustomHighlightAPI: typeof window.Highlight !== 'undefined'
|
|
40639
40652
|
};
|
|
40640
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('search', (
|
|
40641
|
-
|
|
40653
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('search', (_search_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
40654
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.find = {
|
|
40642
40655
|
tooltip: 'Find',
|
|
40643
40656
|
icon: 'search',
|
|
40644
40657
|
exec: function (jodit, _, _a) {
|
|
@@ -42390,9 +42403,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('size'
|
|
|
42390
42403
|
"use strict";
|
|
42391
42404
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17352);
|
|
42392
42405
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(931);
|
|
42393
|
-
/* harmony import */ var
|
|
42394
|
-
/* harmony import */ var
|
|
42395
|
-
/* harmony import */ var
|
|
42406
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
42407
|
+
/* harmony import */ var _source_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9103);
|
|
42408
|
+
/* harmony import */ var _source_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_source_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
42396
42409
|
/*!
|
|
42397
42410
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
42398
42411
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -42402,9 +42415,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('size'
|
|
|
42402
42415
|
|
|
42403
42416
|
|
|
42404
42417
|
|
|
42405
|
-
|
|
42406
|
-
|
|
42407
|
-
|
|
42418
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.beautifyHTML = !jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.IS_IE;
|
|
42419
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditor = 'ace';
|
|
42420
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditorNativeOptions = {
|
|
42408
42421
|
/**
|
|
42409
42422
|
* Show gutter
|
|
42410
42423
|
*/
|
|
@@ -42426,15 +42439,15 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.sourceEditor
|
|
|
42426
42439
|
*/
|
|
42427
42440
|
highlightActiveLine: true
|
|
42428
42441
|
};
|
|
42429
|
-
|
|
42442
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditorCDNUrlsJS = [
|
|
42430
42443
|
'https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.2/ace.js'
|
|
42431
42444
|
];
|
|
42432
|
-
|
|
42445
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.beautifyHTMLCDNUrlsJS = [
|
|
42433
42446
|
'https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify.min.js',
|
|
42434
42447
|
'https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify-html.min.js'
|
|
42435
42448
|
];
|
|
42436
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('source', (
|
|
42437
|
-
|
|
42449
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('source', (_source_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
42450
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.source = {
|
|
42438
42451
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
42439
42452
|
exec: function (editor) {
|
|
42440
42453
|
editor.toggleMode();
|
|
@@ -43282,9 +43295,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('sourc
|
|
|
43282
43295
|
|
|
43283
43296
|
"use strict";
|
|
43284
43297
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
43285
|
-
/* harmony import */ var
|
|
43286
|
-
/* harmony import */ var
|
|
43287
|
-
/* harmony import */ var
|
|
43298
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
43299
|
+
/* harmony import */ var _spellcheck_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(49989);
|
|
43300
|
+
/* harmony import */ var _spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
43288
43301
|
/*!
|
|
43289
43302
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
43290
43303
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -43293,13 +43306,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('sourc
|
|
|
43293
43306
|
|
|
43294
43307
|
|
|
43295
43308
|
|
|
43296
|
-
|
|
43297
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('spellcheck', (
|
|
43298
|
-
|
|
43309
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.spellcheck = false;
|
|
43310
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('spellcheck', (_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
43311
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.spellcheck = {
|
|
43299
43312
|
isActive: function (e) {
|
|
43300
43313
|
return e.o.spellcheck;
|
|
43301
43314
|
},
|
|
43302
|
-
icon: (
|
|
43315
|
+
icon: (_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default()),
|
|
43303
43316
|
name: 'spellcheck',
|
|
43304
43317
|
command: 'toggleSpellcheck',
|
|
43305
43318
|
tooltip: 'Spellcheck'
|
|
@@ -44090,9 +44103,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('stick
|
|
|
44090
44103
|
|
|
44091
44104
|
"use strict";
|
|
44092
44105
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
44093
|
-
/* harmony import */ var
|
|
44094
|
-
/* harmony import */ var
|
|
44095
|
-
/* harmony import */ var
|
|
44106
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
44107
|
+
/* harmony import */ var _symbols_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(81875);
|
|
44108
|
+
/* harmony import */ var _symbols_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_symbols_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
44096
44109
|
/*!
|
|
44097
44110
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
44098
44111
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -44101,8 +44114,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('stick
|
|
|
44101
44114
|
|
|
44102
44115
|
|
|
44103
44116
|
|
|
44104
|
-
|
|
44105
|
-
|
|
44117
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.usePopupForSpecialCharacters = false;
|
|
44118
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.specialCharacters = [
|
|
44106
44119
|
'!',
|
|
44107
44120
|
'"',
|
|
44108
44121
|
'#',
|
|
@@ -44314,8 +44327,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.specialChara
|
|
|
44314
44327
|
'♦',
|
|
44315
44328
|
'≈'
|
|
44316
44329
|
];
|
|
44317
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('symbols', (
|
|
44318
|
-
|
|
44330
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('symbols', (_symbols_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
44331
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.symbols = {
|
|
44319
44332
|
hotkeys: ['ctrl+shift+i', 'cmd+shift+i'],
|
|
44320
44333
|
tooltip: 'Insert Special Character',
|
|
44321
44334
|
popup: function (editor, current, close) {
|
|
@@ -45315,9 +45328,9 @@ function findCell(editor, key) {
|
|
|
45315
45328
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65147);
|
|
45316
45329
|
/* harmony import */ var jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(97369);
|
|
45317
45330
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(931);
|
|
45318
|
-
/* harmony import */ var
|
|
45319
|
-
/* harmony import */ var
|
|
45320
|
-
/* harmony import */ var
|
|
45331
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
45332
|
+
/* harmony import */ var _table_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(67447);
|
|
45333
|
+
/* harmony import */ var _table_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_table_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
45321
45334
|
/*!
|
|
45322
45335
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
45323
45336
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -45329,12 +45342,12 @@ function findCell(editor, key) {
|
|
|
45329
45342
|
|
|
45330
45343
|
|
|
45331
45344
|
|
|
45332
|
-
|
|
45345
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.table = {
|
|
45333
45346
|
selectionCellStyle: 'border: 1px double #1e88e5 !important;',
|
|
45334
45347
|
useExtraClassesOptions: false
|
|
45335
45348
|
};
|
|
45336
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('table', (
|
|
45337
|
-
|
|
45349
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('table', (_table_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
45350
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.table = {
|
|
45338
45351
|
data: {
|
|
45339
45352
|
cols: 10,
|
|
45340
45353
|
rows: 10,
|
|
@@ -45501,10 +45514,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('table
|
|
|
45501
45514
|
/* harmony import */ var jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(35265);
|
|
45502
45515
|
/* harmony import */ var jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(20703);
|
|
45503
45516
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(931);
|
|
45504
|
-
/* harmony import */ var
|
|
45505
|
-
/* harmony import */ var
|
|
45506
|
-
/* harmony import */ var
|
|
45507
|
-
/* harmony import */ var
|
|
45517
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
45518
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(16116);
|
|
45519
|
+
/* harmony import */ var _video_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(36339);
|
|
45520
|
+
/* harmony import */ var _video_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_video_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
45508
45521
|
/*!
|
|
45509
45522
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
45510
45523
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -45517,8 +45530,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('table
|
|
|
45517
45530
|
|
|
45518
45531
|
|
|
45519
45532
|
|
|
45520
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('video', (
|
|
45521
|
-
|
|
45533
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('video', (_video_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
45534
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.video = {
|
|
45522
45535
|
popup: function (editor, current, close) {
|
|
45523
45536
|
var formLink = new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIForm */ .XV(editor, [
|
|
45524
45537
|
new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIBlock */ .Yh(editor, [
|
|
@@ -45569,7 +45582,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.prototype.controls.vid
|
|
|
45569
45582
|
formCode.onSubmit(function (data) {
|
|
45570
45583
|
insertCode(data.code);
|
|
45571
45584
|
});
|
|
45572
|
-
return (0,
|
|
45585
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__/* .TabsWidget */ .Zg)(editor, tabs);
|
|
45573
45586
|
},
|
|
45574
45587
|
tags: ['iframe'],
|
|
45575
45588
|
tooltip: 'Insert youtube/vimeo video'
|