jodit 4.2.15 → 4.2.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +64 -5
- package/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +406 -382
- package/es2015/jodit.min.js +2 -2
- package/es2015/plugins/debug/debug.js +1 -1
- package/es2015/plugins/debug/debug.min.js +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.js +11 -11
- package/es2015/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es2018/jodit.css +1 -1
- package/es2018/jodit.fat.min.js +2 -2
- package/es2018/jodit.js +406 -384
- package/es2018/jodit.min.js +2 -2
- package/es2018/plugins/debug/debug.js +1 -1
- package/es2018/plugins/debug/debug.min.js +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.js +11 -11
- package/es2018/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es2021/jodit.css +1 -1
- package/es2021/jodit.fat.min.js +2 -2
- package/es2021/jodit.js +406 -382
- package/es2021/jodit.min.js +2 -2
- package/es2021/plugins/debug/debug.js +1 -1
- package/es2021/plugins/debug/debug.min.js +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.js +11 -11
- package/es2021/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es2021.en/jodit.css +1 -1
- package/es2021.en/jodit.fat.min.js +2 -2
- package/es2021.en/jodit.js +406 -382
- package/es2021.en/jodit.min.js +2 -2
- package/es2021.en/plugins/debug/debug.js +1 -1
- package/es2021.en/plugins/debug/debug.min.js +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.js +11 -11
- package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es5/jodit.css +2 -2
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +411 -387
- package/es5/jodit.min.css +2 -2
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/debug/debug.js +1 -1
- package/es5/plugins/debug/debug.min.js +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.js +11 -11
- package/es5/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/esm/core/constants.js +1 -1
- package/esm/core/helpers/utils/config-proto.js +1 -1
- package/esm/core/request/ajax.js +1 -1
- package/esm/core/ui/helpers/get-control-type.js +15 -9
- package/esm/core/ui/helpers/get-strong-control-types.js +1 -1
- package/esm/jodit.d.ts +1 -1
- package/esm/jodit.js +1 -1
- package/esm/modules/file-browser/file-browser.js +1 -1
- package/esm/modules/history/history.js +1 -1
- package/esm/modules/image-editor/config.js +1 -1
- package/esm/modules/image-editor/image-editor.js +1 -1
- package/esm/modules/toolbar/button/button.js +2 -1
- package/esm/modules/toolbar/button/select/select.js +2 -1
- package/esm/modules/uploader/uploader.js +1 -1
- package/esm/plugins/about/about.js +1 -1
- package/esm/plugins/add-new-line/config.js +1 -1
- package/esm/plugins/ai-assistant/config.js +1 -1
- package/esm/plugins/backspace/cases/check-remove-char.js +4 -0
- package/esm/plugins/bold/bold.js +1 -1
- package/esm/plugins/class-span/class-span.js +1 -1
- package/esm/plugins/clean-html/config.js +1 -1
- package/esm/plugins/clipboard/config.js +1 -1
- package/esm/plugins/color/config.js +1 -1
- package/esm/plugins/copy-format/copy-format.js +1 -1
- package/esm/plugins/file/file.js +1 -1
- package/esm/plugins/font/config.js +1 -1
- package/esm/plugins/format-block/config.js +6 -4
- package/esm/plugins/fullsize/config.js +1 -1
- package/esm/plugins/hr/hr.js +1 -1
- package/esm/plugins/image/image.js +1 -1
- package/esm/plugins/image-properties/config.d.ts +0 -3
- package/esm/plugins/image-properties/config.js +3 -0
- package/esm/plugins/image-properties/interface.d.ts +121 -0
- package/esm/plugins/indent/config.js +1 -1
- package/esm/plugins/inline-popup/config/config.js +1 -1
- package/esm/plugins/justify/justify.js +10 -6
- package/esm/plugins/line-height/config.js +1 -1
- package/esm/plugins/link/config.js +1 -1
- package/esm/plugins/mobile/config.js +1 -1
- package/esm/plugins/ordered-list/config.js +1 -1
- package/esm/plugins/paste/config.js +1 -1
- package/esm/plugins/print/print.js +1 -1
- package/esm/plugins/redo-undo/redo-undo.js +1 -1
- package/esm/plugins/search/config.js +1 -1
- package/esm/plugins/source/config.js +1 -1
- package/esm/plugins/speech-recognize/config.js +1 -1
- package/esm/plugins/spellcheck/config.js +1 -1
- package/esm/plugins/symbols/config.js +1 -1
- package/esm/plugins/table/config.js +1 -1
- package/esm/plugins/video/config.js +1 -1
- package/esm/types/toolbar.d.ts +1 -2
- package/package.json +1 -1
- package/types/jodit.d.ts +1 -1
- package/types/plugins/image-properties/config.d.ts +0 -3
- package/types/plugins/image-properties/interface.d.ts +121 -0
- package/types/types/toolbar.d.ts +1 -2
package/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.17
|
|
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.17";
|
|
3131
3131
|
// prettier-ignore
|
|
3132
3132
|
var ES = "es5";
|
|
3133
3133
|
var IS_ES_MODERN = false;
|
|
@@ -9163,9 +9163,9 @@ var completeUrl = function (url) {
|
|
|
9163
9163
|
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(25376);
|
|
9164
9164
|
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(98253);
|
|
9165
9165
|
/* harmony import */ var jodit_core_helpers_checker_is_void__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(35642);
|
|
9166
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(36115);
|
|
9166
9167
|
/* 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);
|
|
9168
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(84976);
|
|
9169
9169
|
/*!
|
|
9170
9170
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
9171
9171
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -9215,7 +9215,7 @@ function ConfigProto(options, proto, deep) {
|
|
|
9215
9215
|
if (Object.getPrototypeOf(options) !== Object.prototype) {
|
|
9216
9216
|
return options;
|
|
9217
9217
|
}
|
|
9218
|
-
var def =
|
|
9218
|
+
var def = jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.defaultOptions;
|
|
9219
9219
|
if ((0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__/* .isString */ .K)(options.preset)) {
|
|
9220
9220
|
if (def.presets[options.preset] !== undefined) {
|
|
9221
9221
|
var preset_1 = def.presets[options.preset];
|
|
@@ -9245,7 +9245,7 @@ function ConfigProto(options, proto, deep) {
|
|
|
9245
9245
|
return newOpt;
|
|
9246
9246
|
}
|
|
9247
9247
|
function ConfigFlatten(obj) {
|
|
9248
|
-
return (0,
|
|
9248
|
+
return (0,_utils__WEBPACK_IMPORTED_MODULE_1__/* .keys */ .HP)(obj, false).reduce(function (app, key) {
|
|
9249
9249
|
app[key] = obj[key];
|
|
9250
9250
|
return app;
|
|
9251
9251
|
}, {});
|
|
@@ -11281,9 +11281,9 @@ var Plugin = /** @class */ (function (_super) {
|
|
|
11281
11281
|
/* harmony import */ var jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(26318);
|
|
11282
11282
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65147);
|
|
11283
11283
|
/* 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
|
|
11284
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
11285
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(27337);
|
|
11286
|
+
/* harmony import */ var _response__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(91672);
|
|
11287
11287
|
/*!
|
|
11288
11288
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
11289
11289
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -11299,7 +11299,7 @@ var Plugin = /** @class */ (function (_super) {
|
|
|
11299
11299
|
|
|
11300
11300
|
var Ajax = /** @class */ (function () {
|
|
11301
11301
|
function Ajax(options, defaultAjaxOptions) {
|
|
11302
|
-
if (defaultAjaxOptions === void 0) { defaultAjaxOptions =
|
|
11302
|
+
if (defaultAjaxOptions === void 0) { defaultAjaxOptions = jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.defaultAjaxOptions; }
|
|
11303
11303
|
this.__async = new jodit_core_async__WEBPACK_IMPORTED_MODULE_0__/* .Async */ .j();
|
|
11304
11304
|
this.__isFulfilled = false;
|
|
11305
11305
|
this.__activated = false;
|
|
@@ -11362,7 +11362,7 @@ var Ajax = /** @class */ (function () {
|
|
|
11362
11362
|
};
|
|
11363
11363
|
onResolve = function () {
|
|
11364
11364
|
_this.__isFulfilled = true;
|
|
11365
|
-
resolve(new
|
|
11365
|
+
resolve(new _response__WEBPACK_IMPORTED_MODULE_5__/* .Response */ .Y(request, xhr.status, xhr.statusText, !xhr.responseType ? xhr.responseText : xhr.response));
|
|
11366
11366
|
};
|
|
11367
11367
|
xhr.onload = onResolve;
|
|
11368
11368
|
xhr.onabort = function () {
|
|
@@ -17048,9 +17048,8 @@ function getControlType(button, controls) {
|
|
|
17048
17048
|
* @private
|
|
17049
17049
|
*/
|
|
17050
17050
|
function findControlType(path, controls) {
|
|
17051
|
-
var _a;
|
|
17052
17051
|
// eslint-disable-next-line prefer-const
|
|
17053
|
-
var
|
|
17052
|
+
var _a = (0,tslib__WEBPACK_IMPORTED_MODULE_2__/* .__read */ .zs)(path.split(/\./), 2), namespaceOrKey = _a[0], key = _a[1];
|
|
17054
17053
|
var store = controls;
|
|
17055
17054
|
if (key != null) {
|
|
17056
17055
|
if (controls[namespaceOrKey] !== undefined) {
|
|
@@ -17060,14 +17059,22 @@ function findControlType(path, controls) {
|
|
|
17060
17059
|
else {
|
|
17061
17060
|
key = namespaceOrKey;
|
|
17062
17061
|
}
|
|
17063
|
-
|
|
17062
|
+
// const list = store[key]?.list;
|
|
17064
17063
|
return store[key]
|
|
17065
|
-
? (0,tslib__WEBPACK_IMPORTED_MODULE_2__/* .__assign */ .Cl)(
|
|
17066
|
-
|
|
17067
|
-
|
|
17068
|
-
|
|
17069
|
-
|
|
17070
|
-
|
|
17064
|
+
? (0,tslib__WEBPACK_IMPORTED_MODULE_2__/* .__assign */ .Cl)({ name: key }, (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__.ConfigFlatten)(store[key])
|
|
17065
|
+
// list: isArray(list)
|
|
17066
|
+
// ? (<Array<string>>list).reduce(
|
|
17067
|
+
// (
|
|
17068
|
+
// acc: IDictionary<string | number>,
|
|
17069
|
+
// k: string | number
|
|
17070
|
+
// ) => {
|
|
17071
|
+
// acc[String(k)] = k;
|
|
17072
|
+
// return acc;
|
|
17073
|
+
// },
|
|
17074
|
+
// {}
|
|
17075
|
+
// )
|
|
17076
|
+
// : list
|
|
17077
|
+
) : undefined;
|
|
17071
17078
|
}
|
|
17072
17079
|
|
|
17073
17080
|
|
|
@@ -17082,8 +17089,8 @@ function findControlType(path, controls) {
|
|
|
17082
17089
|
/* harmony export */ });
|
|
17083
17090
|
/* harmony import */ var jodit_core_helpers_checker_is_array__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(37923);
|
|
17084
17091
|
/* harmony import */ var jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(97369);
|
|
17085
|
-
/* harmony import */ var
|
|
17086
|
-
/* harmony import */ var
|
|
17092
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
17093
|
+
/* harmony import */ var _get_control_type__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(57023);
|
|
17087
17094
|
/*!
|
|
17088
17095
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
17089
17096
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -17104,7 +17111,7 @@ function getStrongControlTypes(items, controls) {
|
|
|
17104
17111
|
return (0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_0__.ConfigProto)({ name: key }, value);
|
|
17105
17112
|
});
|
|
17106
17113
|
return elements.map(function (item) {
|
|
17107
|
-
return (0,
|
|
17114
|
+
return (0,_get_control_type__WEBPACK_IMPORTED_MODULE_2__/* .getControlType */ .U)(item, controls || jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.defaultOptions.controls);
|
|
17108
17115
|
});
|
|
17109
17116
|
}
|
|
17110
17117
|
|
|
@@ -18298,8 +18305,8 @@ View.defaultOptions = {
|
|
|
18298
18305
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(65147);
|
|
18299
18306
|
/* harmony import */ var jodit_core_request__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(53883);
|
|
18300
18307
|
/* harmony import */ var jodit_core_traits_dlgs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(58597);
|
|
18301
|
-
/* harmony import */ var
|
|
18302
|
-
/* harmony import */ var
|
|
18308
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(36115);
|
|
18309
|
+
/* harmony import */ var jodit_modules__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(37435);
|
|
18303
18310
|
/*!
|
|
18304
18311
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
18305
18312
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -18356,7 +18363,7 @@ var Jodit = /** @class */ (function (_super) {
|
|
|
18356
18363
|
_this.destruct();
|
|
18357
18364
|
throw e;
|
|
18358
18365
|
}
|
|
18359
|
-
_this.setStatus(
|
|
18366
|
+
_this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.STATUSES.beforeInit);
|
|
18360
18367
|
_this.id =
|
|
18361
18368
|
(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
18369
|
new Date().getTime().toString();
|
|
@@ -18368,7 +18375,7 @@ var Jodit = /** @class */ (function (_super) {
|
|
|
18368
18375
|
}
|
|
18369
18376
|
});
|
|
18370
18377
|
_this.e.on('prepareWYSIWYGEditor', _this.__prepareWYSIWYGEditor);
|
|
18371
|
-
_this.selection = new
|
|
18378
|
+
_this.selection = new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Selection(_this);
|
|
18372
18379
|
var beforeInitHookResult = _this.beforeInitHook();
|
|
18373
18380
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.callPromise)(beforeInitHookResult, function () {
|
|
18374
18381
|
if (_this.isInDestruct) {
|
|
@@ -18392,7 +18399,7 @@ var Jodit = /** @class */ (function (_super) {
|
|
|
18392
18399
|
_this.e.fire('afterInit', _this);
|
|
18393
18400
|
}
|
|
18394
18401
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.callPromise)(_this.afterInitHook());
|
|
18395
|
-
_this.setStatus(
|
|
18402
|
+
_this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.STATUSES.ready);
|
|
18396
18403
|
_this.e.fire('afterConstructor', _this);
|
|
18397
18404
|
};
|
|
18398
18405
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.callPromise)(addPlaceResult, init);
|
|
@@ -18456,7 +18463,7 @@ var Jodit = /** @class */ (function (_super) {
|
|
|
18456
18463
|
get: function () {
|
|
18457
18464
|
return (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isNumber)(this.o.defaultTimeout)
|
|
18458
18465
|
? this.o.defaultTimeout
|
|
18459
|
-
:
|
|
18466
|
+
: jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions.defaultTimeout;
|
|
18460
18467
|
},
|
|
18461
18468
|
enumerable: false,
|
|
18462
18469
|
configurable: true
|
|
@@ -18486,7 +18493,7 @@ var Jodit = /** @class */ (function (_super) {
|
|
|
18486
18493
|
* Default settings
|
|
18487
18494
|
*/
|
|
18488
18495
|
get: function () {
|
|
18489
|
-
return
|
|
18496
|
+
return jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions;
|
|
18490
18497
|
},
|
|
18491
18498
|
enumerable: false,
|
|
18492
18499
|
configurable: true
|
|
@@ -18494,7 +18501,7 @@ var Jodit = /** @class */ (function (_super) {
|
|
|
18494
18501
|
Object.defineProperty(Jodit.prototype, "createInside", {
|
|
18495
18502
|
get: function () {
|
|
18496
18503
|
var _this = this;
|
|
18497
|
-
return new
|
|
18504
|
+
return new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Create(function () { return _this.ed; }, this.o.createAttributes);
|
|
18498
18505
|
},
|
|
18499
18506
|
enumerable: false,
|
|
18500
18507
|
configurable: true
|
|
@@ -19139,8 +19146,8 @@ var Jodit = /** @class */ (function (_super) {
|
|
|
19139
19146
|
var active = this.od.activeElement;
|
|
19140
19147
|
if (active &&
|
|
19141
19148
|
(active === this.iframe ||
|
|
19142
|
-
|
|
19143
|
-
|
|
19149
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.isOrContains(this.editor, active) ||
|
|
19150
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.isOrContains(this.toolbar.container, active))) {
|
|
19144
19151
|
return jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_WYSIWYG;
|
|
19145
19152
|
}
|
|
19146
19153
|
return jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SOURCE;
|
|
@@ -19297,7 +19304,7 @@ var Jodit = /** @class */ (function (_super) {
|
|
|
19297
19304
|
};
|
|
19298
19305
|
/** @override **/
|
|
19299
19306
|
Jodit.prototype.initOptions = function (options) {
|
|
19300
|
-
this.options = ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {},
|
|
19307
|
+
this.options = ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions));
|
|
19301
19308
|
};
|
|
19302
19309
|
/** @override **/
|
|
19303
19310
|
Jodit.prototype.initOwners = function () {
|
|
@@ -19316,7 +19323,7 @@ var Jodit = /** @class */ (function (_super) {
|
|
|
19316
19323
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.toArray)(element.attributes).forEach(function (attr) {
|
|
19317
19324
|
var name = attr.name;
|
|
19318
19325
|
var value = attr.value;
|
|
19319
|
-
if (
|
|
19326
|
+
if (jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions[name] !== undefined &&
|
|
19320
19327
|
(!options || options[name] === undefined)) {
|
|
19321
19328
|
if (['readonly', 'disabled'].indexOf(name) !== -1) {
|
|
19322
19329
|
value = value === '' || value === 'true';
|
|
@@ -19384,11 +19391,11 @@ var Jodit = /** @class */ (function (_super) {
|
|
|
19384
19391
|
element: element,
|
|
19385
19392
|
container: container,
|
|
19386
19393
|
workplace: workplace,
|
|
19387
|
-
statusbar: new
|
|
19394
|
+
statusbar: new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.StatusBar(this, container),
|
|
19388
19395
|
options: this.isReady
|
|
19389
|
-
? (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {},
|
|
19396
|
+
? (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions)
|
|
19390
19397
|
: this.options,
|
|
19391
|
-
history: new
|
|
19398
|
+
history: new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.History(this),
|
|
19392
19399
|
editorWindow: this.ow
|
|
19393
19400
|
};
|
|
19394
19401
|
this.__elementToPlace.set(editor, currentPlace);
|
|
@@ -19481,7 +19488,7 @@ var Jodit = /** @class */ (function (_super) {
|
|
|
19481
19488
|
return;
|
|
19482
19489
|
}
|
|
19483
19490
|
if (stayDefault === false || (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isPromise)(stayDefault)) {
|
|
19484
|
-
|
|
19491
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(defaultEditorArea);
|
|
19485
19492
|
}
|
|
19486
19493
|
addClassNames(_this.o.editorClassName, _this.editor);
|
|
19487
19494
|
if (_this.o.style) {
|
|
@@ -19571,7 +19578,7 @@ var Jodit = /** @class */ (function (_super) {
|
|
|
19571
19578
|
if (this.isInDestruct) {
|
|
19572
19579
|
return;
|
|
19573
19580
|
}
|
|
19574
|
-
this.setStatus(
|
|
19581
|
+
this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.STATUSES.beforeDestruct);
|
|
19575
19582
|
this.__elementToPlace.clear();
|
|
19576
19583
|
this.storage.clear();
|
|
19577
19584
|
this.buffer.clear();
|
|
@@ -19613,17 +19620,17 @@ var Jodit = /** @class */ (function (_super) {
|
|
|
19613
19620
|
_this.e.off(container);
|
|
19614
19621
|
_this.e.off(element);
|
|
19615
19622
|
_this.e.off(editor);
|
|
19616
|
-
|
|
19617
|
-
|
|
19623
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(workplace);
|
|
19624
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(editor);
|
|
19618
19625
|
if (container !== element) {
|
|
19619
|
-
|
|
19626
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(container);
|
|
19620
19627
|
}
|
|
19621
19628
|
Object.defineProperty(element, 'component', {
|
|
19622
19629
|
enumerable: false,
|
|
19623
19630
|
configurable: true,
|
|
19624
19631
|
value: null
|
|
19625
19632
|
});
|
|
19626
|
-
|
|
19633
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(iframe);
|
|
19627
19634
|
// inline mode
|
|
19628
19635
|
if (container === element) {
|
|
19629
19636
|
element.innerHTML = buffer;
|
|
@@ -19645,7 +19652,7 @@ var Jodit = /** @class */ (function (_super) {
|
|
|
19645
19652
|
Jodit.instances = jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .instances */ .VF;
|
|
19646
19653
|
Jodit.lang = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.lang;
|
|
19647
19654
|
Jodit.core = {
|
|
19648
|
-
Plugin:
|
|
19655
|
+
Plugin: jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Plugin
|
|
19649
19656
|
};
|
|
19650
19657
|
(0,tslib__WEBPACK_IMPORTED_MODULE_8__/* .__decorate */ .Cg)([
|
|
19651
19658
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.cache
|
|
@@ -19675,7 +19682,7 @@ var Jodit = /** @class */ (function (_super) {
|
|
|
19675
19682
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.derive)(jodit_core_traits_dlgs__WEBPACK_IMPORTED_MODULE_5__/* .Dlgs */ .z)
|
|
19676
19683
|
], Jodit);
|
|
19677
19684
|
return Jodit;
|
|
19678
|
-
}(
|
|
19685
|
+
}(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.ViewWithToolbar));
|
|
19679
19686
|
|
|
19680
19687
|
function addClassNames(className, elm) {
|
|
19681
19688
|
if (className) {
|
|
@@ -21992,16 +21999,16 @@ function loadTree(fb) {
|
|
|
21992
21999
|
/* harmony import */ var jodit_core_storage__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(63915);
|
|
21993
22000
|
/* harmony import */ var jodit_core_traits_dlgs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(58597);
|
|
21994
22001
|
/* harmony import */ var jodit_core_view_view_with_toolbar__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(14961);
|
|
21995
|
-
/* harmony import */ var
|
|
22002
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(36115);
|
|
22003
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(70265);
|
|
21996
22004
|
/* 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);
|
|
22005
|
+
/* harmony import */ var _fetch_load_tree__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(31859);
|
|
22006
|
+
/* harmony import */ var _listeners_native_listeners__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(62994);
|
|
22007
|
+
/* harmony import */ var _listeners_self_listeners__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(18043);
|
|
22008
|
+
/* harmony import */ var _listeners_state_listeners__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(80004);
|
|
22009
|
+
/* harmony import */ var _data_provider__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(75889);
|
|
22010
|
+
/* harmony import */ var _factories__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(83797);
|
|
22011
|
+
/* harmony import */ var _ui__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(10274);
|
|
22005
22012
|
/*!
|
|
22006
22013
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
22007
22014
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -22035,11 +22042,11 @@ var FileBrowser = /** @class */ (function (_super) {
|
|
|
22035
22042
|
var _this = _super.call(this, options) || this;
|
|
22036
22043
|
_this.browser = _this.c.div(_this.componentName);
|
|
22037
22044
|
_this.status_line = _this.c.div(_this.getFullElName('status'));
|
|
22038
|
-
_this.tree = new
|
|
22039
|
-
_this.files = new
|
|
22045
|
+
_this.tree = new _ui__WEBPACK_IMPORTED_MODULE_17__/* .FileBrowserTree */ .V(_this);
|
|
22046
|
+
_this.files = new _ui__WEBPACK_IMPORTED_MODULE_17__/* .FileBrowserFiles */ .Q(_this);
|
|
22040
22047
|
_this.state = (0,jodit_core_event_emitter__WEBPACK_IMPORTED_MODULE_4__/* .observable */ .sH)({
|
|
22041
22048
|
currentPath: '',
|
|
22042
|
-
currentSource:
|
|
22049
|
+
currentSource: _data_provider__WEBPACK_IMPORTED_MODULE_15__/* .DEFAULT_SOURCE_NAME */ .o,
|
|
22043
22050
|
currentBaseUrl: '',
|
|
22044
22051
|
activeElements: [],
|
|
22045
22052
|
elements: [],
|
|
@@ -22069,7 +22076,7 @@ var FileBrowser = /** @class */ (function (_super) {
|
|
|
22069
22076
|
_this.__prevButtons = [];
|
|
22070
22077
|
_this.attachEvents(options);
|
|
22071
22078
|
var self = _this;
|
|
22072
|
-
self.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {},
|
|
22079
|
+
self.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_9__/* .Config */ .T.defaultOptions.filebrowser);
|
|
22073
22080
|
self.browser.component = _this;
|
|
22074
22081
|
self.container = self.browser;
|
|
22075
22082
|
if (self.o.showFoldersPanel) {
|
|
@@ -22077,9 +22084,9 @@ var FileBrowser = /** @class */ (function (_super) {
|
|
|
22077
22084
|
}
|
|
22078
22085
|
self.browser.appendChild(self.files.container);
|
|
22079
22086
|
self.browser.appendChild(self.status_line);
|
|
22080
|
-
|
|
22081
|
-
|
|
22082
|
-
|
|
22087
|
+
_listeners_self_listeners__WEBPACK_IMPORTED_MODULE_13__/* .selfListeners */ .c.call(self);
|
|
22088
|
+
_listeners_native_listeners__WEBPACK_IMPORTED_MODULE_12__/* .nativeListeners */ .nW.call(self);
|
|
22089
|
+
_listeners_state_listeners__WEBPACK_IMPORTED_MODULE_14__/* .stateListeners */ .r.call(self);
|
|
22083
22090
|
var keys = [
|
|
22084
22091
|
'getLocalFileByUrl',
|
|
22085
22092
|
'crop',
|
|
@@ -22139,7 +22146,7 @@ var FileBrowser = /** @class */ (function (_super) {
|
|
|
22139
22146
|
};
|
|
22140
22147
|
Object.defineProperty(FileBrowser.prototype, "dataProvider", {
|
|
22141
22148
|
get: function () {
|
|
22142
|
-
return (0,
|
|
22149
|
+
return (0,_factories__WEBPACK_IMPORTED_MODULE_16__/* .makeDataProvider */ .S)(this, this.options);
|
|
22143
22150
|
},
|
|
22144
22151
|
enumerable: false,
|
|
22145
22152
|
configurable: true
|
|
@@ -22277,7 +22284,7 @@ var FileBrowser = /** @class */ (function (_super) {
|
|
|
22277
22284
|
_this.__updateToolbarButtons();
|
|
22278
22285
|
_this._dialog.open(_this.browser, header);
|
|
22279
22286
|
_this.e.fire('sort.filebrowser', _this.state.sortBy);
|
|
22280
|
-
(0,
|
|
22287
|
+
(0,_fetch_load_tree__WEBPACK_IMPORTED_MODULE_11__/* .loadTree */ .r)(_this)
|
|
22281
22288
|
.then(resolve, reject)
|
|
22282
22289
|
.finally(function () {
|
|
22283
22290
|
var _a;
|
|
@@ -22316,7 +22323,7 @@ var FileBrowser = /** @class */ (function (_super) {
|
|
|
22316
22323
|
FileBrowser.prototype.initUploader = function (editor) {
|
|
22317
22324
|
var _this = this;
|
|
22318
22325
|
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 || {},
|
|
22326
|
+
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
22327
|
var uploadHandler = function () { return (0,_fetch_load_items__WEBPACK_IMPORTED_MODULE_19__/* .loadItems */ .f)(_this); };
|
|
22321
22328
|
self.uploader = self.getInstance('Uploader', uploaderOptions);
|
|
22322
22329
|
self.uploader
|
|
@@ -22979,10 +22986,10 @@ var Command = /** @class */ (function () {
|
|
|
22979
22986
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(31635);
|
|
22980
22987
|
/* harmony import */ var jodit_core_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77753);
|
|
22981
22988
|
/* 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
|
|
22989
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
22990
|
+
/* harmony import */ var _command__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(84345);
|
|
22991
|
+
/* harmony import */ var _snapshot__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(58770);
|
|
22992
|
+
/* harmony import */ var _stack__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(66180);
|
|
22986
22993
|
/*!
|
|
22987
22994
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
22988
22995
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -22995,7 +23002,7 @@ var Command = /** @class */ (function () {
|
|
|
22995
23002
|
|
|
22996
23003
|
|
|
22997
23004
|
|
|
22998
|
-
|
|
23005
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.history = {
|
|
22999
23006
|
enable: true,
|
|
23000
23007
|
maxHistoryLength: Infinity,
|
|
23001
23008
|
timeout: 1000
|
|
@@ -23006,8 +23013,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.history = {
|
|
|
23006
23013
|
var History = /** @class */ (function (_super) {
|
|
23007
23014
|
(0,tslib__WEBPACK_IMPORTED_MODULE_6__/* .__extends */ .C6)(History, _super);
|
|
23008
23015
|
function History(editor, stack, snapshot) {
|
|
23009
|
-
if (stack === void 0) { stack = new
|
|
23010
|
-
if (snapshot === void 0) { snapshot = new
|
|
23016
|
+
if (stack === void 0) { stack = new _stack__WEBPACK_IMPORTED_MODULE_5__/* .Stack */ .B(editor.o.history.maxHistoryLength); }
|
|
23017
|
+
if (snapshot === void 0) { snapshot = new _snapshot__WEBPACK_IMPORTED_MODULE_4__/* .Snapshot */ .F(editor); }
|
|
23011
23018
|
var _this = _super.call(this, editor) || this;
|
|
23012
23019
|
_this.updateTick = 0;
|
|
23013
23020
|
_this.__stack = stack;
|
|
@@ -23122,8 +23129,8 @@ var History = /** @class */ (function (_super) {
|
|
|
23122
23129
|
History.prototype.updateStack = function (replace) {
|
|
23123
23130
|
if (replace === void 0) { replace = false; }
|
|
23124
23131
|
var newValue = this.snapshot.make();
|
|
23125
|
-
if (!
|
|
23126
|
-
var newCommand = new
|
|
23132
|
+
if (!_snapshot__WEBPACK_IMPORTED_MODULE_4__/* .Snapshot */ .F.equal(newValue, this.startValue)) {
|
|
23133
|
+
var newCommand = new _command__WEBPACK_IMPORTED_MODULE_3__/* .Command */ .u(this.startValue, newValue, this, this.updateTick);
|
|
23127
23134
|
if (replace) {
|
|
23128
23135
|
var command = this.__stack.current();
|
|
23129
23136
|
if (command && this.updateTick === command.tick) {
|
|
@@ -23475,11 +23482,11 @@ var Stack = /** @class */ (function () {
|
|
|
23475
23482
|
|
|
23476
23483
|
"use strict";
|
|
23477
23484
|
/* 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
|
|
23485
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
23486
|
+
/* harmony import */ var _icons_crop_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(928);
|
|
23487
|
+
/* harmony import */ var _icons_crop_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_icons_crop_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
23488
|
+
/* harmony import */ var _icons_resize_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(31230);
|
|
23489
|
+
/* harmony import */ var _icons_resize_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_resize_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
23483
23490
|
/*!
|
|
23484
23491
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
23485
23492
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -23489,7 +23496,7 @@ var Stack = /** @class */ (function () {
|
|
|
23489
23496
|
|
|
23490
23497
|
|
|
23491
23498
|
|
|
23492
|
-
|
|
23499
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.imageeditor = {
|
|
23493
23500
|
min_width: 20,
|
|
23494
23501
|
min_height: 20,
|
|
23495
23502
|
closeAfterSave: false,
|
|
@@ -23504,7 +23511,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.imageeditor
|
|
|
23504
23511
|
cropDefaultWidth: '70%',
|
|
23505
23512
|
cropDefaultHeight: '70%'
|
|
23506
23513
|
};
|
|
23507
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('crop', (
|
|
23514
|
+
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
23515
|
|
|
23509
23516
|
|
|
23510
23517
|
/***/ }),
|
|
@@ -23523,9 +23530,9 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('crop', (_icon
|
|
|
23523
23530
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(71842);
|
|
23524
23531
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(65147);
|
|
23525
23532
|
/* 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
|
|
23533
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(36115);
|
|
23534
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(93027);
|
|
23535
|
+
/* harmony import */ var _templates_form__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(24863);
|
|
23529
23536
|
/*!
|
|
23530
23537
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
23531
23538
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -23764,7 +23771,7 @@ var ImageEditor = /** @class */ (function (_super) {
|
|
|
23764
23771
|
_this.options =
|
|
23765
23772
|
editor && editor.o && editor.o.imageeditor
|
|
23766
23773
|
? editor.o.imageeditor
|
|
23767
|
-
:
|
|
23774
|
+
: jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.defaultOptions.imageeditor;
|
|
23768
23775
|
var o = _this.options;
|
|
23769
23776
|
_this.resizeUseRatio = o.resizeUseRatio;
|
|
23770
23777
|
_this.cropUseRatio = o.cropUseRatio;
|
|
@@ -23774,7 +23781,7 @@ var ImageEditor = /** @class */ (function (_super) {
|
|
|
23774
23781
|
saveas: (0,jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_4__/* .Button */ .$n)(_this.j, 'save', 'Save as ...')
|
|
23775
23782
|
};
|
|
23776
23783
|
_this.activeTab = o.resize ? TABS.resize : TABS.crop;
|
|
23777
|
-
_this.editor = (0,
|
|
23784
|
+
_this.editor = (0,_templates_form__WEBPACK_IMPORTED_MODULE_7__/* .form */ .Z)(_this.j, _this.options);
|
|
23778
23785
|
var _a = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.refs)(_this.editor), resizeBox = _a.resizeBox, cropBox = _a.cropBox;
|
|
23779
23786
|
_this.resize_box = resizeBox;
|
|
23780
23787
|
_this.crop_box = cropBox;
|
|
@@ -25443,7 +25450,8 @@ var ToolbarButton = /** @class */ (function (_super) {
|
|
|
25443
25450
|
};
|
|
25444
25451
|
ToolbarButton.prototype.createContainer = function () {
|
|
25445
25452
|
var cn = this.componentName;
|
|
25446
|
-
var container = this.j.c.span(cn)
|
|
25453
|
+
var container = this.j.c.span(cn);
|
|
25454
|
+
var button = _super.prototype.createContainer.call(this);
|
|
25447
25455
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.attr)(container, 'role', 'listitem');
|
|
25448
25456
|
button.classList.remove(cn);
|
|
25449
25457
|
button.classList.add(cn + '__button');
|
|
@@ -25808,6 +25816,7 @@ var ToolbarContent = /** @class */ (function (_super) {
|
|
|
25808
25816
|
/* harmony export */ });
|
|
25809
25817
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(31635);
|
|
25810
25818
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(22664);
|
|
25819
|
+
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(25376);
|
|
25811
25820
|
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(98253);
|
|
25812
25821
|
/* harmony import */ var _button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3258);
|
|
25813
25822
|
/*!
|
|
@@ -25820,6 +25829,7 @@ var ToolbarContent = /** @class */ (function (_super) {
|
|
|
25820
25829
|
|
|
25821
25830
|
|
|
25822
25831
|
|
|
25832
|
+
|
|
25823
25833
|
var ToolbarSelect = /** @class */ (function (_super) {
|
|
25824
25834
|
(0,tslib__WEBPACK_IMPORTED_MODULE_2__/* .__extends */ .C6)(ToolbarSelect, _super);
|
|
25825
25835
|
function ToolbarSelect() {
|
|
@@ -25842,7 +25852,7 @@ var ToolbarSelect = /** @class */ (function (_super) {
|
|
|
25842
25852
|
var keys = Object.keys(list);
|
|
25843
25853
|
key = keys[0];
|
|
25844
25854
|
}
|
|
25845
|
-
var text = (list[key.toString()] || key).toString();
|
|
25855
|
+
var text = ((0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__/* .isPlainObject */ .Q)(list) ? list[key.toString()] || key : key).toString();
|
|
25846
25856
|
this.state.text =
|
|
25847
25857
|
(_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
25858
|
}
|
|
@@ -26709,9 +26719,9 @@ function send(uploader, data) {
|
|
|
26709
26719
|
/* harmony import */ var jodit_core_component___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77753);
|
|
26710
26720
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(17352);
|
|
26711
26721
|
/* 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
|
|
26722
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
26723
|
+
/* harmony import */ var jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(74340);
|
|
26724
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(77334);
|
|
26715
26725
|
/*!
|
|
26716
26726
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
26717
26727
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -26731,7 +26741,7 @@ var Uploader = /** @class */ (function (_super) {
|
|
|
26731
26741
|
var _this = _super.call(this, editor) || this;
|
|
26732
26742
|
_this.path = '';
|
|
26733
26743
|
_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)(
|
|
26744
|
+
_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
26745
|
return _this;
|
|
26736
26746
|
}
|
|
26737
26747
|
Object.defineProperty(Uploader.prototype, "j", {
|
|
@@ -26800,14 +26810,14 @@ var Uploader = /** @class */ (function (_super) {
|
|
|
26800
26810
|
}
|
|
26801
26811
|
};
|
|
26802
26812
|
// send data on server
|
|
26803
|
-
if (!jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && (0,
|
|
26804
|
-
(0,
|
|
26813
|
+
if (!jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && (0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(cData)) {
|
|
26814
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, cData.files, handlerSuccess, handlerError).finally(onFinally);
|
|
26805
26815
|
return false;
|
|
26806
26816
|
}
|
|
26807
26817
|
if (jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && !jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_ES_NEXT) {
|
|
26808
|
-
return (0,
|
|
26818
|
+
return (0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .processOldBrowserDrag */ .dT)(self, cData, handlerSuccess, handlerError, onFinally);
|
|
26809
26819
|
}
|
|
26810
|
-
if ((0,
|
|
26820
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasItems */ .Pb)(cData)) {
|
|
26811
26821
|
var items = cData.items;
|
|
26812
26822
|
for (i = 0; i < items.length; i += 1) {
|
|
26813
26823
|
if (items[i].kind === 'file' &&
|
|
@@ -26818,7 +26828,7 @@ var Uploader = /** @class */ (function (_super) {
|
|
|
26818
26828
|
extension = mime[1]
|
|
26819
26829
|
? mime[1].toLowerCase()
|
|
26820
26830
|
: '';
|
|
26821
|
-
(0,
|
|
26831
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, [file], handlerSuccess, handlerError, processData).finally(onFinally);
|
|
26822
26832
|
}
|
|
26823
26833
|
e.preventDefault();
|
|
26824
26834
|
break;
|
|
@@ -26841,30 +26851,30 @@ var Uploader = /** @class */ (function (_super) {
|
|
|
26841
26851
|
e.preventDefault();
|
|
26842
26852
|
})
|
|
26843
26853
|
.on(form, 'dragover', function (event) {
|
|
26844
|
-
if ((0,
|
|
26845
|
-
(0,
|
|
26854
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer) ||
|
|
26855
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasItems */ .Pb)(event.dataTransfer)) {
|
|
26846
26856
|
form.classList.add('jodit_drag_hover');
|
|
26847
26857
|
event.preventDefault();
|
|
26848
26858
|
}
|
|
26849
26859
|
})
|
|
26850
26860
|
.on(form, 'dragend dragleave', function (event) {
|
|
26851
26861
|
form.classList.remove('jodit_drag_hover');
|
|
26852
|
-
if ((0,
|
|
26862
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer)) {
|
|
26853
26863
|
event.preventDefault();
|
|
26854
26864
|
}
|
|
26855
26865
|
})
|
|
26856
26866
|
.on(form, 'drop', function (event) {
|
|
26857
26867
|
form.classList.remove('jodit_drag_hover');
|
|
26858
|
-
if ((0,
|
|
26868
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer)) {
|
|
26859
26869
|
event.preventDefault();
|
|
26860
26870
|
event.stopImmediatePropagation();
|
|
26861
|
-
(0,
|
|
26871
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, event.dataTransfer.files, handlerSuccess, handlerError).finally(onFinally);
|
|
26862
26872
|
}
|
|
26863
26873
|
});
|
|
26864
26874
|
var inputFile = form.querySelector('input[type=file]');
|
|
26865
26875
|
if (inputFile) {
|
|
26866
26876
|
self.j.e.on(inputFile, 'change', function () {
|
|
26867
|
-
(0,
|
|
26877
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, inputFile.files, handlerSuccess, handlerError)
|
|
26868
26878
|
.then(function () {
|
|
26869
26879
|
inputFile.value = '';
|
|
26870
26880
|
if (!/safari/i.test(navigator.userAgent)) {
|
|
@@ -26884,7 +26894,7 @@ var Uploader = /** @class */ (function (_super) {
|
|
|
26884
26894
|
var handlerE = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isFunction)(handlerError)
|
|
26885
26895
|
? handlerError
|
|
26886
26896
|
: o.defaultHandlerError;
|
|
26887
|
-
(0,
|
|
26897
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .send */ .tN)(uploader, {
|
|
26888
26898
|
action: 'fileUploadRemote',
|
|
26889
26899
|
url: url
|
|
26890
26900
|
})
|
|
@@ -26902,7 +26912,7 @@ var Uploader = /** @class */ (function (_super) {
|
|
|
26902
26912
|
};
|
|
26903
26913
|
Uploader.prototype.destruct = function () {
|
|
26904
26914
|
this.setStatus(jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .STATUSES */ .f.beforeDestruct);
|
|
26905
|
-
var instances =
|
|
26915
|
+
var instances = jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .ajaxInstances */ .$j.get(this);
|
|
26906
26916
|
if (instances) {
|
|
26907
26917
|
instances.forEach(function (ajax) {
|
|
26908
26918
|
try {
|
|
@@ -27337,9 +27347,9 @@ var TabsWidget = function (jodit, tabs, state) {
|
|
|
27337
27347
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
27338
27348
|
/* harmony import */ var jodit_core_helpers___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65147);
|
|
27339
27349
|
/* 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
|
|
27350
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
27351
|
+
/* harmony import */ var _about_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(17995);
|
|
27352
|
+
/* harmony import */ var _about_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_about_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
27343
27353
|
/*!
|
|
27344
27354
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27345
27355
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27353,7 +27363,7 @@ var TabsWidget = function (jodit, tabs, state) {
|
|
|
27353
27363
|
|
|
27354
27364
|
|
|
27355
27365
|
|
|
27356
|
-
|
|
27366
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.about = {
|
|
27357
27367
|
exec: function (editor) {
|
|
27358
27368
|
var dialog = editor.dlg({ closeOnClickOverlay: true }), i = editor.i18n.bind(editor);
|
|
27359
27369
|
dialog
|
|
@@ -27378,7 +27388,7 @@ function about(editor) {
|
|
|
27378
27388
|
});
|
|
27379
27389
|
}
|
|
27380
27390
|
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', (
|
|
27391
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('about', (_about_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
27382
27392
|
|
|
27383
27393
|
|
|
27384
27394
|
/***/ }),
|
|
@@ -27628,9 +27638,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('addNe
|
|
|
27628
27638
|
|
|
27629
27639
|
"use strict";
|
|
27630
27640
|
/* 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
|
|
27641
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
27642
|
+
/* harmony import */ var _enter_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(86634);
|
|
27643
|
+
/* harmony import */ var _enter_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_enter_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
27634
27644
|
/*!
|
|
27635
27645
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27636
27646
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27639,9 +27649,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('addNe
|
|
|
27639
27649
|
|
|
27640
27650
|
|
|
27641
27651
|
|
|
27642
|
-
|
|
27643
|
-
|
|
27644
|
-
|
|
27652
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLine = true;
|
|
27653
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineOnDBLClick = true;
|
|
27654
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineTagsTriggers = [
|
|
27645
27655
|
'table',
|
|
27646
27656
|
'iframe',
|
|
27647
27657
|
'img',
|
|
@@ -27649,8 +27659,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.addNewLineTa
|
|
|
27649
27659
|
'pre',
|
|
27650
27660
|
'jodit'
|
|
27651
27661
|
];
|
|
27652
|
-
|
|
27653
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (
|
|
27662
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineDeltaShow = 20;
|
|
27663
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (_enter_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
27654
27664
|
|
|
27655
27665
|
|
|
27656
27666
|
/***/ }),
|
|
@@ -27812,11 +27822,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('ai-as
|
|
|
27812
27822
|
|
|
27813
27823
|
"use strict";
|
|
27814
27824
|
/* 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
|
|
27825
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
27826
|
+
/* harmony import */ var _ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91115);
|
|
27827
|
+
/* harmony import */ var _ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
27828
|
+
/* harmony import */ var _chat_bot_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1916);
|
|
27829
|
+
/* harmony import */ var _chat_bot_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_chat_bot_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
27820
27830
|
/*!
|
|
27821
27831
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27822
27832
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27857,10 +27867,10 @@ var aiAssistantDefaults = {
|
|
|
27857
27867
|
aiTranslateToRussianPrompt: 'Translate this content into Russian, ensuring the translation is accurate and maintains the original meaning.',
|
|
27858
27868
|
aiTranslateToArabicPrompt: 'Translate this content into Arabic, ensuring the translation is accurate and maintains the original meaning.'
|
|
27859
27869
|
};
|
|
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
|
-
|
|
27870
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.aiAssistant = aiAssistantDefaults;
|
|
27871
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-assistant', (_chat_bot_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
27872
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-commands', (_ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
27873
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls['ai-commands'] = {
|
|
27864
27874
|
isDisabled: function (editor) {
|
|
27865
27875
|
return !editor.o.aiAssistant.aiAssistantCallback;
|
|
27866
27876
|
},
|
|
@@ -27899,7 +27909,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls['ai
|
|
|
27899
27909
|
editor.e.fire('generateAiAssistantForm.ai-assistant', control.name);
|
|
27900
27910
|
}
|
|
27901
27911
|
};
|
|
27902
|
-
|
|
27912
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls['ai-assistant'] = {
|
|
27903
27913
|
isDisabled: function (editor) {
|
|
27904
27914
|
return !editor.o.aiAssistant.aiAssistantCallback;
|
|
27905
27915
|
},
|
|
@@ -28545,6 +28555,10 @@ function checkRemoveChar(jodit, fakeNode, backspace, mode) {
|
|
|
28545
28555
|
}
|
|
28546
28556
|
if ((_a = sibling.nodeValue) === null || _a === void 0 ? void 0 : _a.length) {
|
|
28547
28557
|
removed = tryRemoveChar(sibling, backspace, step, anotherSibling);
|
|
28558
|
+
if (!sibling.nodeValue.length &&
|
|
28559
|
+
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.isInlineBlock(sibling.parentNode)) {
|
|
28560
|
+
sibling.nodeValue = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INVISIBLE_SPACE;
|
|
28561
|
+
}
|
|
28548
28562
|
}
|
|
28549
28563
|
if (!((_b = sibling.nodeValue) === null || _b === void 0 ? void 0 : _b.length)) {
|
|
28550
28564
|
removeNeighbor = sibling;
|
|
@@ -29105,20 +29119,20 @@ function getMoveFilter(jodit) {
|
|
|
29105
29119
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(56298);
|
|
29106
29120
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65147);
|
|
29107
29121
|
/* 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
|
|
29122
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
29123
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(73124);
|
|
29124
|
+
/* harmony import */ var _icons_bold_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(52450);
|
|
29125
|
+
/* harmony import */ var _icons_bold_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_bold_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
29126
|
+
/* harmony import */ var _icons_italic_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(41111);
|
|
29127
|
+
/* harmony import */ var _icons_italic_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_icons_italic_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
29128
|
+
/* harmony import */ var _icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(49972);
|
|
29129
|
+
/* harmony import */ var _icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7__);
|
|
29130
|
+
/* harmony import */ var _icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(45062);
|
|
29131
|
+
/* harmony import */ var _icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8__);
|
|
29132
|
+
/* harmony import */ var _icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(18605);
|
|
29133
|
+
/* harmony import */ var _icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9__);
|
|
29134
|
+
/* harmony import */ var _icons_underline_svg__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(83389);
|
|
29135
|
+
/* harmony import */ var _icons_underline_svg__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_icons_underline_svg__WEBPACK_IMPORTED_MODULE_10__);
|
|
29122
29136
|
/*!
|
|
29123
29137
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
29124
29138
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -29142,7 +29156,7 @@ function getMoveFilter(jodit) {
|
|
|
29142
29156
|
*/
|
|
29143
29157
|
function bold(editor) {
|
|
29144
29158
|
var callBack = function (command) {
|
|
29145
|
-
var control =
|
|
29159
|
+
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
29160
|
var cssRules;
|
|
29147
29161
|
Object.keys(cssOptions).forEach(function (key) {
|
|
29148
29162
|
if (!cssRules) {
|
|
@@ -29194,12 +29208,12 @@ function bold(editor) {
|
|
|
29194
29208
|
});
|
|
29195
29209
|
}
|
|
29196
29210
|
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', (
|
|
29211
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('bold', (_icons_bold_svg__WEBPACK_IMPORTED_MODULE_5___default()))
|
|
29212
|
+
.set('italic', (_icons_italic_svg__WEBPACK_IMPORTED_MODULE_6___default()))
|
|
29213
|
+
.set('strikethrough', (_icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7___default()))
|
|
29214
|
+
.set('subscript', (_icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8___default()))
|
|
29215
|
+
.set('superscript', (_icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9___default()))
|
|
29216
|
+
.set('underline', (_icons_underline_svg__WEBPACK_IMPORTED_MODULE_10___default()));
|
|
29203
29217
|
|
|
29204
29218
|
|
|
29205
29219
|
/***/ }),
|
|
@@ -29270,9 +29284,9 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.controls.str
|
|
|
29270
29284
|
/* harmony import */ var jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(84976);
|
|
29271
29285
|
/* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(71005);
|
|
29272
29286
|
/* 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
|
|
29287
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(36115);
|
|
29288
|
+
/* harmony import */ var _class_span_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(93267);
|
|
29289
|
+
/* harmony import */ var _class_span_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_class_span_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
29276
29290
|
/*!
|
|
29277
29291
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
29278
29292
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -29286,7 +29300,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.controls.str
|
|
|
29286
29300
|
|
|
29287
29301
|
|
|
29288
29302
|
|
|
29289
|
-
|
|
29303
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.classSpan = {
|
|
29290
29304
|
command: 'applyClassName',
|
|
29291
29305
|
exec: jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_2__/* .memorizeExec */ .qN,
|
|
29292
29306
|
list: [
|
|
@@ -29381,7 +29395,7 @@ var classSpan = /** @class */ (function (_super) {
|
|
|
29381
29395
|
}(jodit_core_plugin__WEBPACK_IMPORTED_MODULE_3__/* .Plugin */ .k));
|
|
29382
29396
|
|
|
29383
29397
|
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', (
|
|
29398
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('class-span', (_class_span_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
29385
29399
|
|
|
29386
29400
|
|
|
29387
29401
|
/***/ }),
|
|
@@ -29531,9 +29545,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('clean
|
|
|
29531
29545
|
|
|
29532
29546
|
"use strict";
|
|
29533
29547
|
/* 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
|
|
29548
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
29549
|
+
/* harmony import */ var _eraser_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(71948);
|
|
29550
|
+
/* harmony import */ var _eraser_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_eraser_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
29537
29551
|
/*!
|
|
29538
29552
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
29539
29553
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -29542,7 +29556,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('clean
|
|
|
29542
29556
|
|
|
29543
29557
|
|
|
29544
29558
|
|
|
29545
|
-
|
|
29559
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.cleanHTML = {
|
|
29546
29560
|
timeout: 300,
|
|
29547
29561
|
removeEmptyElements: true,
|
|
29548
29562
|
fillEmptyParagraph: true,
|
|
@@ -29558,11 +29572,11 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.cleanHTML =
|
|
|
29558
29572
|
safeJavaScriptLink: true,
|
|
29559
29573
|
disableCleanFilter: null
|
|
29560
29574
|
};
|
|
29561
|
-
|
|
29575
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.eraser = {
|
|
29562
29576
|
command: 'removeFormat',
|
|
29563
29577
|
tooltip: 'Clear Formatting'
|
|
29564
29578
|
};
|
|
29565
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('eraser', (
|
|
29579
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('eraser', (_eraser_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
29566
29580
|
|
|
29567
29581
|
|
|
29568
29582
|
/***/ }),
|
|
@@ -30246,15 +30260,15 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('clipb
|
|
|
30246
30260
|
|
|
30247
30261
|
"use strict";
|
|
30248
30262
|
/* 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
|
|
30263
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
30264
|
+
/* harmony import */ var _icons_copy_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(51457);
|
|
30265
|
+
/* harmony import */ var _icons_copy_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_icons_copy_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
30266
|
+
/* harmony import */ var _icons_cut_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(23602);
|
|
30267
|
+
/* harmony import */ var _icons_cut_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_cut_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
30268
|
+
/* harmony import */ var _icons_paste_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(86899);
|
|
30269
|
+
/* harmony import */ var _icons_paste_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_paste_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
30270
|
+
/* harmony import */ var _icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(95320);
|
|
30271
|
+
/* 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
30272
|
/*!
|
|
30259
30273
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30260
30274
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30266,25 +30280,25 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('clipb
|
|
|
30266
30280
|
|
|
30267
30281
|
|
|
30268
30282
|
|
|
30269
|
-
|
|
30283
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.cut = {
|
|
30270
30284
|
command: 'cut',
|
|
30271
30285
|
isDisabled: function (editor) { return editor.s.isCollapsed(); },
|
|
30272
30286
|
tooltip: 'Cut selection'
|
|
30273
30287
|
};
|
|
30274
|
-
|
|
30288
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.copy = {
|
|
30275
30289
|
command: 'copy',
|
|
30276
30290
|
isDisabled: function (editor) { return editor.s.isCollapsed(); },
|
|
30277
30291
|
tooltip: 'Copy selection'
|
|
30278
30292
|
};
|
|
30279
|
-
|
|
30293
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.selectall = {
|
|
30280
30294
|
icon: 'select-all',
|
|
30281
30295
|
command: 'selectall',
|
|
30282
30296
|
tooltip: 'Select all'
|
|
30283
30297
|
};
|
|
30284
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('copy', (
|
|
30285
|
-
.set('cut', (
|
|
30286
|
-
.set('paste', (
|
|
30287
|
-
.set('select-all', (
|
|
30298
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('copy', (_icons_copy_svg__WEBPACK_IMPORTED_MODULE_2___default()))
|
|
30299
|
+
.set('cut', (_icons_cut_svg__WEBPACK_IMPORTED_MODULE_3___default()))
|
|
30300
|
+
.set('paste', (_icons_paste_svg__WEBPACK_IMPORTED_MODULE_4___default()))
|
|
30301
|
+
.set('select-all', (_icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
30288
30302
|
|
|
30289
30303
|
|
|
30290
30304
|
/***/ }),
|
|
@@ -30356,10 +30370,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('color
|
|
|
30356
30370
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55186);
|
|
30357
30371
|
/* harmony import */ var jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65147);
|
|
30358
30372
|
/* 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
|
|
30373
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
30374
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(16116);
|
|
30375
|
+
/* harmony import */ var _brush_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(45674);
|
|
30376
|
+
/* harmony import */ var _brush_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_brush_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
30363
30377
|
/*!
|
|
30364
30378
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30365
30379
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30371,8 +30385,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('color
|
|
|
30371
30385
|
|
|
30372
30386
|
|
|
30373
30387
|
|
|
30374
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('brush', (
|
|
30375
|
-
|
|
30388
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('brush', (_brush_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
30389
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.brushCell = {
|
|
30376
30390
|
isVisible: function (editor) {
|
|
30377
30391
|
return !editor.o.disablePlugins.includes('color');
|
|
30378
30392
|
},
|
|
@@ -30386,7 +30400,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
30386
30400
|
return false;
|
|
30387
30401
|
}
|
|
30388
30402
|
var makeColorPicker = function (key) {
|
|
30389
|
-
return (0,
|
|
30403
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, function (value) {
|
|
30390
30404
|
selected.forEach(function (cell) {
|
|
30391
30405
|
(0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.css)(cell, key, value);
|
|
30392
30406
|
});
|
|
@@ -30396,7 +30410,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
30396
30410
|
editor.unlock();
|
|
30397
30411
|
}, (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.css)(selected[0], key));
|
|
30398
30412
|
};
|
|
30399
|
-
return (0,
|
|
30413
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .TabsWidget */ .Zg)(editor, [
|
|
30400
30414
|
{
|
|
30401
30415
|
name: 'Background',
|
|
30402
30416
|
content: makeColorPicker('background-color')
|
|
@@ -30407,7 +30421,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
30407
30421
|
},
|
|
30408
30422
|
tooltip: 'Background'
|
|
30409
30423
|
};
|
|
30410
|
-
|
|
30424
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.brush = {
|
|
30411
30425
|
isVisible: function (editor) {
|
|
30412
30426
|
return !editor.o.disablePlugins.includes('color');
|
|
30413
30427
|
},
|
|
@@ -30455,7 +30469,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
30455
30469
|
}
|
|
30456
30470
|
}, editor.editor);
|
|
30457
30471
|
}
|
|
30458
|
-
var backgroundTag = (0,
|
|
30472
|
+
var backgroundTag = (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, function (value) {
|
|
30459
30473
|
if (!currentElement) {
|
|
30460
30474
|
editor.execCommand('background', false, value);
|
|
30461
30475
|
}
|
|
@@ -30466,7 +30480,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
30466
30480
|
(0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.dataBind)(button, 'color-mode', 'background');
|
|
30467
30481
|
close();
|
|
30468
30482
|
}, bg_color);
|
|
30469
|
-
var colorTab = (0,
|
|
30483
|
+
var colorTab = (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, function (value) {
|
|
30470
30484
|
if (!currentElement) {
|
|
30471
30485
|
editor.execCommand('forecolor', false, value);
|
|
30472
30486
|
}
|
|
@@ -30490,7 +30504,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
30490
30504
|
if (editor.o.colorPickerDefaultTab !== 'background') {
|
|
30491
30505
|
tabs = tabs.reverse();
|
|
30492
30506
|
}
|
|
30493
|
-
return (0,
|
|
30507
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .TabsWidget */ .Zg)(editor, tabs, currentElement);
|
|
30494
30508
|
},
|
|
30495
30509
|
exec: function (jodit, current, _a) {
|
|
30496
30510
|
var button = _a.button;
|
|
@@ -30530,10 +30544,10 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
30530
30544
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
30531
30545
|
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38322);
|
|
30532
30546
|
/* 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
|
|
30547
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
30548
|
+
/* harmony import */ var _copy_format_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(3843);
|
|
30549
|
+
/* harmony import */ var _copy_format_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_copy_format_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
30550
|
+
/* harmony import */ var _langs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(94628);
|
|
30537
30551
|
/*!
|
|
30538
30552
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30539
30553
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30591,7 +30605,7 @@ var getStyles = function (editor, box, defaultStyles) {
|
|
|
30591
30605
|
}
|
|
30592
30606
|
return result;
|
|
30593
30607
|
};
|
|
30594
|
-
|
|
30608
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.copyformat = {
|
|
30595
30609
|
exec: function (editor, current, _a) {
|
|
30596
30610
|
var button = _a.button;
|
|
30597
30611
|
if (!current) {
|
|
@@ -30642,10 +30656,10 @@ function copyFormat(editor) {
|
|
|
30642
30656
|
name: 'copyformat',
|
|
30643
30657
|
group: 'clipboard'
|
|
30644
30658
|
});
|
|
30645
|
-
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .extendLang */ .JW)(
|
|
30659
|
+
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .extendLang */ .JW)(_langs__WEBPACK_IMPORTED_MODULE_5__);
|
|
30646
30660
|
}
|
|
30647
30661
|
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', (
|
|
30662
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('copyformat', (_copy_format_svg__WEBPACK_IMPORTED_MODULE_4___default()));
|
|
30649
30663
|
|
|
30650
30664
|
|
|
30651
30665
|
/***/ }),
|
|
@@ -32493,8 +32507,8 @@ function wrapText(fake, jodit) {
|
|
|
32493
32507
|
/* unused harmony export file */
|
|
32494
32508
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55186);
|
|
32495
32509
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
32496
|
-
/* harmony import */ var
|
|
32497
|
-
/* harmony import */ var
|
|
32510
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
32511
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(16116);
|
|
32498
32512
|
/*!
|
|
32499
32513
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
32500
32514
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -32504,7 +32518,7 @@ function wrapText(fake, jodit) {
|
|
|
32504
32518
|
|
|
32505
32519
|
|
|
32506
32520
|
|
|
32507
|
-
|
|
32521
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.file = {
|
|
32508
32522
|
popup: function (editor, current, close) {
|
|
32509
32523
|
var insert = function (url, title) {
|
|
32510
32524
|
if (title === void 0) { title = ''; }
|
|
@@ -32518,7 +32532,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fil
|
|
|
32518
32532
|
? current
|
|
32519
32533
|
: jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor);
|
|
32520
32534
|
}
|
|
32521
|
-
return (0,
|
|
32535
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_3__/* .FileSelectorWidget */ .kG)(editor, {
|
|
32522
32536
|
filebrowser: function (data) {
|
|
32523
32537
|
data.files &&
|
|
32524
32538
|
data.files.forEach(function (file) { return insert(data.baseurl + file); });
|
|
@@ -32644,11 +32658,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('focus
|
|
|
32644
32658
|
/* harmony import */ var jodit_core_helpers_string_trim__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(59101);
|
|
32645
32659
|
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38322);
|
|
32646
32660
|
/* 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
|
|
32661
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
32662
|
+
/* harmony import */ var _icons_font_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(48842);
|
|
32663
|
+
/* harmony import */ var _icons_font_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_font_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
32664
|
+
/* harmony import */ var _icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(25501);
|
|
32665
|
+
/* harmony import */ var _icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
32652
32666
|
/*!
|
|
32653
32667
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
32654
32668
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -32665,9 +32679,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('focus
|
|
|
32665
32679
|
/**
|
|
32666
32680
|
* Default font-size points
|
|
32667
32681
|
*/
|
|
32668
|
-
|
|
32669
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('font', (
|
|
32670
|
-
|
|
32682
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.defaultFontSizePoints = 'px';
|
|
32683
|
+
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()));
|
|
32684
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fontsize = {
|
|
32671
32685
|
command: 'fontsize',
|
|
32672
32686
|
data: {
|
|
32673
32687
|
cssRule: 'font-size',
|
|
@@ -32726,7 +32740,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.fon
|
|
|
32726
32740
|
return keySet.has(normalize(value.toString()));
|
|
32727
32741
|
}
|
|
32728
32742
|
};
|
|
32729
|
-
|
|
32743
|
+
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
32744
|
var _a = (0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__read */ .zs)(value.split(','), 1), first = _a[0];
|
|
32731
32745
|
return (0,jodit_core_helpers_string_trim__WEBPACK_IMPORTED_MODULE_1__/* .trimChars */ .Gd)(first, '"\'');
|
|
32732
32746
|
}, list: {
|
|
@@ -32829,11 +32843,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('font'
|
|
|
32829
32843
|
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
32830
32844
|
|
|
32831
32845
|
"use strict";
|
|
32832
|
-
/* harmony import */ var
|
|
32846
|
+
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55186);
|
|
32847
|
+
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(25376);
|
|
32833
32848
|
/* 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
|
|
32849
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
32850
|
+
/* harmony import */ var _paragraph_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(29348);
|
|
32851
|
+
/* harmony import */ var _paragraph_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_paragraph_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
32837
32852
|
/*!
|
|
32838
32853
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
32839
32854
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -32843,13 +32858,14 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('font'
|
|
|
32843
32858
|
|
|
32844
32859
|
|
|
32845
32860
|
|
|
32846
|
-
|
|
32847
|
-
|
|
32861
|
+
|
|
32862
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('paragraph', (_paragraph_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
32863
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.paragraph = {
|
|
32848
32864
|
command: 'formatBlock',
|
|
32849
32865
|
value: function (editor, button) {
|
|
32850
32866
|
var _a, _b;
|
|
32851
32867
|
var control = button.control, current = editor.s.current();
|
|
32852
|
-
var currentBox =
|
|
32868
|
+
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
32869
|
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
32870
|
},
|
|
32855
32871
|
update: function (editor, button) {
|
|
@@ -32858,7 +32874,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.par
|
|
|
32858
32874
|
return false;
|
|
32859
32875
|
}
|
|
32860
32876
|
var currentValue = button.state.value, list = control.list;
|
|
32861
|
-
if (list && list[currentValue.toString()]) {
|
|
32877
|
+
if ((0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__/* .isPlainObject */ .Q)(list) && list[currentValue.toString()]) {
|
|
32862
32878
|
if (editor.o.textIcons) {
|
|
32863
32879
|
button.state.text = list[currentValue.toString()].toString();
|
|
32864
32880
|
}
|
|
@@ -32882,9 +32898,9 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.par
|
|
|
32882
32898
|
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
32899
|
},
|
|
32884
32900
|
isActive: function (editor, button) {
|
|
32885
|
-
var _a;
|
|
32886
32901
|
return (button.state.value !== editor.o.enter &&
|
|
32887
|
-
|
|
32902
|
+
(0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__/* .isPlainObject */ .Q)(button.control.list) &&
|
|
32903
|
+
Boolean(button.control.list[button.state.value]));
|
|
32888
32904
|
},
|
|
32889
32905
|
childTemplate: function (e, key, value) {
|
|
32890
32906
|
return "<".concat(key, " style=\"margin:0;padding:0\"><span>").concat(e.i18n(value), "</span></").concat(key, ">");
|
|
@@ -32936,11 +32952,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('forma
|
|
|
32936
32952
|
"use strict";
|
|
32937
32953
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17352);
|
|
32938
32954
|
/* 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
|
|
32955
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
32956
|
+
/* harmony import */ var _icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(24772);
|
|
32957
|
+
/* harmony import */ var _icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
32958
|
+
/* harmony import */ var _icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(66547);
|
|
32959
|
+
/* harmony import */ var _icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
32944
32960
|
/*!
|
|
32945
32961
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
32946
32962
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -32952,10 +32968,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('forma
|
|
|
32952
32968
|
|
|
32953
32969
|
|
|
32954
32970
|
|
|
32955
|
-
|
|
32956
|
-
|
|
32957
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('fullsize', (
|
|
32958
|
-
|
|
32971
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.fullsize = false;
|
|
32972
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.globalFullSize = true;
|
|
32973
|
+
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()));
|
|
32974
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.fullsize = {
|
|
32959
32975
|
exec: function (editor) {
|
|
32960
32976
|
editor.toggleFullSize();
|
|
32961
32977
|
},
|
|
@@ -33290,9 +33306,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('hotke
|
|
|
33290
33306
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(71842);
|
|
33291
33307
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
33292
33308
|
/* 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
|
|
33309
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
33310
|
+
/* harmony import */ var _hr_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(89097);
|
|
33311
|
+
/* harmony import */ var _hr_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_hr_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
33296
33312
|
/*!
|
|
33297
33313
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
33298
33314
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -33303,8 +33319,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('hotke
|
|
|
33303
33319
|
|
|
33304
33320
|
|
|
33305
33321
|
|
|
33306
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('hr', (
|
|
33307
|
-
|
|
33322
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('hr', (_hr_svg__WEBPACK_IMPORTED_MODULE_4___default()));
|
|
33323
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.hr = {
|
|
33308
33324
|
command: 'insertHorizontalRule',
|
|
33309
33325
|
tags: ['hr'],
|
|
33310
33326
|
tooltip: 'Insert Horizontal Line'
|
|
@@ -33824,6 +33840,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('image
|
|
|
33824
33840
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
33825
33841
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
33826
33842
|
*/
|
|
33843
|
+
/**
|
|
33844
|
+
* @module plugins/image-properties
|
|
33845
|
+
*/
|
|
33827
33846
|
|
|
33828
33847
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.image = {
|
|
33829
33848
|
dialogWidth: 600,
|
|
@@ -35346,10 +35365,10 @@ function applySize(image, imageWidth, imageHeight, sizeIsLocked) {
|
|
|
35346
35365
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
35347
35366
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65147);
|
|
35348
35367
|
/* 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
|
|
35368
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
35369
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(16116);
|
|
35370
|
+
/* harmony import */ var _image_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(64831);
|
|
35371
|
+
/* harmony import */ var _image_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_image_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
35353
35372
|
/*!
|
|
35354
35373
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
35355
35374
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -35363,8 +35382,8 @@ function applySize(image, imageWidth, imageHeight, sizeIsLocked) {
|
|
|
35363
35382
|
|
|
35364
35383
|
|
|
35365
35384
|
|
|
35366
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('image', (
|
|
35367
|
-
|
|
35385
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('image', (_image_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
35386
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.image = {
|
|
35368
35387
|
popup: function (editor, current, close) {
|
|
35369
35388
|
var sourceImage = null;
|
|
35370
35389
|
if (current &&
|
|
@@ -35376,7 +35395,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.prototype.controls.ima
|
|
|
35376
35395
|
: (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.$$)('img', current)[0];
|
|
35377
35396
|
}
|
|
35378
35397
|
editor.s.save();
|
|
35379
|
-
return (0,
|
|
35398
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__/* .FileSelectorWidget */ .kG)(editor, {
|
|
35380
35399
|
filebrowser: function (data) {
|
|
35381
35400
|
editor.s.restore();
|
|
35382
35401
|
data.files &&
|
|
@@ -35431,12 +35450,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('image
|
|
|
35431
35450
|
"use strict";
|
|
35432
35451
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(71842);
|
|
35433
35452
|
/* 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
|
|
35453
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
35454
|
+
/* harmony import */ var _icons_indent_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(67176);
|
|
35455
|
+
/* harmony import */ var _icons_indent_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_indent_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
35456
|
+
/* harmony import */ var _icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(14017);
|
|
35457
|
+
/* harmony import */ var _icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
35458
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(3392);
|
|
35440
35459
|
/*!
|
|
35441
35460
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
35442
35461
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -35448,17 +35467,17 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('image
|
|
|
35448
35467
|
|
|
35449
35468
|
|
|
35450
35469
|
|
|
35451
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('indent', (
|
|
35452
|
-
|
|
35470
|
+
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()));
|
|
35471
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.indent = {
|
|
35453
35472
|
tooltip: 'Increase Indent'
|
|
35454
35473
|
};
|
|
35455
|
-
|
|
35474
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.outdent = {
|
|
35456
35475
|
isDisabled: function (editor) {
|
|
35457
35476
|
var current = editor.s.current();
|
|
35458
35477
|
if (current) {
|
|
35459
35478
|
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
35479
|
if (currentBox) {
|
|
35461
|
-
var arrow = (0,
|
|
35480
|
+
var arrow = (0,_helpers__WEBPACK_IMPORTED_MODULE_5__/* .getKey */ .i)(editor.o.direction, currentBox);
|
|
35462
35481
|
return (!currentBox.style[arrow] ||
|
|
35463
35482
|
parseInt(currentBox.style[arrow], 10) <= 0);
|
|
35464
35483
|
}
|
|
@@ -35467,7 +35486,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.out
|
|
|
35467
35486
|
},
|
|
35468
35487
|
tooltip: 'Decrease Indent'
|
|
35469
35488
|
};
|
|
35470
|
-
|
|
35489
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.indentMargin = 10;
|
|
35471
35490
|
|
|
35472
35491
|
|
|
35473
35492
|
/***/ }),
|
|
@@ -35730,12 +35749,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inden
|
|
|
35730
35749
|
|
|
35731
35750
|
"use strict";
|
|
35732
35751
|
/* 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
|
|
35752
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
35753
|
+
/* harmony import */ var _items_a__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(97836);
|
|
35754
|
+
/* harmony import */ var _items_cells__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(82558);
|
|
35755
|
+
/* harmony import */ var _items_iframe__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(6295);
|
|
35756
|
+
/* harmony import */ var _items_img__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(26396);
|
|
35737
35757
|
/* 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
35758
|
/* harmony import */ var jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38681);
|
|
35740
35759
|
/* 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
35760
|
/* harmony import */ var jodit_plugins_inline_popup_icons_addrow_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(64637);
|
|
@@ -35769,10 +35788,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inden
|
|
|
35769
35788
|
|
|
35770
35789
|
|
|
35771
35790
|
|
|
35772
|
-
|
|
35773
|
-
|
|
35774
|
-
|
|
35775
|
-
|
|
35791
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInline = true;
|
|
35792
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineForSelection = false;
|
|
35793
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineDisableFor = [];
|
|
35794
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineDisabledButtons = ['source'];
|
|
35776
35795
|
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
35796
|
.set('addrow', (jodit_plugins_inline_popup_icons_addrow_svg__WEBPACK_IMPORTED_MODULE_7___default()))
|
|
35778
35797
|
.set('merge', (jodit_plugins_inline_popup_icons_merge_svg__WEBPACK_IMPORTED_MODULE_8___default()))
|
|
@@ -35780,14 +35799,14 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('addcolumn', (
|
|
|
35780
35799
|
.set('splitg', (jodit_plugins_inline_popup_icons_splitg_svg__WEBPACK_IMPORTED_MODULE_9___default()))
|
|
35781
35800
|
.set('splitv', (jodit_plugins_inline_popup_icons_splitv_svg__WEBPACK_IMPORTED_MODULE_10___default()))
|
|
35782
35801
|
.set('th-list', (jodit_plugins_inline_popup_icons_th_list_svg__WEBPACK_IMPORTED_MODULE_12___default()));
|
|
35783
|
-
|
|
35784
|
-
a:
|
|
35785
|
-
img:
|
|
35786
|
-
cells:
|
|
35802
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.popup = {
|
|
35803
|
+
a: _items_a__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A,
|
|
35804
|
+
img: _items_img__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .A,
|
|
35805
|
+
cells: _items_cells__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .A,
|
|
35787
35806
|
toolbar: _items_toolbar__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .A,
|
|
35788
|
-
jodit:
|
|
35789
|
-
iframe:
|
|
35790
|
-
'jodit-media':
|
|
35807
|
+
jodit: _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
35808
|
+
iframe: _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
35809
|
+
'jodit-media': _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
35791
35810
|
selection: [
|
|
35792
35811
|
'bold',
|
|
35793
35812
|
'underline',
|
|
@@ -36428,12 +36447,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inlin
|
|
|
36428
36447
|
/* unused harmony export justify */
|
|
36429
36448
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55186);
|
|
36430
36449
|
/* 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__);
|
|
36450
|
+
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65147);
|
|
36451
|
+
/* harmony import */ var jodit_core_helpers_utils_align__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(40080);
|
|
36452
|
+
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(38322);
|
|
36453
|
+
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(931);
|
|
36436
36454
|
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(36115);
|
|
36455
|
+
/* harmony import */ var _justify_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(80515);
|
|
36456
|
+
/* harmony import */ var _justify_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_justify_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
36437
36457
|
/*!
|
|
36438
36458
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
36439
36459
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -36446,7 +36466,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inlin
|
|
|
36446
36466
|
|
|
36447
36467
|
|
|
36448
36468
|
|
|
36449
|
-
|
|
36469
|
+
|
|
36470
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('justify', (_justify_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
36450
36471
|
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.align = {
|
|
36451
36472
|
name: 'left',
|
|
36452
36473
|
tooltip: 'Align',
|
|
@@ -36455,22 +36476,25 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.ali
|
|
|
36455
36476
|
if (current) {
|
|
36456
36477
|
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
36478
|
editor.editor;
|
|
36458
|
-
var currentValue = (0,
|
|
36479
|
+
var currentValue = (0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__/* .css */ .A)(currentBox, 'text-align').toString();
|
|
36459
36480
|
if (control.defaultValue &&
|
|
36460
36481
|
control.defaultValue.indexOf(currentValue) !== -1) {
|
|
36461
36482
|
currentValue = 'left';
|
|
36462
36483
|
}
|
|
36463
|
-
|
|
36464
|
-
|
|
36465
|
-
|
|
36466
|
-
|
|
36484
|
+
var list = control.list, data = control.data;
|
|
36485
|
+
if (data &&
|
|
36486
|
+
data.currentValue !== currentValue &&
|
|
36487
|
+
list &&
|
|
36488
|
+
((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isPlainObject)(list)
|
|
36489
|
+
? list[currentValue]
|
|
36490
|
+
: list.includes(currentValue))) {
|
|
36467
36491
|
if (editor.o.textIcons || control.component === 'select') {
|
|
36468
36492
|
button.state.text = currentValue;
|
|
36469
36493
|
}
|
|
36470
36494
|
else {
|
|
36471
36495
|
button.state.icon.name = currentValue;
|
|
36472
36496
|
}
|
|
36473
|
-
|
|
36497
|
+
data.currentValue = currentValue;
|
|
36474
36498
|
}
|
|
36475
36499
|
}
|
|
36476
36500
|
},
|
|
@@ -36481,7 +36505,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.ali
|
|
|
36481
36505
|
}
|
|
36482
36506
|
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
36507
|
editor.editor;
|
|
36484
|
-
return (btn.control.defaultValue.indexOf((0,
|
|
36508
|
+
return (btn.control.defaultValue.indexOf((0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__/* .css */ .A)(currentBox, 'text-align').toString()) === -1);
|
|
36485
36509
|
},
|
|
36486
36510
|
defaultValue: ['left', 'start', 'inherit'],
|
|
36487
36511
|
data: {
|
|
@@ -36535,7 +36559,7 @@ function justify(editor) {
|
|
|
36535
36559
|
if (!currentBox) {
|
|
36536
36560
|
currentBox = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.wrapInline(current, editor.o.enterBlock, editor);
|
|
36537
36561
|
}
|
|
36538
|
-
(0,
|
|
36562
|
+
(0,jodit_core_helpers_utils_align__WEBPACK_IMPORTED_MODULE_3__/* .alignElement */ .Op)(command, currentBox);
|
|
36539
36563
|
});
|
|
36540
36564
|
return false;
|
|
36541
36565
|
};
|
|
@@ -36760,9 +36784,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('limit
|
|
|
36760
36784
|
"use strict";
|
|
36761
36785
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(65147);
|
|
36762
36786
|
/* 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
|
|
36787
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
36788
|
+
/* harmony import */ var _line_height_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(223);
|
|
36789
|
+
/* harmony import */ var _line_height_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_line_height_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
36766
36790
|
/*!
|
|
36767
36791
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
36768
36792
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -36772,9 +36796,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('limit
|
|
|
36772
36796
|
|
|
36773
36797
|
|
|
36774
36798
|
|
|
36775
|
-
|
|
36776
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('line-height', (
|
|
36777
|
-
|
|
36799
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.defaultLineHeight = null;
|
|
36800
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('line-height', (_line_height_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
36801
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.lineHeight = {
|
|
36778
36802
|
command: 'applyLineHeight',
|
|
36779
36803
|
tags: ['ol'],
|
|
36780
36804
|
tooltip: 'Line height',
|
|
@@ -37346,12 +37370,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('lineH
|
|
|
37346
37370
|
"use strict";
|
|
37347
37371
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55186);
|
|
37348
37372
|
/* 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
|
|
37373
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
37374
|
+
/* harmony import */ var _icons_link_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(95032);
|
|
37375
|
+
/* harmony import */ var _icons_link_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_link_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
37376
|
+
/* harmony import */ var _icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(73533);
|
|
37377
|
+
/* harmony import */ var _icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
37378
|
+
/* harmony import */ var _template__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(21329);
|
|
37355
37379
|
/*!
|
|
37356
37380
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
37357
37381
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -37363,8 +37387,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('lineH
|
|
|
37363
37387
|
|
|
37364
37388
|
|
|
37365
37389
|
|
|
37366
|
-
|
|
37367
|
-
formTemplate:
|
|
37390
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.link = {
|
|
37391
|
+
formTemplate: _template__WEBPACK_IMPORTED_MODULE_5__/* .formTemplate */ .B,
|
|
37368
37392
|
followOnDblClick: false,
|
|
37369
37393
|
processVideoLink: true,
|
|
37370
37394
|
processPastedLink: true,
|
|
@@ -37376,8 +37400,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.link = {
|
|
|
37376
37400
|
selectOptionsClassName: [],
|
|
37377
37401
|
hotkeys: ['ctrl+k', 'cmd+k']
|
|
37378
37402
|
};
|
|
37379
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('link', (
|
|
37380
|
-
|
|
37403
|
+
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()));
|
|
37404
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.unlink = {
|
|
37381
37405
|
exec: function (editor, current) {
|
|
37382
37406
|
var anchor = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor);
|
|
37383
37407
|
if (anchor) {
|
|
@@ -37388,7 +37412,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.unl
|
|
|
37388
37412
|
},
|
|
37389
37413
|
tooltip: 'Unlink'
|
|
37390
37414
|
};
|
|
37391
|
-
|
|
37415
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.link = {
|
|
37392
37416
|
isActive: function (editor) {
|
|
37393
37417
|
var current = editor.s.current();
|
|
37394
37418
|
return Boolean(current && jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor));
|
|
@@ -37942,9 +37966,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('media
|
|
|
37942
37966
|
"use strict";
|
|
37943
37967
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17352);
|
|
37944
37968
|
/* 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
|
|
37969
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
37970
|
+
/* harmony import */ var jodit_modules_toolbar_collection_collection__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(97394);
|
|
37971
|
+
/* harmony import */ var jodit_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(8809);
|
|
37948
37972
|
/*!
|
|
37949
37973
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
37950
37974
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -37955,9 +37979,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('media
|
|
|
37955
37979
|
|
|
37956
37980
|
|
|
37957
37981
|
|
|
37958
|
-
|
|
37959
|
-
|
|
37960
|
-
|
|
37982
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.mobileTapTimeout = 300;
|
|
37983
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.toolbarAdaptive = true;
|
|
37984
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsMD = [
|
|
37961
37985
|
{
|
|
37962
37986
|
group: 'font-style',
|
|
37963
37987
|
buttons: []
|
|
@@ -38004,7 +38028,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsMD =
|
|
|
38004
38028
|
'|',
|
|
38005
38029
|
'dots'
|
|
38006
38030
|
];
|
|
38007
|
-
|
|
38031
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsSM = [
|
|
38008
38032
|
{
|
|
38009
38033
|
group: 'font-style',
|
|
38010
38034
|
buttons: []
|
|
@@ -38039,7 +38063,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsSM =
|
|
|
38039
38063
|
'|',
|
|
38040
38064
|
'dots'
|
|
38041
38065
|
];
|
|
38042
|
-
|
|
38066
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsXS = [
|
|
38043
38067
|
{
|
|
38044
38068
|
group: 'font-style',
|
|
38045
38069
|
buttons: []
|
|
@@ -38060,17 +38084,17 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsXS =
|
|
|
38060
38084
|
'---',
|
|
38061
38085
|
'dots'
|
|
38062
38086
|
];
|
|
38063
|
-
|
|
38087
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.dots = {
|
|
38064
38088
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SOURCE + jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_WYSIWYG,
|
|
38065
38089
|
popup: function (editor, current, close, button) {
|
|
38066
38090
|
var store = button.control.data;
|
|
38067
38091
|
if (store === undefined) {
|
|
38068
38092
|
store = {
|
|
38069
|
-
toolbar: (0,
|
|
38093
|
+
toolbar: (0,jodit_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_4__/* .makeCollection */ .$K)(editor),
|
|
38070
38094
|
rebuild: function () {
|
|
38071
38095
|
var _a, _b;
|
|
38072
38096
|
if (button) {
|
|
38073
|
-
var buttons = editor.e.fire('getDiffButtons.mobile', button.closest(
|
|
38097
|
+
var buttons = editor.e.fire('getDiffButtons.mobile', button.closest(jodit_modules_toolbar_collection_collection__WEBPACK_IMPORTED_MODULE_3__/* .ToolbarCollection */ .Q));
|
|
38074
38098
|
if (buttons && store) {
|
|
38075
38099
|
store.toolbar.build((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.splitArray)(buttons));
|
|
38076
38100
|
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 +38205,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('mobil
|
|
|
38181
38205
|
"use strict";
|
|
38182
38206
|
/* harmony import */ var jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(72197);
|
|
38183
38207
|
/* 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
|
|
38208
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
38209
|
+
/* harmony import */ var _icons_ol_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(40037);
|
|
38210
|
+
/* harmony import */ var _icons_ol_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_ol_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
38211
|
+
/* harmony import */ var _icons_ul_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(83207);
|
|
38212
|
+
/* harmony import */ var _icons_ul_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_ul_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
38189
38213
|
/*!
|
|
38190
38214
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
38191
38215
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -38204,8 +38228,8 @@ var memoExec = function (jodit, _, _a) {
|
|
|
38204
38228
|
(0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_0__/* .dataBind */ .m)(jodit, key, value);
|
|
38205
38229
|
jodit.execCommand(control.command, false, value === 'default' ? null : value);
|
|
38206
38230
|
};
|
|
38207
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('ol', (
|
|
38208
|
-
|
|
38231
|
+
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()));
|
|
38232
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.ul = {
|
|
38209
38233
|
command: 'insertUnorderedList',
|
|
38210
38234
|
tags: ['ul'],
|
|
38211
38235
|
tooltip: 'Insert Unordered List',
|
|
@@ -38217,7 +38241,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.ul
|
|
|
38217
38241
|
},
|
|
38218
38242
|
exec: memoExec
|
|
38219
38243
|
};
|
|
38220
|
-
|
|
38244
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.ol = {
|
|
38221
38245
|
command: 'insertOrderedList',
|
|
38222
38246
|
tags: ['ol'],
|
|
38223
38247
|
tooltip: 'Insert Ordered List',
|
|
@@ -38612,8 +38636,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('paste
|
|
|
38612
38636
|
"use strict";
|
|
38613
38637
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(31635);
|
|
38614
38638
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17352);
|
|
38615
|
-
/* harmony import */ var
|
|
38616
|
-
/* harmony import */ var
|
|
38639
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
38640
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(90823);
|
|
38617
38641
|
/*!
|
|
38618
38642
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
38619
38643
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -38624,19 +38648,19 @@ var _a;
|
|
|
38624
38648
|
|
|
38625
38649
|
|
|
38626
38650
|
|
|
38627
|
-
|
|
38628
|
-
|
|
38629
|
-
|
|
38630
|
-
|
|
38631
|
-
|
|
38651
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.askBeforePasteHTML = true;
|
|
38652
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.processPasteHTML = true;
|
|
38653
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.scrollToPastedContent = true;
|
|
38654
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.pasteExcludeStripTags = ['br', 'hr'];
|
|
38655
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.pasteHTMLActionList = [
|
|
38632
38656
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_AS_HTML, text: 'Keep' },
|
|
38633
38657
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_AS_TEXT, text: 'Insert as Text' },
|
|
38634
38658
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_ONLY_TEXT, text: 'Insert only Text' }
|
|
38635
38659
|
];
|
|
38636
|
-
|
|
38637
|
-
|
|
38660
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.memorizeChoiceWhenPasteFragment = false;
|
|
38661
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.nl2brInPlainText = true;
|
|
38638
38662
|
var psKey = 'pasteStorage';
|
|
38639
|
-
|
|
38663
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.paste = {
|
|
38640
38664
|
tooltip: 'Paste from clipboard',
|
|
38641
38665
|
exec: function (editor_1, _1, _a) {
|
|
38642
38666
|
return (0,tslib__WEBPACK_IMPORTED_MODULE_3__/* .__awaiter */ .sH)(this, arguments, void 0, function (editor, _, _b) {
|
|
@@ -38705,7 +38729,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.pas
|
|
|
38705
38729
|
!error && editor.e.fire('afterPaste');
|
|
38706
38730
|
}
|
|
38707
38731
|
else if (text.length) {
|
|
38708
|
-
(0,
|
|
38732
|
+
(0,_helpers__WEBPACK_IMPORTED_MODULE_2__/* .pasteInsertHtml */ .sX)(null, editor, text);
|
|
38709
38733
|
editor.e.fire('afterPaste');
|
|
38710
38734
|
}
|
|
38711
38735
|
else {
|
|
@@ -39465,10 +39489,10 @@ function generateCriticalCSS(jodit) {
|
|
|
39465
39489
|
/* harmony import */ var jodit_core_helpers_utils_default_language__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(17527);
|
|
39466
39490
|
/* harmony import */ var jodit_core_helpers_utils_print__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(98434);
|
|
39467
39491
|
/* 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
|
|
39492
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(36115);
|
|
39493
|
+
/* harmony import */ var _lib_generate_critical_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(11131);
|
|
39494
|
+
/* harmony import */ var _print_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(59827);
|
|
39495
|
+
/* harmony import */ var _print_svg__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_print_svg__WEBPACK_IMPORTED_MODULE_7__);
|
|
39472
39496
|
/*!
|
|
39473
39497
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
39474
39498
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -39483,8 +39507,8 @@ function generateCriticalCSS(jodit) {
|
|
|
39483
39507
|
|
|
39484
39508
|
|
|
39485
39509
|
|
|
39486
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('print', (
|
|
39487
|
-
|
|
39510
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('print', (_print_svg__WEBPACK_IMPORTED_MODULE_7___default()));
|
|
39511
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.print = {
|
|
39488
39512
|
exec: function (editor) {
|
|
39489
39513
|
var iframe = editor.create.element('iframe');
|
|
39490
39514
|
Object.assign(iframe.style, {
|
|
@@ -39495,7 +39519,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_7__/* .Config */ .T.prototype.controls.pri
|
|
|
39495
39519
|
height: 0,
|
|
39496
39520
|
border: 0
|
|
39497
39521
|
});
|
|
39498
|
-
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .getContainer */ .My)(editor,
|
|
39522
|
+
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .getContainer */ .My)(editor, jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T).appendChild(iframe);
|
|
39499
39523
|
var afterFinishPrint = function () {
|
|
39500
39524
|
editor.e.off(editor.ow, 'mousemove', afterFinishPrint);
|
|
39501
39525
|
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.safeRemove(iframe);
|
|
@@ -39513,7 +39537,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_7__/* .Config */ .T.prototype.controls.pri
|
|
|
39513
39537
|
myWindow.document.write('<!doctype html><html lang="' +
|
|
39514
39538
|
(0,jodit_core_helpers_utils_default_language__WEBPACK_IMPORTED_MODULE_8__/* .defaultLanguage */ .e)(editor.o.language) +
|
|
39515
39539
|
'"><head><title></title></head><style>' +
|
|
39516
|
-
(0,
|
|
39540
|
+
(0,_lib_generate_critical_css__WEBPACK_IMPORTED_MODULE_6__/* .generateCriticalCSS */ .Y)(editor) +
|
|
39517
39541
|
'</style><body></body></html>');
|
|
39518
39542
|
myWindow.document.close();
|
|
39519
39543
|
(0,jodit_core_helpers_utils_print__WEBPACK_IMPORTED_MODULE_3__/* .previewBox */ .u)(editor, undefined, 'px', myWindow.document.body);
|
|
@@ -39548,11 +39572,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('print
|
|
|
39548
39572
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
39549
39573
|
/* harmony import */ var jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(29866);
|
|
39550
39574
|
/* 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
|
|
39575
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
39576
|
+
/* harmony import */ var _icons_redo_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(34045);
|
|
39577
|
+
/* harmony import */ var _icons_redo_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_redo_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
39578
|
+
/* harmony import */ var _icons_undo_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(39199);
|
|
39579
|
+
/* harmony import */ var _icons_undo_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_icons_undo_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
39556
39580
|
/*!
|
|
39557
39581
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
39558
39582
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -39566,13 +39590,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('print
|
|
|
39566
39590
|
|
|
39567
39591
|
|
|
39568
39592
|
|
|
39569
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('redo', (
|
|
39570
|
-
|
|
39593
|
+
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()));
|
|
39594
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.redo = {
|
|
39571
39595
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
39572
39596
|
isDisabled: function (editor) { return !editor.history.canRedo(); },
|
|
39573
39597
|
tooltip: 'Redo'
|
|
39574
39598
|
};
|
|
39575
|
-
|
|
39599
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.undo = {
|
|
39576
39600
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
39577
39601
|
isDisabled: function (editor) { return !editor.history.canUndo(); },
|
|
39578
39602
|
tooltip: 'Undo'
|
|
@@ -40619,9 +40643,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('resiz
|
|
|
40619
40643
|
|
|
40620
40644
|
"use strict";
|
|
40621
40645
|
/* 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
|
|
40646
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
40647
|
+
/* harmony import */ var _search_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(21917);
|
|
40648
|
+
/* harmony import */ var _search_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_search_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
40625
40649
|
/*!
|
|
40626
40650
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
40627
40651
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -40631,14 +40655,14 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('resiz
|
|
|
40631
40655
|
|
|
40632
40656
|
|
|
40633
40657
|
|
|
40634
|
-
|
|
40635
|
-
|
|
40658
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.useSearch = true;
|
|
40659
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.search = {
|
|
40636
40660
|
lazyIdleTimeout: 0,
|
|
40637
40661
|
// @ts-ignore Because Highlight is not defined in the types TS 5.3.3
|
|
40638
40662
|
useCustomHighlightAPI: typeof window.Highlight !== 'undefined'
|
|
40639
40663
|
};
|
|
40640
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('search', (
|
|
40641
|
-
|
|
40664
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('search', (_search_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
40665
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.find = {
|
|
40642
40666
|
tooltip: 'Find',
|
|
40643
40667
|
icon: 'search',
|
|
40644
40668
|
exec: function (jodit, _, _a) {
|
|
@@ -42390,9 +42414,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('size'
|
|
|
42390
42414
|
"use strict";
|
|
42391
42415
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17352);
|
|
42392
42416
|
/* 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
|
|
42417
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
42418
|
+
/* harmony import */ var _source_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9103);
|
|
42419
|
+
/* harmony import */ var _source_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_source_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
42396
42420
|
/*!
|
|
42397
42421
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
42398
42422
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -42402,9 +42426,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('size'
|
|
|
42402
42426
|
|
|
42403
42427
|
|
|
42404
42428
|
|
|
42405
|
-
|
|
42406
|
-
|
|
42407
|
-
|
|
42429
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.beautifyHTML = !jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.IS_IE;
|
|
42430
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditor = 'ace';
|
|
42431
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditorNativeOptions = {
|
|
42408
42432
|
/**
|
|
42409
42433
|
* Show gutter
|
|
42410
42434
|
*/
|
|
@@ -42426,15 +42450,15 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.sourceEditor
|
|
|
42426
42450
|
*/
|
|
42427
42451
|
highlightActiveLine: true
|
|
42428
42452
|
};
|
|
42429
|
-
|
|
42453
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditorCDNUrlsJS = [
|
|
42430
42454
|
'https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.2/ace.js'
|
|
42431
42455
|
];
|
|
42432
|
-
|
|
42456
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.beautifyHTMLCDNUrlsJS = [
|
|
42433
42457
|
'https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify.min.js',
|
|
42434
42458
|
'https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify-html.min.js'
|
|
42435
42459
|
];
|
|
42436
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('source', (
|
|
42437
|
-
|
|
42460
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('source', (_source_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
42461
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.source = {
|
|
42438
42462
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
42439
42463
|
exec: function (editor) {
|
|
42440
42464
|
editor.toggleMode();
|
|
@@ -43282,9 +43306,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('sourc
|
|
|
43282
43306
|
|
|
43283
43307
|
"use strict";
|
|
43284
43308
|
/* 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
|
|
43309
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
43310
|
+
/* harmony import */ var _spellcheck_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(49989);
|
|
43311
|
+
/* harmony import */ var _spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
43288
43312
|
/*!
|
|
43289
43313
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
43290
43314
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -43293,13 +43317,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('sourc
|
|
|
43293
43317
|
|
|
43294
43318
|
|
|
43295
43319
|
|
|
43296
|
-
|
|
43297
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('spellcheck', (
|
|
43298
|
-
|
|
43320
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.spellcheck = false;
|
|
43321
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('spellcheck', (_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
43322
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.spellcheck = {
|
|
43299
43323
|
isActive: function (e) {
|
|
43300
43324
|
return e.o.spellcheck;
|
|
43301
43325
|
},
|
|
43302
|
-
icon: (
|
|
43326
|
+
icon: (_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default()),
|
|
43303
43327
|
name: 'spellcheck',
|
|
43304
43328
|
command: 'toggleSpellcheck',
|
|
43305
43329
|
tooltip: 'Spellcheck'
|
|
@@ -44090,9 +44114,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('stick
|
|
|
44090
44114
|
|
|
44091
44115
|
"use strict";
|
|
44092
44116
|
/* 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
|
|
44117
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
44118
|
+
/* harmony import */ var _symbols_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(81875);
|
|
44119
|
+
/* harmony import */ var _symbols_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_symbols_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
44096
44120
|
/*!
|
|
44097
44121
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
44098
44122
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -44101,8 +44125,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('stick
|
|
|
44101
44125
|
|
|
44102
44126
|
|
|
44103
44127
|
|
|
44104
|
-
|
|
44105
|
-
|
|
44128
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.usePopupForSpecialCharacters = false;
|
|
44129
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.specialCharacters = [
|
|
44106
44130
|
'!',
|
|
44107
44131
|
'"',
|
|
44108
44132
|
'#',
|
|
@@ -44314,8 +44338,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.specialChara
|
|
|
44314
44338
|
'♦',
|
|
44315
44339
|
'≈'
|
|
44316
44340
|
];
|
|
44317
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('symbols', (
|
|
44318
|
-
|
|
44341
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('symbols', (_symbols_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
44342
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.symbols = {
|
|
44319
44343
|
hotkeys: ['ctrl+shift+i', 'cmd+shift+i'],
|
|
44320
44344
|
tooltip: 'Insert Special Character',
|
|
44321
44345
|
popup: function (editor, current, close) {
|
|
@@ -45315,9 +45339,9 @@ function findCell(editor, key) {
|
|
|
45315
45339
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65147);
|
|
45316
45340
|
/* harmony import */ var jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(97369);
|
|
45317
45341
|
/* 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
|
|
45342
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
45343
|
+
/* harmony import */ var _table_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(67447);
|
|
45344
|
+
/* harmony import */ var _table_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_table_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
45321
45345
|
/*!
|
|
45322
45346
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
45323
45347
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -45329,12 +45353,12 @@ function findCell(editor, key) {
|
|
|
45329
45353
|
|
|
45330
45354
|
|
|
45331
45355
|
|
|
45332
|
-
|
|
45356
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.table = {
|
|
45333
45357
|
selectionCellStyle: 'border: 1px double #1e88e5 !important;',
|
|
45334
45358
|
useExtraClassesOptions: false
|
|
45335
45359
|
};
|
|
45336
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('table', (
|
|
45337
|
-
|
|
45360
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('table', (_table_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
45361
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.table = {
|
|
45338
45362
|
data: {
|
|
45339
45363
|
cols: 10,
|
|
45340
45364
|
rows: 10,
|
|
@@ -45501,10 +45525,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('table
|
|
|
45501
45525
|
/* harmony import */ var jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(35265);
|
|
45502
45526
|
/* harmony import */ var jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(20703);
|
|
45503
45527
|
/* 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
|
|
45528
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
45529
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(16116);
|
|
45530
|
+
/* harmony import */ var _video_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(36339);
|
|
45531
|
+
/* harmony import */ var _video_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_video_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
45508
45532
|
/*!
|
|
45509
45533
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
45510
45534
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -45517,8 +45541,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('table
|
|
|
45517
45541
|
|
|
45518
45542
|
|
|
45519
45543
|
|
|
45520
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('video', (
|
|
45521
|
-
|
|
45544
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('video', (_video_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
45545
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.video = {
|
|
45522
45546
|
popup: function (editor, current, close) {
|
|
45523
45547
|
var formLink = new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIForm */ .XV(editor, [
|
|
45524
45548
|
new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIBlock */ .Yh(editor, [
|
|
@@ -45569,7 +45593,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.prototype.controls.vid
|
|
|
45569
45593
|
formCode.onSubmit(function (data) {
|
|
45570
45594
|
insertCode(data.code);
|
|
45571
45595
|
});
|
|
45572
|
-
return (0,
|
|
45596
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__/* .TabsWidget */ .Zg)(editor, tabs);
|
|
45573
45597
|
},
|
|
45574
45598
|
tags: ['iframe'],
|
|
45575
45599
|
tooltip: 'Insert youtube/vimeo video'
|