jodit 4.2.15 → 4.2.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +81 -5
- package/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +408 -395
- package/es2015/jodit.min.js +2 -2
- package/es2015/plugins/debug/debug.js +1 -1
- package/es2015/plugins/debug/debug.min.js +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.js +11 -11
- package/es2015/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es2018/jodit.css +1 -1
- package/es2018/jodit.fat.min.js +2 -2
- package/es2018/jodit.js +408 -397
- package/es2018/jodit.min.js +2 -2
- package/es2018/plugins/debug/debug.js +1 -1
- package/es2018/plugins/debug/debug.min.js +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.js +11 -11
- package/es2018/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es2021/jodit.css +1 -1
- package/es2021/jodit.fat.min.js +2 -2
- package/es2021/jodit.js +408 -395
- package/es2021/jodit.min.js +2 -2
- package/es2021/plugins/debug/debug.js +1 -1
- package/es2021/plugins/debug/debug.min.js +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.js +11 -11
- package/es2021/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es2021.en/jodit.css +1 -1
- package/es2021.en/jodit.fat.min.js +2 -2
- package/es2021.en/jodit.js +408 -395
- package/es2021.en/jodit.min.js +2 -2
- package/es2021.en/plugins/debug/debug.js +1 -1
- package/es2021.en/plugins/debug/debug.min.js +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.js +11 -11
- package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es5/jodit.css +2 -2
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +413 -400
- package/es5/jodit.min.css +2 -2
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/debug/debug.js +1 -1
- package/es5/plugins/debug/debug.min.js +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.js +11 -11
- package/es5/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/esm/core/constants.js +1 -1
- package/esm/core/helpers/utils/append-script.js +2 -0
- package/esm/core/helpers/utils/config-proto.js +1 -1
- package/esm/core/request/ajax.js +1 -1
- package/esm/core/ui/helpers/get-control-type.js +15 -9
- package/esm/core/ui/helpers/get-strong-control-types.js +1 -1
- package/esm/jodit.d.ts +1 -1
- package/esm/jodit.js +1 -1
- package/esm/modules/file-browser/file-browser.js +1 -1
- package/esm/modules/history/history.js +1 -1
- package/esm/modules/image-editor/config.js +1 -1
- package/esm/modules/image-editor/image-editor.js +1 -1
- package/esm/modules/toolbar/button/button.js +2 -1
- package/esm/modules/toolbar/button/select/select.js +2 -1
- package/esm/modules/uploader/uploader.js +1 -1
- package/esm/plugins/about/about.js +1 -1
- package/esm/plugins/add-new-line/config.js +1 -1
- package/esm/plugins/ai-assistant/config.js +1 -1
- package/esm/plugins/backspace/cases/check-remove-char.js +4 -0
- package/esm/plugins/bold/bold.js +1 -1
- package/esm/plugins/class-span/class-span.js +1 -1
- package/esm/plugins/clean-html/config.js +1 -1
- package/esm/plugins/clipboard/config.js +1 -1
- package/esm/plugins/color/config.js +1 -1
- package/esm/plugins/copy-format/copy-format.js +1 -1
- package/esm/plugins/file/file.js +1 -1
- package/esm/plugins/font/config.js +1 -1
- package/esm/plugins/format-block/config.js +6 -4
- package/esm/plugins/fullsize/config.js +1 -1
- package/esm/plugins/hotkeys/config.d.ts +13 -0
- package/esm/plugins/hotkeys/config.js +0 -13
- package/esm/plugins/hr/hr.js +1 -1
- package/esm/plugins/image/image.js +1 -1
- package/esm/plugins/image-properties/config.d.ts +0 -3
- package/esm/plugins/image-properties/config.js +3 -0
- package/esm/plugins/image-properties/interface.d.ts +121 -0
- package/esm/plugins/indent/config.js +1 -1
- package/esm/plugins/inline-popup/config/config.js +1 -1
- package/esm/plugins/justify/justify.js +10 -6
- package/esm/plugins/line-height/config.js +1 -1
- package/esm/plugins/link/config.js +1 -1
- package/esm/plugins/mobile/config.js +1 -1
- package/esm/plugins/ordered-list/config.js +1 -1
- package/esm/plugins/paste/config.js +1 -1
- package/esm/plugins/print/print.js +1 -1
- package/esm/plugins/redo-undo/redo-undo.js +1 -1
- package/esm/plugins/search/config.js +1 -1
- package/esm/plugins/source/config.js +1 -1
- package/esm/plugins/speech-recognize/config.js +1 -1
- package/esm/plugins/spellcheck/config.js +1 -1
- package/esm/plugins/symbols/config.js +1 -1
- package/esm/plugins/table/config.js +1 -1
- package/esm/plugins/video/config.js +1 -1
- package/esm/types/toolbar.d.ts +1 -2
- package/package.json +1 -1
- package/types/jodit.d.ts +1 -1
- package/types/plugins/hotkeys/config.d.ts +13 -0
- package/types/plugins/image-properties/config.d.ts +0 -3
- package/types/plugins/image-properties/interface.d.ts +121 -0
- package/types/types/toolbar.d.ts +1 -2
package/es2015/jodit.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
|
|
3
3
|
* Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
|
|
4
|
-
* Version: v4.2.
|
|
4
|
+
* Version: v4.2.18
|
|
5
5
|
* Url: https://xdsoft.net/jodit/
|
|
6
6
|
* License(s): MIT
|
|
7
7
|
*/
|
|
@@ -1736,7 +1736,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1736
1736
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
1737
1737
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
1738
1738
|
*/
|
|
1739
|
-
const APP_VERSION = "4.2.
|
|
1739
|
+
const APP_VERSION = "4.2.18";
|
|
1740
1740
|
// prettier-ignore
|
|
1741
1741
|
const ES = "es2015";
|
|
1742
1742
|
const IS_ES_MODERN = true;
|
|
@@ -7300,6 +7300,8 @@ const appendScriptAsync = cacheLoaders((jodit, url) => {
|
|
|
7300
7300
|
}
|
|
7301
7301
|
const script = jodit.c.element('script', {
|
|
7302
7302
|
type: 'text/javascript',
|
|
7303
|
+
crossorigin: 'anonymous',
|
|
7304
|
+
referrerpolicy: 'no-referrer',
|
|
7303
7305
|
async: true,
|
|
7304
7306
|
src: (0,_complete_url__WEBPACK_IMPORTED_MODULE_1__/* .completeUrl */ .X)(url)
|
|
7305
7307
|
});
|
|
@@ -7540,9 +7542,9 @@ const completeUrl = (url) => {
|
|
|
7540
7542
|
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(25376);
|
|
7541
7543
|
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(98253);
|
|
7542
7544
|
/* harmony import */ var jodit_core_helpers_checker_is_void__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(35642);
|
|
7545
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(36115);
|
|
7543
7546
|
/* harmony import */ var _extend__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(49429);
|
|
7544
|
-
/* harmony import */ var
|
|
7545
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
7547
|
+
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(84976);
|
|
7546
7548
|
/*!
|
|
7547
7549
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
7548
7550
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -7590,7 +7592,7 @@ function ConfigProto(options, proto, deep = 0) {
|
|
|
7590
7592
|
if (Object.getPrototypeOf(options) !== Object.prototype) {
|
|
7591
7593
|
return options;
|
|
7592
7594
|
}
|
|
7593
|
-
const def =
|
|
7595
|
+
const def = jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.defaultOptions;
|
|
7594
7596
|
if ((0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__/* .isString */ .K)(options.preset)) {
|
|
7595
7597
|
if (def.presets[options.preset] !== undefined) {
|
|
7596
7598
|
const preset = def.presets[options.preset];
|
|
@@ -7620,7 +7622,7 @@ function ConfigProto(options, proto, deep = 0) {
|
|
|
7620
7622
|
return newOpt;
|
|
7621
7623
|
}
|
|
7622
7624
|
function ConfigFlatten(obj) {
|
|
7623
|
-
return (0,
|
|
7625
|
+
return (0,_utils__WEBPACK_IMPORTED_MODULE_1__/* .keys */ .HP)(obj, false).reduce((app, key) => {
|
|
7624
7626
|
app[key] = obj[key];
|
|
7625
7627
|
return app;
|
|
7626
7628
|
}, {});
|
|
@@ -9588,9 +9590,9 @@ Plugin.requires = [];
|
|
|
9588
9590
|
/* harmony import */ var jodit_core_decorators_autobind_autobind__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(26318);
|
|
9589
9591
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65147);
|
|
9590
9592
|
/* harmony import */ var jodit_core_helpers_utils_error__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(50156);
|
|
9591
|
-
/* harmony import */ var
|
|
9593
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
9594
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(27337);
|
|
9592
9595
|
/* harmony import */ var _response__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(91672);
|
|
9593
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
9594
9596
|
/*!
|
|
9595
9597
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
9596
9598
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -9608,7 +9610,7 @@ class Ajax {
|
|
|
9608
9610
|
className() {
|
|
9609
9611
|
return 'Ajax';
|
|
9610
9612
|
}
|
|
9611
|
-
constructor(options, defaultAjaxOptions =
|
|
9613
|
+
constructor(options, defaultAjaxOptions = jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.defaultAjaxOptions) {
|
|
9612
9614
|
this.__async = new jodit_core_async__WEBPACK_IMPORTED_MODULE_0__/* .Async */ .j();
|
|
9613
9615
|
this.__isFulfilled = false;
|
|
9614
9616
|
this.__activated = false;
|
|
@@ -15019,7 +15021,6 @@ function getControlType(button, controls) {
|
|
|
15019
15021
|
* @private
|
|
15020
15022
|
*/
|
|
15021
15023
|
function findControlType(path, controls) {
|
|
15022
|
-
var _a;
|
|
15023
15024
|
// eslint-disable-next-line prefer-const
|
|
15024
15025
|
let [namespaceOrKey, key] = path.split(/\./);
|
|
15025
15026
|
let store = controls;
|
|
@@ -15031,14 +15032,22 @@ function findControlType(path, controls) {
|
|
|
15031
15032
|
else {
|
|
15032
15033
|
key = namespaceOrKey;
|
|
15033
15034
|
}
|
|
15034
|
-
const list =
|
|
15035
|
+
// const list = store[key]?.list;
|
|
15035
15036
|
return store[key]
|
|
15036
|
-
? Object.assign(
|
|
15037
|
-
|
|
15038
|
-
|
|
15039
|
-
|
|
15040
|
-
|
|
15041
|
-
|
|
15037
|
+
? Object.assign({ name: key }, (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__.ConfigFlatten)(store[key])
|
|
15038
|
+
// list: isArray(list)
|
|
15039
|
+
// ? (<Array<string>>list).reduce(
|
|
15040
|
+
// (
|
|
15041
|
+
// acc: IDictionary<string | number>,
|
|
15042
|
+
// k: string | number
|
|
15043
|
+
// ) => {
|
|
15044
|
+
// acc[String(k)] = k;
|
|
15045
|
+
// return acc;
|
|
15046
|
+
// },
|
|
15047
|
+
// {}
|
|
15048
|
+
// )
|
|
15049
|
+
// : list
|
|
15050
|
+
) : undefined;
|
|
15042
15051
|
}
|
|
15043
15052
|
|
|
15044
15053
|
|
|
@@ -15053,8 +15062,8 @@ function findControlType(path, controls) {
|
|
|
15053
15062
|
/* harmony export */ });
|
|
15054
15063
|
/* harmony import */ var jodit_core_helpers_checker_is_array__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(37923);
|
|
15055
15064
|
/* harmony import */ var jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(97369);
|
|
15056
|
-
/* harmony import */ var
|
|
15057
|
-
/* harmony import */ var
|
|
15065
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
15066
|
+
/* harmony import */ var _get_control_type__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(57023);
|
|
15058
15067
|
/*!
|
|
15059
15068
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
15060
15069
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -15074,7 +15083,7 @@ function getStrongControlTypes(items, controls) {
|
|
|
15074
15083
|
const value = items[key] || {};
|
|
15075
15084
|
return (0,jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_0__.ConfigProto)({ name: key }, value);
|
|
15076
15085
|
});
|
|
15077
|
-
return elements.map(item => (0,
|
|
15086
|
+
return elements.map(item => (0,_get_control_type__WEBPACK_IMPORTED_MODULE_2__/* .getControlType */ .U)(item, controls || jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.defaultOptions.controls));
|
|
15078
15087
|
}
|
|
15079
15088
|
|
|
15080
15089
|
|
|
@@ -16170,8 +16179,8 @@ View.defaultOptions = {
|
|
|
16170
16179
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(65147);
|
|
16171
16180
|
/* harmony import */ var jodit_core_request__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(53883);
|
|
16172
16181
|
/* harmony import */ var jodit_core_traits_dlgs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(58597);
|
|
16173
|
-
/* harmony import */ var
|
|
16174
|
-
/* harmony import */ var
|
|
16182
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(36115);
|
|
16183
|
+
/* harmony import */ var jodit_modules__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(37435);
|
|
16175
16184
|
/*!
|
|
16176
16185
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
16177
16186
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -16190,7 +16199,7 @@ var Jodit_1;
|
|
|
16190
16199
|
|
|
16191
16200
|
const __defaultStyleDisplayKey = 'data-jodit-default-style-display';
|
|
16192
16201
|
const __defaultClassesKey = 'data-jodit-default-classes';
|
|
16193
|
-
let Jodit = Jodit_1 = class Jodit extends
|
|
16202
|
+
let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE_7__.ViewWithToolbar {
|
|
16194
16203
|
/** @override */
|
|
16195
16204
|
className() {
|
|
16196
16205
|
return 'Jodit';
|
|
@@ -16237,7 +16246,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
16237
16246
|
get defaultTimeout() {
|
|
16238
16247
|
return (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isNumber)(this.o.defaultTimeout)
|
|
16239
16248
|
? this.o.defaultTimeout
|
|
16240
|
-
:
|
|
16249
|
+
: jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions.defaultTimeout;
|
|
16241
16250
|
}
|
|
16242
16251
|
/**
|
|
16243
16252
|
* Method wrap usual Has Object in Object helper for prevent deep object merging in options*
|
|
@@ -16263,10 +16272,10 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
16263
16272
|
* Default settings
|
|
16264
16273
|
*/
|
|
16265
16274
|
static get defaultOptions() {
|
|
16266
|
-
return
|
|
16275
|
+
return jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions;
|
|
16267
16276
|
}
|
|
16268
16277
|
get createInside() {
|
|
16269
|
-
return new
|
|
16278
|
+
return new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Create(() => this.ed, this.o.createAttributes);
|
|
16270
16279
|
}
|
|
16271
16280
|
__setPlaceField(field, value) {
|
|
16272
16281
|
if (!this.currentPlace) {
|
|
@@ -16814,8 +16823,8 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
16814
16823
|
const active = this.od.activeElement;
|
|
16815
16824
|
if (active &&
|
|
16816
16825
|
(active === this.iframe ||
|
|
16817
|
-
|
|
16818
|
-
|
|
16826
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.isOrContains(this.editor, active) ||
|
|
16827
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.isOrContains(this.toolbar.container, active))) {
|
|
16819
16828
|
return jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_WYSIWYG;
|
|
16820
16829
|
}
|
|
16821
16830
|
return jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SOURCE;
|
|
@@ -16967,7 +16976,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
16967
16976
|
}
|
|
16968
16977
|
/** @override **/
|
|
16969
16978
|
initOptions(options) {
|
|
16970
|
-
this.options = ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {},
|
|
16979
|
+
this.options = ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions));
|
|
16971
16980
|
}
|
|
16972
16981
|
/** @override **/
|
|
16973
16982
|
initOwners() {
|
|
@@ -17012,7 +17021,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17012
17021
|
this.destruct();
|
|
17013
17022
|
throw e;
|
|
17014
17023
|
}
|
|
17015
|
-
this.setStatus(
|
|
17024
|
+
this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.STATUSES.beforeInit);
|
|
17016
17025
|
this.id =
|
|
17017
17026
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.attr)((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.resolveElement)(element, this.o.shadowRoot || this.od), 'id') ||
|
|
17018
17027
|
new Date().getTime().toString();
|
|
@@ -17024,7 +17033,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17024
17033
|
}
|
|
17025
17034
|
});
|
|
17026
17035
|
this.e.on('prepareWYSIWYGEditor', this.__prepareWYSIWYGEditor);
|
|
17027
|
-
this.selection = new
|
|
17036
|
+
this.selection = new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Selection(this);
|
|
17028
17037
|
const beforeInitHookResult = this.beforeInitHook();
|
|
17029
17038
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.callPromise)(beforeInitHookResult, () => {
|
|
17030
17039
|
if (this.isInDestruct) {
|
|
@@ -17048,7 +17057,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17048
17057
|
this.e.fire('afterInit', this);
|
|
17049
17058
|
}
|
|
17050
17059
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.callPromise)(this.afterInitHook());
|
|
17051
|
-
this.setStatus(
|
|
17060
|
+
this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.STATUSES.ready);
|
|
17052
17061
|
this.e.fire('afterConstructor', this);
|
|
17053
17062
|
};
|
|
17054
17063
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.callPromise)(addPlaceResult, init);
|
|
@@ -17064,7 +17073,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17064
17073
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.toArray)(element.attributes).forEach((attr) => {
|
|
17065
17074
|
const name = attr.name;
|
|
17066
17075
|
let value = attr.value;
|
|
17067
|
-
if (
|
|
17076
|
+
if (jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions[name] !== undefined &&
|
|
17068
17077
|
(!options || options[name] === undefined)) {
|
|
17069
17078
|
if (['readonly', 'disabled'].indexOf(name) !== -1) {
|
|
17070
17079
|
value = value === '' || value === 'true';
|
|
@@ -17132,11 +17141,11 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17132
17141
|
element,
|
|
17133
17142
|
container,
|
|
17134
17143
|
workplace,
|
|
17135
|
-
statusbar: new
|
|
17144
|
+
statusbar: new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.StatusBar(this, container),
|
|
17136
17145
|
options: this.isReady
|
|
17137
|
-
? (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {},
|
|
17146
|
+
? (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.defaultOptions)
|
|
17138
17147
|
: this.options,
|
|
17139
|
-
history: new
|
|
17148
|
+
history: new jodit_modules__WEBPACK_IMPORTED_MODULE_7__.History(this),
|
|
17140
17149
|
editorWindow: this.ow
|
|
17141
17150
|
};
|
|
17142
17151
|
this.__elementToPlace.set(editor, currentPlace);
|
|
@@ -17227,7 +17236,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17227
17236
|
return;
|
|
17228
17237
|
}
|
|
17229
17238
|
if (stayDefault === false || (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.isPromise)(stayDefault)) {
|
|
17230
|
-
|
|
17239
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(defaultEditorArea);
|
|
17231
17240
|
}
|
|
17232
17241
|
addClassNames(this.o.editorClassName, this.editor);
|
|
17233
17242
|
if (this.o.style) {
|
|
@@ -17314,7 +17323,7 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17314
17323
|
if (this.isInDestruct) {
|
|
17315
17324
|
return;
|
|
17316
17325
|
}
|
|
17317
|
-
this.setStatus(
|
|
17326
|
+
this.setStatus(jodit_modules__WEBPACK_IMPORTED_MODULE_7__.STATUSES.beforeDestruct);
|
|
17318
17327
|
this.__elementToPlace.clear();
|
|
17319
17328
|
this.storage.clear();
|
|
17320
17329
|
this.buffer.clear();
|
|
@@ -17355,17 +17364,17 @@ let Jodit = Jodit_1 = class Jodit extends jodit_modules__WEBPACK_IMPORTED_MODULE
|
|
|
17355
17364
|
this.e.off(container);
|
|
17356
17365
|
this.e.off(element);
|
|
17357
17366
|
this.e.off(editor);
|
|
17358
|
-
|
|
17359
|
-
|
|
17367
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(workplace);
|
|
17368
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(editor);
|
|
17360
17369
|
if (container !== element) {
|
|
17361
|
-
|
|
17370
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(container);
|
|
17362
17371
|
}
|
|
17363
17372
|
Object.defineProperty(element, 'component', {
|
|
17364
17373
|
enumerable: false,
|
|
17365
17374
|
configurable: true,
|
|
17366
17375
|
value: null
|
|
17367
17376
|
});
|
|
17368
|
-
|
|
17377
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Dom.safeRemove(iframe);
|
|
17369
17378
|
// inline mode
|
|
17370
17379
|
if (container === element) {
|
|
17371
17380
|
element.innerHTML = buffer;
|
|
@@ -17387,7 +17396,7 @@ Jodit.constants = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__;
|
|
|
17387
17396
|
Jodit.instances = jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .instances */ .VF;
|
|
17388
17397
|
Jodit.lang = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.lang;
|
|
17389
17398
|
Jodit.core = {
|
|
17390
|
-
Plugin:
|
|
17399
|
+
Plugin: jodit_modules__WEBPACK_IMPORTED_MODULE_7__.Plugin
|
|
17391
17400
|
};
|
|
17392
17401
|
(0,tslib__WEBPACK_IMPORTED_MODULE_8__/* .__decorate */ .Cg)([
|
|
17393
17402
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.cache
|
|
@@ -19658,16 +19667,16 @@ function loadTree(fb) {
|
|
|
19658
19667
|
/* harmony import */ var jodit_core_storage__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(63915);
|
|
19659
19668
|
/* harmony import */ var jodit_core_traits_dlgs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(58597);
|
|
19660
19669
|
/* harmony import */ var jodit_core_view_view_with_toolbar__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(14961);
|
|
19661
|
-
/* harmony import */ var
|
|
19670
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(36115);
|
|
19671
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(70265);
|
|
19662
19672
|
/* harmony import */ var _fetch_load_items__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(9979);
|
|
19663
|
-
/* harmony import */ var
|
|
19664
|
-
/* harmony import */ var
|
|
19665
|
-
/* harmony import */ var
|
|
19666
|
-
/* harmony import */ var
|
|
19667
|
-
/* harmony import */ var
|
|
19668
|
-
/* harmony import */ var
|
|
19669
|
-
/* harmony import */ var
|
|
19670
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(36115);
|
|
19673
|
+
/* harmony import */ var _fetch_load_tree__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(31859);
|
|
19674
|
+
/* harmony import */ var _listeners_native_listeners__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(62994);
|
|
19675
|
+
/* harmony import */ var _listeners_self_listeners__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(18043);
|
|
19676
|
+
/* harmony import */ var _listeners_state_listeners__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(80004);
|
|
19677
|
+
/* harmony import */ var _data_provider__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(75889);
|
|
19678
|
+
/* harmony import */ var _factories__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(83797);
|
|
19679
|
+
/* harmony import */ var _ui__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(10274);
|
|
19671
19680
|
/*!
|
|
19672
19681
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
19673
19682
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -19701,7 +19710,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
19701
19710
|
return 'FileBrowser';
|
|
19702
19711
|
}
|
|
19703
19712
|
get dataProvider() {
|
|
19704
|
-
return (0,
|
|
19713
|
+
return (0,_factories__WEBPACK_IMPORTED_MODULE_16__/* .makeDataProvider */ .S)(this, this.options);
|
|
19705
19714
|
}
|
|
19706
19715
|
// eslint-disable-next-line no-unused-vars
|
|
19707
19716
|
onSelect(callback) {
|
|
@@ -19817,7 +19826,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
19817
19826
|
this.__updateToolbarButtons();
|
|
19818
19827
|
this._dialog.open(this.browser, header);
|
|
19819
19828
|
this.e.fire('sort.filebrowser', this.state.sortBy);
|
|
19820
|
-
(0,
|
|
19829
|
+
(0,_fetch_load_tree__WEBPACK_IMPORTED_MODULE_11__/* .loadTree */ .r)(this)
|
|
19821
19830
|
.then(resolve, reject)
|
|
19822
19831
|
.finally(() => {
|
|
19823
19832
|
var _a;
|
|
@@ -19854,7 +19863,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
19854
19863
|
}
|
|
19855
19864
|
initUploader(editor) {
|
|
19856
19865
|
var _a;
|
|
19857
|
-
const self = this, options = (_a = editor === null || editor === void 0 ? void 0 : editor.options) === null || _a === void 0 ? void 0 : _a.uploader, uploaderOptions = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {},
|
|
19866
|
+
const self = this, options = (_a = editor === null || editor === void 0 ? void 0 : editor.options) === null || _a === void 0 ? void 0 : _a.uploader, uploaderOptions = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_9__/* .Config */ .T.defaultOptions.uploader);
|
|
19858
19867
|
const uploadHandler = () => (0,_fetch_load_items__WEBPACK_IMPORTED_MODULE_18__/* .loadItems */ .f)(this);
|
|
19859
19868
|
self.uploader = self.getInstance('Uploader', uploaderOptions);
|
|
19860
19869
|
self.uploader
|
|
@@ -19874,11 +19883,11 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
19874
19883
|
super(options);
|
|
19875
19884
|
this.browser = this.c.div(this.componentName);
|
|
19876
19885
|
this.status_line = this.c.div(this.getFullElName('status'));
|
|
19877
|
-
this.tree = new
|
|
19878
|
-
this.files = new
|
|
19886
|
+
this.tree = new _ui__WEBPACK_IMPORTED_MODULE_17__/* .FileBrowserTree */ .V(this);
|
|
19887
|
+
this.files = new _ui__WEBPACK_IMPORTED_MODULE_17__/* .FileBrowserFiles */ .Q(this);
|
|
19879
19888
|
this.state = (0,jodit_core_event_emitter__WEBPACK_IMPORTED_MODULE_4__/* .observable */ .sH)({
|
|
19880
19889
|
currentPath: '',
|
|
19881
|
-
currentSource:
|
|
19890
|
+
currentSource: _data_provider__WEBPACK_IMPORTED_MODULE_15__/* .DEFAULT_SOURCE_NAME */ .o,
|
|
19882
19891
|
currentBaseUrl: '',
|
|
19883
19892
|
activeElements: [],
|
|
19884
19893
|
elements: [],
|
|
@@ -19908,7 +19917,7 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
19908
19917
|
this.__prevButtons = [];
|
|
19909
19918
|
this.attachEvents(options);
|
|
19910
19919
|
const self = this;
|
|
19911
|
-
self.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {},
|
|
19920
|
+
self.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_5__.ConfigProto)(options || {}, jodit_config__WEBPACK_IMPORTED_MODULE_9__/* .Config */ .T.defaultOptions.filebrowser);
|
|
19912
19921
|
self.browser.component = this;
|
|
19913
19922
|
self.container = self.browser;
|
|
19914
19923
|
if (self.o.showFoldersPanel) {
|
|
@@ -19916,9 +19925,9 @@ let FileBrowser = class FileBrowser extends jodit_core_view_view_with_toolbar__W
|
|
|
19916
19925
|
}
|
|
19917
19926
|
self.browser.appendChild(self.files.container);
|
|
19918
19927
|
self.browser.appendChild(self.status_line);
|
|
19919
|
-
|
|
19920
|
-
|
|
19921
|
-
|
|
19928
|
+
_listeners_self_listeners__WEBPACK_IMPORTED_MODULE_13__/* .selfListeners */ .c.call(self);
|
|
19929
|
+
_listeners_native_listeners__WEBPACK_IMPORTED_MODULE_12__/* .nativeListeners */ .nW.call(self);
|
|
19930
|
+
_listeners_state_listeners__WEBPACK_IMPORTED_MODULE_14__/* .stateListeners */ .r.call(self);
|
|
19922
19931
|
const keys = [
|
|
19923
19932
|
'getLocalFileByUrl',
|
|
19924
19933
|
'crop',
|
|
@@ -20590,10 +20599,10 @@ class Command {
|
|
|
20590
20599
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(31635);
|
|
20591
20600
|
/* harmony import */ var jodit_core_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77753);
|
|
20592
20601
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(22664);
|
|
20602
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
20593
20603
|
/* harmony import */ var _command__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(84345);
|
|
20594
|
-
/* harmony import */ var
|
|
20604
|
+
/* harmony import */ var _snapshot__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(58770);
|
|
20595
20605
|
/* harmony import */ var _stack__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(66180);
|
|
20596
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
20597
20606
|
/*!
|
|
20598
20607
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
20599
20608
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -20606,7 +20615,7 @@ class Command {
|
|
|
20606
20615
|
|
|
20607
20616
|
|
|
20608
20617
|
|
|
20609
|
-
|
|
20618
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.history = {
|
|
20610
20619
|
enable: true,
|
|
20611
20620
|
maxHistoryLength: Infinity,
|
|
20612
20621
|
timeout: 1000
|
|
@@ -20657,7 +20666,7 @@ class History extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .ViewC
|
|
|
20657
20666
|
set startValue(value) {
|
|
20658
20667
|
this.__startValue = value;
|
|
20659
20668
|
}
|
|
20660
|
-
constructor(editor, stack = new _stack__WEBPACK_IMPORTED_MODULE_4__/* .Stack */ .B(editor.o.history.maxHistoryLength), snapshot = new
|
|
20669
|
+
constructor(editor, stack = new _stack__WEBPACK_IMPORTED_MODULE_4__/* .Stack */ .B(editor.o.history.maxHistoryLength), snapshot = new _snapshot__WEBPACK_IMPORTED_MODULE_3__/* .Snapshot */ .F(editor)) {
|
|
20661
20670
|
super(editor);
|
|
20662
20671
|
this.updateTick = 0;
|
|
20663
20672
|
this.__stack = stack;
|
|
@@ -20720,7 +20729,7 @@ class History extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .ViewC
|
|
|
20720
20729
|
*/
|
|
20721
20730
|
updateStack(replace = false) {
|
|
20722
20731
|
const newValue = this.snapshot.make();
|
|
20723
|
-
if (!
|
|
20732
|
+
if (!_snapshot__WEBPACK_IMPORTED_MODULE_3__/* .Snapshot */ .F.equal(newValue, this.startValue)) {
|
|
20724
20733
|
const newCommand = new _command__WEBPACK_IMPORTED_MODULE_5__/* .Command */ .u(this.startValue, newValue, this, this.updateTick);
|
|
20725
20734
|
if (replace) {
|
|
20726
20735
|
const command = this.__stack.current();
|
|
@@ -21054,11 +21063,11 @@ class Stack {
|
|
|
21054
21063
|
|
|
21055
21064
|
"use strict";
|
|
21056
21065
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
21057
|
-
/* harmony import */ var
|
|
21058
|
-
/* harmony import */ var
|
|
21059
|
-
/* harmony import */ var
|
|
21060
|
-
/* harmony import */ var
|
|
21061
|
-
/* harmony import */ var
|
|
21066
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
21067
|
+
/* harmony import */ var _icons_crop_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(928);
|
|
21068
|
+
/* harmony import */ var _icons_crop_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_icons_crop_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
21069
|
+
/* harmony import */ var _icons_resize_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(31230);
|
|
21070
|
+
/* harmony import */ var _icons_resize_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_resize_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
21062
21071
|
/*!
|
|
21063
21072
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
21064
21073
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -21068,7 +21077,7 @@ class Stack {
|
|
|
21068
21077
|
|
|
21069
21078
|
|
|
21070
21079
|
|
|
21071
|
-
|
|
21080
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.imageeditor = {
|
|
21072
21081
|
min_width: 20,
|
|
21073
21082
|
min_height: 20,
|
|
21074
21083
|
closeAfterSave: false,
|
|
@@ -21083,7 +21092,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.imageeditor
|
|
|
21083
21092
|
cropDefaultWidth: '70%',
|
|
21084
21093
|
cropDefaultHeight: '70%'
|
|
21085
21094
|
};
|
|
21086
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('crop', (
|
|
21095
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('crop', (_icons_crop_svg__WEBPACK_IMPORTED_MODULE_2___default())).set('resize', (_icons_resize_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
21087
21096
|
|
|
21088
21097
|
|
|
21089
21098
|
/***/ }),
|
|
@@ -21102,9 +21111,9 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('crop', (_icon
|
|
|
21102
21111
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(71842);
|
|
21103
21112
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(65147);
|
|
21104
21113
|
/* harmony import */ var jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(35265);
|
|
21105
|
-
/* harmony import */ var
|
|
21106
|
-
/* harmony import */ var
|
|
21107
|
-
/* harmony import */ var
|
|
21114
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(36115);
|
|
21115
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(93027);
|
|
21116
|
+
/* harmony import */ var _templates_form__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(24863);
|
|
21108
21117
|
/*!
|
|
21109
21118
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
21110
21119
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -21564,7 +21573,7 @@ let ImageEditor = ImageEditor_1 = class ImageEditor extends jodit_core_component
|
|
|
21564
21573
|
this.options =
|
|
21565
21574
|
editor && editor.o && editor.o.imageeditor
|
|
21566
21575
|
? editor.o.imageeditor
|
|
21567
|
-
:
|
|
21576
|
+
: jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.defaultOptions.imageeditor;
|
|
21568
21577
|
const o = this.options;
|
|
21569
21578
|
this.resizeUseRatio = o.resizeUseRatio;
|
|
21570
21579
|
this.cropUseRatio = o.cropUseRatio;
|
|
@@ -21574,7 +21583,7 @@ let ImageEditor = ImageEditor_1 = class ImageEditor extends jodit_core_component
|
|
|
21574
21583
|
saveas: (0,jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_4__/* .Button */ .$n)(this.j, 'save', 'Save as ...')
|
|
21575
21584
|
};
|
|
21576
21585
|
this.activeTab = o.resize ? TABS.resize : TABS.crop;
|
|
21577
|
-
this.editor = (0,
|
|
21586
|
+
this.editor = (0,_templates_form__WEBPACK_IMPORTED_MODULE_7__/* .form */ .Z)(this.j, this.options);
|
|
21578
21587
|
const { resizeBox, cropBox } = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.refs)(this.editor);
|
|
21579
21588
|
this.resize_box = resizeBox;
|
|
21580
21589
|
this.crop_box = cropBox;
|
|
@@ -22997,7 +23006,8 @@ let ToolbarButton = class ToolbarButton extends jodit_core_ui_button__WEBPACK_IM
|
|
|
22997
23006
|
}
|
|
22998
23007
|
createContainer() {
|
|
22999
23008
|
const cn = this.componentName;
|
|
23000
|
-
const container = this.j.c.span(cn)
|
|
23009
|
+
const container = this.j.c.span(cn);
|
|
23010
|
+
const button = super.createContainer();
|
|
23001
23011
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.attr)(container, 'role', 'listitem');
|
|
23002
23012
|
button.classList.remove(cn);
|
|
23003
23013
|
button.classList.add(cn + '__button');
|
|
@@ -23379,8 +23389,9 @@ ToolbarContent = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
|
23379
23389
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
23380
23390
|
/* harmony export */ q: function() { return /* binding */ ToolbarSelect; }
|
|
23381
23391
|
/* harmony export */ });
|
|
23382
|
-
/* harmony import */ var
|
|
23392
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(31635);
|
|
23383
23393
|
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(22664);
|
|
23394
|
+
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(25376);
|
|
23384
23395
|
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(98253);
|
|
23385
23396
|
/* harmony import */ var _button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3258);
|
|
23386
23397
|
/*!
|
|
@@ -23393,6 +23404,7 @@ ToolbarContent = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
|
23393
23404
|
|
|
23394
23405
|
|
|
23395
23406
|
|
|
23407
|
+
|
|
23396
23408
|
let ToolbarSelect = class ToolbarSelect extends _button__WEBPACK_IMPORTED_MODULE_1__/* .ToolbarButton */ .I {
|
|
23397
23409
|
className() {
|
|
23398
23410
|
return 'ToolbarSelect';
|
|
@@ -23411,13 +23423,13 @@ let ToolbarSelect = class ToolbarSelect extends _button__WEBPACK_IMPORTED_MODULE
|
|
|
23411
23423
|
const keys = Object.keys(list);
|
|
23412
23424
|
key = keys[0];
|
|
23413
23425
|
}
|
|
23414
|
-
const text = (list[key.toString()] || key).toString();
|
|
23426
|
+
const text = ((0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_3__/* .isPlainObject */ .Q)(list) ? list[key.toString()] || key : key).toString();
|
|
23415
23427
|
this.state.text =
|
|
23416
23428
|
(_c = (_b = (_a = this.control).textTemplate) === null || _b === void 0 ? void 0 : _b.call(_a, this.jodit, text)) !== null && _c !== void 0 ? _c : text;
|
|
23417
23429
|
}
|
|
23418
23430
|
}
|
|
23419
23431
|
};
|
|
23420
|
-
ToolbarSelect = (0,
|
|
23432
|
+
ToolbarSelect = (0,tslib__WEBPACK_IMPORTED_MODULE_4__/* .__decorate */ .Cg)([
|
|
23421
23433
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_0__.component
|
|
23422
23434
|
], ToolbarSelect);
|
|
23423
23435
|
|
|
@@ -24250,9 +24262,9 @@ function send(uploader, data) {
|
|
|
24250
24262
|
/* harmony import */ var jodit_core_component___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77753);
|
|
24251
24263
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(17352);
|
|
24252
24264
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65147);
|
|
24253
|
-
/* harmony import */ var
|
|
24254
|
-
/* harmony import */ var
|
|
24255
|
-
/* harmony import */ var
|
|
24265
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
24266
|
+
/* harmony import */ var jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(74340);
|
|
24267
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(77334);
|
|
24256
24268
|
/*!
|
|
24257
24269
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
24258
24270
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -24324,14 +24336,14 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
24324
24336
|
}
|
|
24325
24337
|
};
|
|
24326
24338
|
// send data on server
|
|
24327
|
-
if (!jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && (0,
|
|
24328
|
-
(0,
|
|
24339
|
+
if (!jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && (0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(cData)) {
|
|
24340
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, cData.files, handlerSuccess, handlerError).finally(onFinally);
|
|
24329
24341
|
return false;
|
|
24330
24342
|
}
|
|
24331
24343
|
if (jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_IE && !jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.IS_ES_NEXT) {
|
|
24332
|
-
return (0,
|
|
24344
|
+
return (0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .processOldBrowserDrag */ .dT)(self, cData, handlerSuccess, handlerError, onFinally);
|
|
24333
24345
|
}
|
|
24334
|
-
if ((0,
|
|
24346
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasItems */ .Pb)(cData)) {
|
|
24335
24347
|
const { items } = cData;
|
|
24336
24348
|
for (i = 0; i < items.length; i += 1) {
|
|
24337
24349
|
if (items[i].kind === 'file' &&
|
|
@@ -24342,7 +24354,7 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
24342
24354
|
extension = mime[1]
|
|
24343
24355
|
? mime[1].toLowerCase()
|
|
24344
24356
|
: '';
|
|
24345
|
-
(0,
|
|
24357
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, [file], handlerSuccess, handlerError, processData).finally(onFinally);
|
|
24346
24358
|
}
|
|
24347
24359
|
e.preventDefault();
|
|
24348
24360
|
break;
|
|
@@ -24365,30 +24377,30 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
24365
24377
|
e.preventDefault();
|
|
24366
24378
|
})
|
|
24367
24379
|
.on(form, 'dragover', (event) => {
|
|
24368
|
-
if ((0,
|
|
24369
|
-
(0,
|
|
24380
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer) ||
|
|
24381
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasItems */ .Pb)(event.dataTransfer)) {
|
|
24370
24382
|
form.classList.add('jodit_drag_hover');
|
|
24371
24383
|
event.preventDefault();
|
|
24372
24384
|
}
|
|
24373
24385
|
})
|
|
24374
24386
|
.on(form, 'dragend dragleave', (event) => {
|
|
24375
24387
|
form.classList.remove('jodit_drag_hover');
|
|
24376
|
-
if ((0,
|
|
24388
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer)) {
|
|
24377
24389
|
event.preventDefault();
|
|
24378
24390
|
}
|
|
24379
24391
|
})
|
|
24380
24392
|
.on(form, 'drop', (event) => {
|
|
24381
24393
|
form.classList.remove('jodit_drag_hover');
|
|
24382
|
-
if ((0,
|
|
24394
|
+
if ((0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .hasFiles */ .YQ)(event.dataTransfer)) {
|
|
24383
24395
|
event.preventDefault();
|
|
24384
24396
|
event.stopImmediatePropagation();
|
|
24385
|
-
(0,
|
|
24397
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, event.dataTransfer.files, handlerSuccess, handlerError).finally(onFinally);
|
|
24386
24398
|
}
|
|
24387
24399
|
});
|
|
24388
24400
|
const inputFile = form.querySelector('input[type=file]');
|
|
24389
24401
|
if (inputFile) {
|
|
24390
24402
|
self.j.e.on(inputFile, 'change', () => {
|
|
24391
|
-
(0,
|
|
24403
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .sendFiles */ ._9)(self, inputFile.files, handlerSuccess, handlerError)
|
|
24392
24404
|
.then(() => {
|
|
24393
24405
|
inputFile.value = '';
|
|
24394
24406
|
if (!/safari/i.test(navigator.userAgent)) {
|
|
@@ -24408,7 +24420,7 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
24408
24420
|
const handlerE = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isFunction)(handlerError)
|
|
24409
24421
|
? handlerError
|
|
24410
24422
|
: o.defaultHandlerError;
|
|
24411
|
-
(0,
|
|
24423
|
+
(0,jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .send */ .tN)(uploader, {
|
|
24412
24424
|
action: 'fileUploadRemote',
|
|
24413
24425
|
url
|
|
24414
24426
|
})
|
|
@@ -24428,11 +24440,11 @@ class Uploader extends jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .Vie
|
|
|
24428
24440
|
super(editor);
|
|
24429
24441
|
this.path = '';
|
|
24430
24442
|
this.source = 'default';
|
|
24431
|
-
this.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(options || {}, (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(
|
|
24443
|
+
this.options = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(options || {}, (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.ConfigProto)(jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.defaultOptions.uploader, (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isJoditObject)(editor) ? editor.o.uploader : {}));
|
|
24432
24444
|
}
|
|
24433
24445
|
destruct() {
|
|
24434
24446
|
this.setStatus(jodit_core_component___WEBPACK_IMPORTED_MODULE_0__/* .STATUSES */ .f.beforeDestruct);
|
|
24435
|
-
const instances =
|
|
24447
|
+
const instances = jodit_modules_uploader_helpers__WEBPACK_IMPORTED_MODULE_4__/* .ajaxInstances */ .$j.get(this);
|
|
24436
24448
|
if (instances) {
|
|
24437
24449
|
instances.forEach(ajax => {
|
|
24438
24450
|
try {
|
|
@@ -24861,9 +24873,9 @@ const TabsWidget = (jodit, tabs, state) => {
|
|
|
24861
24873
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
24862
24874
|
/* harmony import */ var jodit_core_helpers___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65147);
|
|
24863
24875
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(931);
|
|
24864
|
-
/* harmony import */ var
|
|
24865
|
-
/* harmony import */ var
|
|
24866
|
-
/* harmony import */ var
|
|
24876
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
24877
|
+
/* harmony import */ var _about_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(17995);
|
|
24878
|
+
/* harmony import */ var _about_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_about_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
24867
24879
|
/*!
|
|
24868
24880
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
24869
24881
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -24877,7 +24889,7 @@ const TabsWidget = (jodit, tabs, state) => {
|
|
|
24877
24889
|
|
|
24878
24890
|
|
|
24879
24891
|
|
|
24880
|
-
|
|
24892
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.about = {
|
|
24881
24893
|
exec: (editor) => {
|
|
24882
24894
|
const dialog = editor.dlg({ closeOnClickOverlay: true }), i = editor.i18n.bind(editor);
|
|
24883
24895
|
dialog
|
|
@@ -24913,7 +24925,7 @@ function about(editor) {
|
|
|
24913
24925
|
});
|
|
24914
24926
|
}
|
|
24915
24927
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('about', about);
|
|
24916
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('about', (
|
|
24928
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('about', (_about_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
24917
24929
|
|
|
24918
24930
|
|
|
24919
24931
|
/***/ }),
|
|
@@ -25156,9 +25168,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('addNe
|
|
|
25156
25168
|
|
|
25157
25169
|
"use strict";
|
|
25158
25170
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
25159
|
-
/* harmony import */ var
|
|
25160
|
-
/* harmony import */ var
|
|
25161
|
-
/* harmony import */ var
|
|
25171
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
25172
|
+
/* harmony import */ var _enter_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(86634);
|
|
25173
|
+
/* harmony import */ var _enter_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_enter_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
25162
25174
|
/*!
|
|
25163
25175
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
25164
25176
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -25167,9 +25179,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('addNe
|
|
|
25167
25179
|
|
|
25168
25180
|
|
|
25169
25181
|
|
|
25170
|
-
|
|
25171
|
-
|
|
25172
|
-
|
|
25182
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLine = true;
|
|
25183
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineOnDBLClick = true;
|
|
25184
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineTagsTriggers = [
|
|
25173
25185
|
'table',
|
|
25174
25186
|
'iframe',
|
|
25175
25187
|
'img',
|
|
@@ -25177,8 +25189,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.addNewLineTa
|
|
|
25177
25189
|
'pre',
|
|
25178
25190
|
'jodit'
|
|
25179
25191
|
];
|
|
25180
|
-
|
|
25181
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (
|
|
25192
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.addNewLineDeltaShow = 20;
|
|
25193
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('enter', (_enter_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
25182
25194
|
|
|
25183
25195
|
|
|
25184
25196
|
/***/ }),
|
|
@@ -25317,11 +25329,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('ai-as
|
|
|
25317
25329
|
|
|
25318
25330
|
"use strict";
|
|
25319
25331
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
25320
|
-
/* harmony import */ var
|
|
25321
|
-
/* harmony import */ var
|
|
25322
|
-
/* harmony import */ var
|
|
25323
|
-
/* harmony import */ var
|
|
25324
|
-
/* harmony import */ var
|
|
25332
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
25333
|
+
/* harmony import */ var _ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(91115);
|
|
25334
|
+
/* harmony import */ var _ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
25335
|
+
/* harmony import */ var _chat_bot_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1916);
|
|
25336
|
+
/* harmony import */ var _chat_bot_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_chat_bot_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
25325
25337
|
/*!
|
|
25326
25338
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
25327
25339
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -25362,10 +25374,10 @@ const aiAssistantDefaults = {
|
|
|
25362
25374
|
aiTranslateToRussianPrompt: 'Translate this content into Russian, ensuring the translation is accurate and maintains the original meaning.',
|
|
25363
25375
|
aiTranslateToArabicPrompt: 'Translate this content into Arabic, ensuring the translation is accurate and maintains the original meaning.'
|
|
25364
25376
|
};
|
|
25365
|
-
|
|
25366
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-assistant', (
|
|
25367
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-commands', (
|
|
25368
|
-
|
|
25377
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.aiAssistant = aiAssistantDefaults;
|
|
25378
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-assistant', (_chat_bot_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
25379
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('ai-commands', (_ai_assistant_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
25380
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls['ai-commands'] = {
|
|
25369
25381
|
isDisabled(editor) {
|
|
25370
25382
|
return !editor.o.aiAssistant.aiAssistantCallback;
|
|
25371
25383
|
},
|
|
@@ -25403,7 +25415,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls['ai
|
|
|
25403
25415
|
editor.e.fire('generateAiAssistantForm.ai-assistant', control.name);
|
|
25404
25416
|
}
|
|
25405
25417
|
};
|
|
25406
|
-
|
|
25418
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls['ai-assistant'] = {
|
|
25407
25419
|
isDisabled(editor) {
|
|
25408
25420
|
return !editor.o.aiAssistant.aiAssistantCallback;
|
|
25409
25421
|
},
|
|
@@ -26042,6 +26054,10 @@ function checkRemoveChar(jodit, fakeNode, backspace, mode) {
|
|
|
26042
26054
|
}
|
|
26043
26055
|
if ((_a = sibling.nodeValue) === null || _a === void 0 ? void 0 : _a.length) {
|
|
26044
26056
|
removed = tryRemoveChar(sibling, backspace, step, anotherSibling);
|
|
26057
|
+
if (!sibling.nodeValue.length &&
|
|
26058
|
+
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.isInlineBlock(sibling.parentNode)) {
|
|
26059
|
+
sibling.nodeValue = jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INVISIBLE_SPACE;
|
|
26060
|
+
}
|
|
26045
26061
|
}
|
|
26046
26062
|
if (!((_b = sibling.nodeValue) === null || _b === void 0 ? void 0 : _b.length)) {
|
|
26047
26063
|
removeNeighbor = sibling;
|
|
@@ -26596,20 +26612,20 @@ function getMoveFilter(jodit) {
|
|
|
26596
26612
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(56298);
|
|
26597
26613
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65147);
|
|
26598
26614
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(931);
|
|
26599
|
-
/* harmony import */ var
|
|
26600
|
-
/* harmony import */ var
|
|
26601
|
-
/* harmony import */ var
|
|
26602
|
-
/* harmony import */ var
|
|
26603
|
-
/* harmony import */ var
|
|
26604
|
-
/* harmony import */ var
|
|
26605
|
-
/* harmony import */ var
|
|
26606
|
-
/* harmony import */ var
|
|
26607
|
-
/* harmony import */ var
|
|
26608
|
-
/* harmony import */ var
|
|
26609
|
-
/* harmony import */ var
|
|
26610
|
-
/* harmony import */ var
|
|
26611
|
-
/* harmony import */ var
|
|
26612
|
-
/* harmony import */ var
|
|
26615
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
26616
|
+
/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(73124);
|
|
26617
|
+
/* harmony import */ var _icons_bold_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(52450);
|
|
26618
|
+
/* harmony import */ var _icons_bold_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_bold_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
26619
|
+
/* harmony import */ var _icons_italic_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(41111);
|
|
26620
|
+
/* harmony import */ var _icons_italic_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_icons_italic_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
26621
|
+
/* harmony import */ var _icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(49972);
|
|
26622
|
+
/* harmony import */ var _icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7__);
|
|
26623
|
+
/* harmony import */ var _icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(45062);
|
|
26624
|
+
/* harmony import */ var _icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8__);
|
|
26625
|
+
/* harmony import */ var _icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(18605);
|
|
26626
|
+
/* harmony import */ var _icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9__);
|
|
26627
|
+
/* harmony import */ var _icons_underline_svg__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(83389);
|
|
26628
|
+
/* harmony import */ var _icons_underline_svg__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_icons_underline_svg__WEBPACK_IMPORTED_MODULE_10__);
|
|
26613
26629
|
/*!
|
|
26614
26630
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
26615
26631
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -26632,7 +26648,7 @@ function getMoveFilter(jodit) {
|
|
|
26632
26648
|
*/
|
|
26633
26649
|
function bold(editor) {
|
|
26634
26650
|
const callBack = (command) => {
|
|
26635
|
-
const control =
|
|
26651
|
+
const control = jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.defaultOptions.controls[command], cssOptions = Object.assign({}, control.css);
|
|
26636
26652
|
let cssRules;
|
|
26637
26653
|
Object.keys(cssOptions).forEach((key) => {
|
|
26638
26654
|
if (!cssRules) {
|
|
@@ -26684,12 +26700,12 @@ function bold(editor) {
|
|
|
26684
26700
|
});
|
|
26685
26701
|
}
|
|
26686
26702
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('bold', bold);
|
|
26687
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('bold', (
|
|
26688
|
-
.set('italic', (
|
|
26689
|
-
.set('strikethrough', (
|
|
26690
|
-
.set('subscript', (
|
|
26691
|
-
.set('superscript', (
|
|
26692
|
-
.set('underline', (
|
|
26703
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('bold', (_icons_bold_svg__WEBPACK_IMPORTED_MODULE_5___default()))
|
|
26704
|
+
.set('italic', (_icons_italic_svg__WEBPACK_IMPORTED_MODULE_6___default()))
|
|
26705
|
+
.set('strikethrough', (_icons_strikethrough_svg__WEBPACK_IMPORTED_MODULE_7___default()))
|
|
26706
|
+
.set('subscript', (_icons_subscript_svg__WEBPACK_IMPORTED_MODULE_8___default()))
|
|
26707
|
+
.set('superscript', (_icons_superscript_svg__WEBPACK_IMPORTED_MODULE_9___default()))
|
|
26708
|
+
.set('underline', (_icons_underline_svg__WEBPACK_IMPORTED_MODULE_10___default()));
|
|
26693
26709
|
|
|
26694
26710
|
|
|
26695
26711
|
/***/ }),
|
|
@@ -26759,9 +26775,9 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.controls.str
|
|
|
26759
26775
|
/* harmony import */ var jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(84976);
|
|
26760
26776
|
/* harmony import */ var jodit_core_plugin__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(71005);
|
|
26761
26777
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(931);
|
|
26762
|
-
/* harmony import */ var
|
|
26763
|
-
/* harmony import */ var
|
|
26764
|
-
/* harmony import */ var
|
|
26778
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(36115);
|
|
26779
|
+
/* harmony import */ var _class_span_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(93267);
|
|
26780
|
+
/* harmony import */ var _class_span_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_class_span_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
26765
26781
|
/*!
|
|
26766
26782
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
26767
26783
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -26774,7 +26790,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.controls.str
|
|
|
26774
26790
|
|
|
26775
26791
|
|
|
26776
26792
|
|
|
26777
|
-
|
|
26793
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.classSpan = {
|
|
26778
26794
|
command: 'applyClassName',
|
|
26779
26795
|
exec: jodit_core_helpers_utils_utils__WEBPACK_IMPORTED_MODULE_2__/* .memorizeExec */ .qN,
|
|
26780
26796
|
list: [
|
|
@@ -26862,7 +26878,7 @@ class classSpan extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_3__/* .Plugin
|
|
|
26862
26878
|
beforeDestruct() { }
|
|
26863
26879
|
}
|
|
26864
26880
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('classSpan', classSpan);
|
|
26865
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('class-span', (
|
|
26881
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('class-span', (_class_span_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
26866
26882
|
|
|
26867
26883
|
|
|
26868
26884
|
/***/ }),
|
|
@@ -27001,9 +27017,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('clean
|
|
|
27001
27017
|
|
|
27002
27018
|
"use strict";
|
|
27003
27019
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
27004
|
-
/* harmony import */ var
|
|
27005
|
-
/* harmony import */ var
|
|
27006
|
-
/* harmony import */ var
|
|
27020
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
27021
|
+
/* harmony import */ var _eraser_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(71948);
|
|
27022
|
+
/* harmony import */ var _eraser_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_eraser_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
27007
27023
|
/*!
|
|
27008
27024
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27009
27025
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27012,7 +27028,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('clean
|
|
|
27012
27028
|
|
|
27013
27029
|
|
|
27014
27030
|
|
|
27015
|
-
|
|
27031
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.cleanHTML = {
|
|
27016
27032
|
timeout: 300,
|
|
27017
27033
|
removeEmptyElements: true,
|
|
27018
27034
|
fillEmptyParagraph: true,
|
|
@@ -27028,11 +27044,11 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.cleanHTML =
|
|
|
27028
27044
|
safeJavaScriptLink: true,
|
|
27029
27045
|
disableCleanFilter: null
|
|
27030
27046
|
};
|
|
27031
|
-
|
|
27047
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.eraser = {
|
|
27032
27048
|
command: 'removeFormat',
|
|
27033
27049
|
tooltip: 'Clear Formatting'
|
|
27034
27050
|
};
|
|
27035
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('eraser', (
|
|
27051
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('eraser', (_eraser_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
27036
27052
|
|
|
27037
27053
|
|
|
27038
27054
|
/***/ }),
|
|
@@ -27701,15 +27717,15 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('clipb
|
|
|
27701
27717
|
|
|
27702
27718
|
"use strict";
|
|
27703
27719
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
27704
|
-
/* harmony import */ var
|
|
27705
|
-
/* harmony import */ var
|
|
27706
|
-
/* harmony import */ var
|
|
27707
|
-
/* harmony import */ var
|
|
27708
|
-
/* harmony import */ var
|
|
27709
|
-
/* harmony import */ var
|
|
27710
|
-
/* harmony import */ var
|
|
27711
|
-
/* harmony import */ var
|
|
27712
|
-
/* harmony import */ var
|
|
27720
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
27721
|
+
/* harmony import */ var _icons_copy_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(51457);
|
|
27722
|
+
/* harmony import */ var _icons_copy_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_icons_copy_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
27723
|
+
/* harmony import */ var _icons_cut_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(23602);
|
|
27724
|
+
/* harmony import */ var _icons_cut_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_cut_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
27725
|
+
/* harmony import */ var _icons_paste_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(86899);
|
|
27726
|
+
/* harmony import */ var _icons_paste_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_paste_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
27727
|
+
/* harmony import */ var _icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(95320);
|
|
27728
|
+
/* harmony import */ var _icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
27713
27729
|
/*!
|
|
27714
27730
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27715
27731
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27721,25 +27737,25 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('clipb
|
|
|
27721
27737
|
|
|
27722
27738
|
|
|
27723
27739
|
|
|
27724
|
-
|
|
27740
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.cut = {
|
|
27725
27741
|
command: 'cut',
|
|
27726
27742
|
isDisabled: (editor) => editor.s.isCollapsed(),
|
|
27727
27743
|
tooltip: 'Cut selection'
|
|
27728
27744
|
};
|
|
27729
|
-
|
|
27745
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.copy = {
|
|
27730
27746
|
command: 'copy',
|
|
27731
27747
|
isDisabled: (editor) => editor.s.isCollapsed(),
|
|
27732
27748
|
tooltip: 'Copy selection'
|
|
27733
27749
|
};
|
|
27734
|
-
|
|
27750
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.selectall = {
|
|
27735
27751
|
icon: 'select-all',
|
|
27736
27752
|
command: 'selectall',
|
|
27737
27753
|
tooltip: 'Select all'
|
|
27738
27754
|
};
|
|
27739
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('copy', (
|
|
27740
|
-
.set('cut', (
|
|
27741
|
-
.set('paste', (
|
|
27742
|
-
.set('select-all', (
|
|
27755
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('copy', (_icons_copy_svg__WEBPACK_IMPORTED_MODULE_2___default()))
|
|
27756
|
+
.set('cut', (_icons_cut_svg__WEBPACK_IMPORTED_MODULE_3___default()))
|
|
27757
|
+
.set('paste', (_icons_paste_svg__WEBPACK_IMPORTED_MODULE_4___default()))
|
|
27758
|
+
.set('select-all', (_icons_select_all_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
27743
27759
|
|
|
27744
27760
|
|
|
27745
27761
|
/***/ }),
|
|
@@ -27811,10 +27827,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('color
|
|
|
27811
27827
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55186);
|
|
27812
27828
|
/* harmony import */ var jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65147);
|
|
27813
27829
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(931);
|
|
27814
|
-
/* harmony import */ var
|
|
27815
|
-
/* harmony import */ var
|
|
27816
|
-
/* harmony import */ var
|
|
27817
|
-
/* harmony import */ var
|
|
27830
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
27831
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(16116);
|
|
27832
|
+
/* harmony import */ var _brush_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(45674);
|
|
27833
|
+
/* harmony import */ var _brush_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_brush_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
27818
27834
|
/*!
|
|
27819
27835
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27820
27836
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27826,8 +27842,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('color
|
|
|
27826
27842
|
|
|
27827
27843
|
|
|
27828
27844
|
|
|
27829
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('brush', (
|
|
27830
|
-
|
|
27845
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('brush', (_brush_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
27846
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.brushCell = {
|
|
27831
27847
|
isVisible: (editor) => {
|
|
27832
27848
|
return !editor.o.disablePlugins.includes('color');
|
|
27833
27849
|
},
|
|
@@ -27840,7 +27856,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
27840
27856
|
if (!selected.length) {
|
|
27841
27857
|
return false;
|
|
27842
27858
|
}
|
|
27843
|
-
const makeColorPicker = (key) => (0,
|
|
27859
|
+
const makeColorPicker = (key) => (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, (value) => {
|
|
27844
27860
|
selected.forEach(cell => {
|
|
27845
27861
|
(0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.css)(cell, key, value);
|
|
27846
27862
|
});
|
|
@@ -27849,7 +27865,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
27849
27865
|
close();
|
|
27850
27866
|
editor.unlock();
|
|
27851
27867
|
}, (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.css)(selected[0], key));
|
|
27852
|
-
return (0,
|
|
27868
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .TabsWidget */ .Zg)(editor, [
|
|
27853
27869
|
{
|
|
27854
27870
|
name: 'Background',
|
|
27855
27871
|
content: makeColorPicker('background-color')
|
|
@@ -27860,7 +27876,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
27860
27876
|
},
|
|
27861
27877
|
tooltip: 'Background'
|
|
27862
27878
|
};
|
|
27863
|
-
|
|
27879
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.brush = {
|
|
27864
27880
|
isVisible: (editor) => {
|
|
27865
27881
|
return !editor.o.disablePlugins.includes('color');
|
|
27866
27882
|
},
|
|
@@ -27908,7 +27924,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
27908
27924
|
}
|
|
27909
27925
|
}, editor.editor);
|
|
27910
27926
|
}
|
|
27911
|
-
const backgroundTag = (0,
|
|
27927
|
+
const backgroundTag = (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, (value) => {
|
|
27912
27928
|
if (!currentElement) {
|
|
27913
27929
|
editor.execCommand('background', false, value);
|
|
27914
27930
|
}
|
|
@@ -27919,7 +27935,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
27919
27935
|
(0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.dataBind)(button, 'color-mode', 'background');
|
|
27920
27936
|
close();
|
|
27921
27937
|
}, bg_color);
|
|
27922
|
-
const colorTab = (0,
|
|
27938
|
+
const colorTab = (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .ColorPickerWidget */ .Kn)(editor, (value) => {
|
|
27923
27939
|
if (!currentElement) {
|
|
27924
27940
|
editor.execCommand('forecolor', false, value);
|
|
27925
27941
|
}
|
|
@@ -27943,7 +27959,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
27943
27959
|
if (editor.o.colorPickerDefaultTab !== 'background') {
|
|
27944
27960
|
tabs = tabs.reverse();
|
|
27945
27961
|
}
|
|
27946
|
-
return (0,
|
|
27962
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_4__/* .TabsWidget */ .Zg)(editor, tabs, currentElement);
|
|
27947
27963
|
},
|
|
27948
27964
|
exec(jodit, current, { button }) {
|
|
27949
27965
|
const mode = (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.dataBind)(button, 'color-mode'), color = (0,jodit_core_helpers___WEBPACK_IMPORTED_MODULE_1__.dataBind)(button, 'color');
|
|
@@ -27982,10 +27998,10 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.bru
|
|
|
27982
27998
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
27983
27999
|
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38322);
|
|
27984
28000
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(931);
|
|
27985
|
-
/* harmony import */ var
|
|
27986
|
-
/* harmony import */ var
|
|
27987
|
-
/* harmony import */ var
|
|
27988
|
-
/* harmony import */ var
|
|
28001
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
28002
|
+
/* harmony import */ var _copy_format_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(3843);
|
|
28003
|
+
/* harmony import */ var _copy_format_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_copy_format_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
28004
|
+
/* harmony import */ var _langs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(94628);
|
|
27989
28005
|
/*!
|
|
27990
28006
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27991
28007
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -28043,7 +28059,7 @@ const getStyles = (editor, box, defaultStyles) => {
|
|
|
28043
28059
|
}
|
|
28044
28060
|
return result;
|
|
28045
28061
|
};
|
|
28046
|
-
|
|
28062
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.copyformat = {
|
|
28047
28063
|
exec: (editor, current, { button }) => {
|
|
28048
28064
|
if (!current) {
|
|
28049
28065
|
return;
|
|
@@ -28093,10 +28109,10 @@ function copyFormat(editor) {
|
|
|
28093
28109
|
name: 'copyformat',
|
|
28094
28110
|
group: 'clipboard'
|
|
28095
28111
|
});
|
|
28096
|
-
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .extendLang */ .JW)(
|
|
28112
|
+
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .extendLang */ .JW)(_langs__WEBPACK_IMPORTED_MODULE_5__);
|
|
28097
28113
|
}
|
|
28098
28114
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('copyformat', copyFormat);
|
|
28099
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('copyformat', (
|
|
28115
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('copyformat', (_copy_format_svg__WEBPACK_IMPORTED_MODULE_4___default()));
|
|
28100
28116
|
|
|
28101
28117
|
|
|
28102
28118
|
/***/ }),
|
|
@@ -29906,8 +29922,8 @@ function wrapText(fake, jodit) {
|
|
|
29906
29922
|
/* unused harmony export file */
|
|
29907
29923
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55186);
|
|
29908
29924
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
29909
|
-
/* harmony import */ var
|
|
29910
|
-
/* harmony import */ var
|
|
29925
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
29926
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(16116);
|
|
29911
29927
|
/*!
|
|
29912
29928
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
29913
29929
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -29917,7 +29933,7 @@ function wrapText(fake, jodit) {
|
|
|
29917
29933
|
|
|
29918
29934
|
|
|
29919
29935
|
|
|
29920
|
-
|
|
29936
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.file = {
|
|
29921
29937
|
popup: (editor, current, close) => {
|
|
29922
29938
|
const insert = (url, title = '') => {
|
|
29923
29939
|
editor.s.insertNode(editor.createInside.fromHTML(`<a href="${url}" title="${title}">${title || url}</a>`));
|
|
@@ -29930,7 +29946,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fil
|
|
|
29930
29946
|
? current
|
|
29931
29947
|
: jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor);
|
|
29932
29948
|
}
|
|
29933
|
-
return (0,
|
|
29949
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_3__/* .FileSelectorWidget */ .kG)(editor, {
|
|
29934
29950
|
filebrowser: (data) => {
|
|
29935
29951
|
data.files &&
|
|
29936
29952
|
data.files.forEach(file => insert(data.baseurl + file));
|
|
@@ -30053,11 +30069,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('focus
|
|
|
30053
30069
|
/* harmony import */ var jodit_core_helpers_string_trim__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(59101);
|
|
30054
30070
|
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38322);
|
|
30055
30071
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(931);
|
|
30056
|
-
/* harmony import */ var
|
|
30057
|
-
/* harmony import */ var
|
|
30058
|
-
/* harmony import */ var
|
|
30059
|
-
/* harmony import */ var
|
|
30060
|
-
/* harmony import */ var
|
|
30072
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
30073
|
+
/* harmony import */ var _icons_font_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(48842);
|
|
30074
|
+
/* harmony import */ var _icons_font_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_font_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
30075
|
+
/* harmony import */ var _icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(25501);
|
|
30076
|
+
/* harmony import */ var _icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_fontsize_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
30061
30077
|
/*!
|
|
30062
30078
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30063
30079
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30073,9 +30089,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('focus
|
|
|
30073
30089
|
/**
|
|
30074
30090
|
* Default font-size points
|
|
30075
30091
|
*/
|
|
30076
|
-
|
|
30077
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('font', (
|
|
30078
|
-
|
|
30092
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.defaultFontSizePoints = 'px';
|
|
30093
|
+
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()));
|
|
30094
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fontsize = {
|
|
30079
30095
|
command: 'fontsize',
|
|
30080
30096
|
data: {
|
|
30081
30097
|
cssRule: 'font-size',
|
|
@@ -30134,7 +30150,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.fon
|
|
|
30134
30150
|
return keySet.has(normalize(value.toString()));
|
|
30135
30151
|
}
|
|
30136
30152
|
};
|
|
30137
|
-
|
|
30153
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.font = Object.assign(Object.assign({}, jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.fontsize), { command: 'fontname', textTemplate: (j, value) => {
|
|
30138
30154
|
const [first] = value.split(',');
|
|
30139
30155
|
return (0,jodit_core_helpers_string_trim__WEBPACK_IMPORTED_MODULE_1__/* .trimChars */ .Gd)(first, '"\'');
|
|
30140
30156
|
}, list: {
|
|
@@ -30237,11 +30253,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('font'
|
|
|
30237
30253
|
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
30238
30254
|
|
|
30239
30255
|
"use strict";
|
|
30240
|
-
/* harmony import */ var
|
|
30256
|
+
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55186);
|
|
30257
|
+
/* harmony import */ var jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(25376);
|
|
30241
30258
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(931);
|
|
30242
|
-
/* harmony import */ var
|
|
30243
|
-
/* harmony import */ var
|
|
30244
|
-
/* harmony import */ var
|
|
30259
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
30260
|
+
/* harmony import */ var _paragraph_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(29348);
|
|
30261
|
+
/* harmony import */ var _paragraph_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_paragraph_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
30245
30262
|
/*!
|
|
30246
30263
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30247
30264
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30251,13 +30268,14 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('font'
|
|
|
30251
30268
|
|
|
30252
30269
|
|
|
30253
30270
|
|
|
30254
|
-
|
|
30255
|
-
|
|
30271
|
+
|
|
30272
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('paragraph', (_paragraph_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
30273
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.paragraph = {
|
|
30256
30274
|
command: 'formatBlock',
|
|
30257
30275
|
value(editor, button) {
|
|
30258
30276
|
var _a, _b;
|
|
30259
30277
|
const control = button.control, current = editor.s.current();
|
|
30260
|
-
const currentBox =
|
|
30278
|
+
const currentBox = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.isBlock, editor.editor);
|
|
30261
30279
|
return (_a = currentBox === null || currentBox === void 0 ? void 0 : currentBox.nodeName.toLowerCase()) !== null && _a !== void 0 ? _a : (_b = control.data) === null || _b === void 0 ? void 0 : _b.currentValue;
|
|
30262
30280
|
},
|
|
30263
30281
|
update(editor, button) {
|
|
@@ -30266,7 +30284,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.par
|
|
|
30266
30284
|
return false;
|
|
30267
30285
|
}
|
|
30268
30286
|
const currentValue = button.state.value, list = control.list;
|
|
30269
|
-
if (list && list[currentValue.toString()]) {
|
|
30287
|
+
if ((0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__/* .isPlainObject */ .Q)(list) && list[currentValue.toString()]) {
|
|
30270
30288
|
if (editor.o.textIcons) {
|
|
30271
30289
|
button.state.text = list[currentValue.toString()].toString();
|
|
30272
30290
|
}
|
|
@@ -30290,9 +30308,9 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.par
|
|
|
30290
30308
|
return Boolean(button.state.value === ((_b = (_a = button.control) === null || _a === void 0 ? void 0 : _a.args) === null || _b === void 0 ? void 0 : _b[0]));
|
|
30291
30309
|
},
|
|
30292
30310
|
isActive: (editor, button) => {
|
|
30293
|
-
var _a;
|
|
30294
30311
|
return (button.state.value !== editor.o.enter &&
|
|
30295
|
-
|
|
30312
|
+
(0,jodit_core_helpers_checker_is_plain_object__WEBPACK_IMPORTED_MODULE_4__/* .isPlainObject */ .Q)(button.control.list) &&
|
|
30313
|
+
Boolean(button.control.list[button.state.value]));
|
|
30296
30314
|
},
|
|
30297
30315
|
childTemplate: (e, key, value) => `<${key} style="margin:0;padding:0"><span>${e.i18n(value)}</span></${key}>`,
|
|
30298
30316
|
tooltip: 'Insert format block'
|
|
@@ -30342,11 +30360,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('forma
|
|
|
30342
30360
|
"use strict";
|
|
30343
30361
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17352);
|
|
30344
30362
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(931);
|
|
30345
|
-
/* harmony import */ var
|
|
30346
|
-
/* harmony import */ var
|
|
30347
|
-
/* harmony import */ var
|
|
30348
|
-
/* harmony import */ var
|
|
30349
|
-
/* harmony import */ var
|
|
30363
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
30364
|
+
/* harmony import */ var _icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(24772);
|
|
30365
|
+
/* harmony import */ var _icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_fullsize_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
30366
|
+
/* harmony import */ var _icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(66547);
|
|
30367
|
+
/* harmony import */ var _icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_shrink_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
30350
30368
|
/*!
|
|
30351
30369
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30352
30370
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30358,10 +30376,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('forma
|
|
|
30358
30376
|
|
|
30359
30377
|
|
|
30360
30378
|
|
|
30361
|
-
|
|
30362
|
-
|
|
30363
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('fullsize', (
|
|
30364
|
-
|
|
30379
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.fullsize = false;
|
|
30380
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.globalFullSize = true;
|
|
30381
|
+
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()));
|
|
30382
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.fullsize = {
|
|
30365
30383
|
exec: (editor) => {
|
|
30366
30384
|
editor.toggleFullSize();
|
|
30367
30385
|
},
|
|
@@ -30502,19 +30520,6 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('fulls
|
|
|
30502
30520
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
30503
30521
|
*/
|
|
30504
30522
|
|
|
30505
|
-
/**
|
|
30506
|
-
* You can redefine hotkeys for some command
|
|
30507
|
-
*
|
|
30508
|
-
* @example
|
|
30509
|
-
* ```js
|
|
30510
|
-
* var jodit = Jodit.make('#editor', {
|
|
30511
|
-
* commandToHotkeys: {
|
|
30512
|
-
* bold: 'ctrl+shift+b',
|
|
30513
|
-
* italic: ['ctrl+i', 'ctrl+b'],
|
|
30514
|
-
* }
|
|
30515
|
-
* })
|
|
30516
|
-
* ```
|
|
30517
|
-
*/
|
|
30518
30523
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.commandToHotkeys = {
|
|
30519
30524
|
removeFormat: ['ctrl+shift+m', 'cmd+shift+m'],
|
|
30520
30525
|
insertOrderedList: ['ctrl+shift+7', 'cmd+shift+7'],
|
|
@@ -30689,9 +30694,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('hotke
|
|
|
30689
30694
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(71842);
|
|
30690
30695
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
30691
30696
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(931);
|
|
30692
|
-
/* harmony import */ var
|
|
30693
|
-
/* harmony import */ var
|
|
30694
|
-
/* harmony import */ var
|
|
30697
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(36115);
|
|
30698
|
+
/* harmony import */ var _hr_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(89097);
|
|
30699
|
+
/* harmony import */ var _hr_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_hr_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
30695
30700
|
/*!
|
|
30696
30701
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
30697
30702
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -30702,8 +30707,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('hotke
|
|
|
30702
30707
|
|
|
30703
30708
|
|
|
30704
30709
|
|
|
30705
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('hr', (
|
|
30706
|
-
|
|
30710
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_2__/* .Icon */ .I.set('hr', (_hr_svg__WEBPACK_IMPORTED_MODULE_4___default()));
|
|
30711
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.controls.hr = {
|
|
30707
30712
|
command: 'insertHorizontalRule',
|
|
30708
30713
|
tags: ['hr'],
|
|
30709
30714
|
tooltip: 'Insert Horizontal Line'
|
|
@@ -31184,6 +31189,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('image
|
|
|
31184
31189
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
31185
31190
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
31186
31191
|
*/
|
|
31192
|
+
/**
|
|
31193
|
+
* @module plugins/image-properties
|
|
31194
|
+
*/
|
|
31187
31195
|
|
|
31188
31196
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .T.prototype.image = {
|
|
31189
31197
|
dialogWidth: 600,
|
|
@@ -32700,10 +32708,10 @@ function applySize(image, imageWidth, imageHeight, sizeIsLocked) {
|
|
|
32700
32708
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
32701
32709
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65147);
|
|
32702
32710
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(931);
|
|
32703
|
-
/* harmony import */ var
|
|
32704
|
-
/* harmony import */ var
|
|
32705
|
-
/* harmony import */ var
|
|
32706
|
-
/* harmony import */ var
|
|
32711
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
32712
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(16116);
|
|
32713
|
+
/* harmony import */ var _image_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(64831);
|
|
32714
|
+
/* harmony import */ var _image_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_image_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
32707
32715
|
/*!
|
|
32708
32716
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
32709
32717
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -32717,8 +32725,8 @@ function applySize(image, imageWidth, imageHeight, sizeIsLocked) {
|
|
|
32717
32725
|
|
|
32718
32726
|
|
|
32719
32727
|
|
|
32720
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('image', (
|
|
32721
|
-
|
|
32728
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('image', (_image_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
32729
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.image = {
|
|
32722
32730
|
popup: (editor, current, close) => {
|
|
32723
32731
|
let sourceImage = null;
|
|
32724
32732
|
if (current &&
|
|
@@ -32730,7 +32738,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.prototype.controls.ima
|
|
|
32730
32738
|
: (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.$$)('img', current)[0];
|
|
32731
32739
|
}
|
|
32732
32740
|
editor.s.save();
|
|
32733
|
-
return (0,
|
|
32741
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__/* .FileSelectorWidget */ .kG)(editor, {
|
|
32734
32742
|
filebrowser: (data) => {
|
|
32735
32743
|
editor.s.restore();
|
|
32736
32744
|
data.files &&
|
|
@@ -32773,12 +32781,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('image
|
|
|
32773
32781
|
"use strict";
|
|
32774
32782
|
/* harmony import */ var jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(71842);
|
|
32775
32783
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(931);
|
|
32776
|
-
/* harmony import */ var
|
|
32777
|
-
/* harmony import */ var
|
|
32778
|
-
/* harmony import */ var
|
|
32779
|
-
/* harmony import */ var
|
|
32780
|
-
/* harmony import */ var
|
|
32781
|
-
/* harmony import */ var
|
|
32784
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
32785
|
+
/* harmony import */ var _icons_indent_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(67176);
|
|
32786
|
+
/* harmony import */ var _icons_indent_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_indent_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
32787
|
+
/* harmony import */ var _icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(14017);
|
|
32788
|
+
/* harmony import */ var _icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_outdent_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
32789
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(3392);
|
|
32782
32790
|
/*!
|
|
32783
32791
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
32784
32792
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -32790,17 +32798,17 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('image
|
|
|
32790
32798
|
|
|
32791
32799
|
|
|
32792
32800
|
|
|
32793
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('indent', (
|
|
32794
|
-
|
|
32801
|
+
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()));
|
|
32802
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.indent = {
|
|
32795
32803
|
tooltip: 'Increase Indent'
|
|
32796
32804
|
};
|
|
32797
|
-
|
|
32805
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.outdent = {
|
|
32798
32806
|
isDisabled: (editor) => {
|
|
32799
32807
|
const current = editor.s.current();
|
|
32800
32808
|
if (current) {
|
|
32801
32809
|
const currentBox = jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, jodit_core_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.isBlock, editor.editor);
|
|
32802
32810
|
if (currentBox) {
|
|
32803
|
-
const arrow = (0,
|
|
32811
|
+
const arrow = (0,_helpers__WEBPACK_IMPORTED_MODULE_5__/* .getKey */ .i)(editor.o.direction, currentBox);
|
|
32804
32812
|
return (!currentBox.style[arrow] ||
|
|
32805
32813
|
parseInt(currentBox.style[arrow], 10) <= 0);
|
|
32806
32814
|
}
|
|
@@ -32809,7 +32817,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.out
|
|
|
32809
32817
|
},
|
|
32810
32818
|
tooltip: 'Decrease Indent'
|
|
32811
32819
|
};
|
|
32812
|
-
|
|
32820
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.indentMargin = 10;
|
|
32813
32821
|
|
|
32814
32822
|
|
|
32815
32823
|
/***/ }),
|
|
@@ -33070,12 +33078,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inden
|
|
|
33070
33078
|
|
|
33071
33079
|
"use strict";
|
|
33072
33080
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
33073
|
-
/* harmony import */ var
|
|
33074
|
-
/* harmony import */ var
|
|
33075
|
-
/* harmony import */ var
|
|
33076
|
-
/* harmony import */ var
|
|
33081
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
33082
|
+
/* harmony import */ var _items_a__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(97836);
|
|
33083
|
+
/* harmony import */ var _items_cells__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(82558);
|
|
33084
|
+
/* harmony import */ var _items_iframe__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(6295);
|
|
33085
|
+
/* harmony import */ var _items_img__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(26396);
|
|
33077
33086
|
/* harmony import */ var _items_toolbar__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(58540);
|
|
33078
|
-
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(36115);
|
|
33079
33087
|
/* harmony import */ var jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38681);
|
|
33080
33088
|
/* harmony import */ var jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
33081
33089
|
/* harmony import */ var jodit_plugins_inline_popup_icons_addrow_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(64637);
|
|
@@ -33109,10 +33117,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inden
|
|
|
33109
33117
|
|
|
33110
33118
|
|
|
33111
33119
|
|
|
33112
|
-
|
|
33113
|
-
|
|
33114
|
-
|
|
33115
|
-
|
|
33120
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInline = true;
|
|
33121
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineForSelection = false;
|
|
33122
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineDisableFor = [];
|
|
33123
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.toolbarInlineDisabledButtons = ['source'];
|
|
33116
33124
|
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('addcolumn', (jodit_plugins_inline_popup_icons_addcolumn_svg__WEBPACK_IMPORTED_MODULE_6___default()))
|
|
33117
33125
|
.set('addrow', (jodit_plugins_inline_popup_icons_addrow_svg__WEBPACK_IMPORTED_MODULE_7___default()))
|
|
33118
33126
|
.set('merge', (jodit_plugins_inline_popup_icons_merge_svg__WEBPACK_IMPORTED_MODULE_8___default()))
|
|
@@ -33120,14 +33128,14 @@ jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('addcolumn', (
|
|
|
33120
33128
|
.set('splitg', (jodit_plugins_inline_popup_icons_splitg_svg__WEBPACK_IMPORTED_MODULE_9___default()))
|
|
33121
33129
|
.set('splitv', (jodit_plugins_inline_popup_icons_splitv_svg__WEBPACK_IMPORTED_MODULE_10___default()))
|
|
33122
33130
|
.set('th-list', (jodit_plugins_inline_popup_icons_th_list_svg__WEBPACK_IMPORTED_MODULE_12___default()));
|
|
33123
|
-
|
|
33124
|
-
a:
|
|
33125
|
-
img:
|
|
33126
|
-
cells:
|
|
33131
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.popup = {
|
|
33132
|
+
a: _items_a__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A,
|
|
33133
|
+
img: _items_img__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .A,
|
|
33134
|
+
cells: _items_cells__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .A,
|
|
33127
33135
|
toolbar: _items_toolbar__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .A,
|
|
33128
|
-
jodit:
|
|
33129
|
-
iframe:
|
|
33130
|
-
'jodit-media':
|
|
33136
|
+
jodit: _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
33137
|
+
iframe: _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
33138
|
+
'jodit-media': _items_iframe__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .A,
|
|
33131
33139
|
selection: [
|
|
33132
33140
|
'bold',
|
|
33133
33141
|
'underline',
|
|
@@ -33739,12 +33747,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inlin
|
|
|
33739
33747
|
/* unused harmony export justify */
|
|
33740
33748
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55186);
|
|
33741
33749
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
33742
|
-
/* harmony import */ var
|
|
33743
|
-
/* harmony import */ var
|
|
33744
|
-
/* harmony import */ var
|
|
33745
|
-
/* harmony import */ var
|
|
33746
|
-
/* harmony import */ var _justify_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_justify_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
33750
|
+
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(65147);
|
|
33751
|
+
/* harmony import */ var jodit_core_helpers_utils_align__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(40080);
|
|
33752
|
+
/* harmony import */ var jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(38322);
|
|
33753
|
+
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(931);
|
|
33747
33754
|
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(36115);
|
|
33755
|
+
/* harmony import */ var _justify_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(80515);
|
|
33756
|
+
/* harmony import */ var _justify_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_justify_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
33748
33757
|
/*!
|
|
33749
33758
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
33750
33759
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -33757,7 +33766,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('inlin
|
|
|
33757
33766
|
|
|
33758
33767
|
|
|
33759
33768
|
|
|
33760
|
-
|
|
33769
|
+
|
|
33770
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('justify', (_justify_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
33761
33771
|
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.align = {
|
|
33762
33772
|
name: 'left',
|
|
33763
33773
|
tooltip: 'Align',
|
|
@@ -33766,22 +33776,25 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.ali
|
|
|
33766
33776
|
if (current) {
|
|
33767
33777
|
const currentBox = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.isBlock, editor.editor) ||
|
|
33768
33778
|
editor.editor;
|
|
33769
|
-
let currentValue = (0,
|
|
33779
|
+
let currentValue = (0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__/* .css */ .A)(currentBox, 'text-align').toString();
|
|
33770
33780
|
if (control.defaultValue &&
|
|
33771
33781
|
control.defaultValue.indexOf(currentValue) !== -1) {
|
|
33772
33782
|
currentValue = 'left';
|
|
33773
33783
|
}
|
|
33774
|
-
|
|
33775
|
-
|
|
33776
|
-
|
|
33777
|
-
|
|
33784
|
+
const { list, data } = control;
|
|
33785
|
+
if (data &&
|
|
33786
|
+
data.currentValue !== currentValue &&
|
|
33787
|
+
list &&
|
|
33788
|
+
((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.isPlainObject)(list)
|
|
33789
|
+
? list[currentValue]
|
|
33790
|
+
: list.includes(currentValue))) {
|
|
33778
33791
|
if (editor.o.textIcons || control.component === 'select') {
|
|
33779
33792
|
button.state.text = currentValue;
|
|
33780
33793
|
}
|
|
33781
33794
|
else {
|
|
33782
33795
|
button.state.icon.name = currentValue;
|
|
33783
33796
|
}
|
|
33784
|
-
|
|
33797
|
+
data.currentValue = currentValue;
|
|
33785
33798
|
}
|
|
33786
33799
|
}
|
|
33787
33800
|
},
|
|
@@ -33792,7 +33805,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.ali
|
|
|
33792
33805
|
}
|
|
33793
33806
|
const currentBox = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.isBlock, editor.editor) ||
|
|
33794
33807
|
editor.editor;
|
|
33795
|
-
return (btn.control.defaultValue.indexOf((0,
|
|
33808
|
+
return (btn.control.defaultValue.indexOf((0,jodit_core_helpers_utils_css__WEBPACK_IMPORTED_MODULE_7__/* .css */ .A)(currentBox, 'text-align').toString()) === -1);
|
|
33796
33809
|
},
|
|
33797
33810
|
defaultValue: ['left', 'start', 'inherit'],
|
|
33798
33811
|
data: {
|
|
@@ -33846,7 +33859,7 @@ function justify(editor) {
|
|
|
33846
33859
|
if (!currentBox) {
|
|
33847
33860
|
currentBox = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.wrapInline(current, editor.o.enterBlock, editor);
|
|
33848
33861
|
}
|
|
33849
|
-
(0,
|
|
33862
|
+
(0,jodit_core_helpers_utils_align__WEBPACK_IMPORTED_MODULE_3__/* .alignElement */ .Op)(command, currentBox);
|
|
33850
33863
|
});
|
|
33851
33864
|
return false;
|
|
33852
33865
|
};
|
|
@@ -34058,9 +34071,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('limit
|
|
|
34058
34071
|
"use strict";
|
|
34059
34072
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(65147);
|
|
34060
34073
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(931);
|
|
34061
|
-
/* harmony import */ var
|
|
34062
|
-
/* harmony import */ var
|
|
34063
|
-
/* harmony import */ var
|
|
34074
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
34075
|
+
/* harmony import */ var _line_height_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(223);
|
|
34076
|
+
/* harmony import */ var _line_height_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_line_height_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
34064
34077
|
/*!
|
|
34065
34078
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
34066
34079
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -34070,9 +34083,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('limit
|
|
|
34070
34083
|
|
|
34071
34084
|
|
|
34072
34085
|
|
|
34073
|
-
|
|
34074
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('line-height', (
|
|
34075
|
-
|
|
34086
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.defaultLineHeight = null;
|
|
34087
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('line-height', (_line_height_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
34088
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.lineHeight = {
|
|
34076
34089
|
command: 'applyLineHeight',
|
|
34077
34090
|
tags: ['ol'],
|
|
34078
34091
|
tooltip: 'Line height',
|
|
@@ -34637,12 +34650,12 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('lineH
|
|
|
34637
34650
|
"use strict";
|
|
34638
34651
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55186);
|
|
34639
34652
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(931);
|
|
34640
|
-
/* harmony import */ var
|
|
34641
|
-
/* harmony import */ var
|
|
34642
|
-
/* harmony import */ var
|
|
34643
|
-
/* harmony import */ var
|
|
34644
|
-
/* harmony import */ var
|
|
34645
|
-
/* harmony import */ var
|
|
34653
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
34654
|
+
/* harmony import */ var _icons_link_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(95032);
|
|
34655
|
+
/* harmony import */ var _icons_link_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_link_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
34656
|
+
/* harmony import */ var _icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(73533);
|
|
34657
|
+
/* harmony import */ var _icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_unlink_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
34658
|
+
/* harmony import */ var _template__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(21329);
|
|
34646
34659
|
/*!
|
|
34647
34660
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
34648
34661
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -34654,8 +34667,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('lineH
|
|
|
34654
34667
|
|
|
34655
34668
|
|
|
34656
34669
|
|
|
34657
|
-
|
|
34658
|
-
formTemplate:
|
|
34670
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.link = {
|
|
34671
|
+
formTemplate: _template__WEBPACK_IMPORTED_MODULE_5__/* .formTemplate */ .B,
|
|
34659
34672
|
followOnDblClick: false,
|
|
34660
34673
|
processVideoLink: true,
|
|
34661
34674
|
processPastedLink: true,
|
|
@@ -34667,8 +34680,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.link = {
|
|
|
34667
34680
|
selectOptionsClassName: [],
|
|
34668
34681
|
hotkeys: ['ctrl+k', 'cmd+k']
|
|
34669
34682
|
};
|
|
34670
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('link', (
|
|
34671
|
-
|
|
34683
|
+
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()));
|
|
34684
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.unlink = {
|
|
34672
34685
|
exec: (editor, current) => {
|
|
34673
34686
|
const anchor = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor);
|
|
34674
34687
|
if (anchor) {
|
|
@@ -34679,7 +34692,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.unl
|
|
|
34679
34692
|
},
|
|
34680
34693
|
tooltip: 'Unlink'
|
|
34681
34694
|
};
|
|
34682
|
-
|
|
34695
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.link = {
|
|
34683
34696
|
isActive: (editor) => {
|
|
34684
34697
|
const current = editor.s.current();
|
|
34685
34698
|
return Boolean(current && jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_0__/* .Dom */ .J.closest(current, 'a', editor.editor));
|
|
@@ -35224,9 +35237,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('media
|
|
|
35224
35237
|
"use strict";
|
|
35225
35238
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17352);
|
|
35226
35239
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65147);
|
|
35227
|
-
/* harmony import */ var
|
|
35228
|
-
/* harmony import */ var
|
|
35229
|
-
/* harmony import */ var
|
|
35240
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
35241
|
+
/* harmony import */ var jodit_modules_toolbar_collection_collection__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(97394);
|
|
35242
|
+
/* harmony import */ var jodit_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(8809);
|
|
35230
35243
|
/*!
|
|
35231
35244
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
35232
35245
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -35237,9 +35250,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('media
|
|
|
35237
35250
|
|
|
35238
35251
|
|
|
35239
35252
|
|
|
35240
|
-
|
|
35241
|
-
|
|
35242
|
-
|
|
35253
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.mobileTapTimeout = 300;
|
|
35254
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.toolbarAdaptive = true;
|
|
35255
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsMD = [
|
|
35243
35256
|
{
|
|
35244
35257
|
group: 'font-style',
|
|
35245
35258
|
buttons: []
|
|
@@ -35286,7 +35299,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsMD =
|
|
|
35286
35299
|
'|',
|
|
35287
35300
|
'dots'
|
|
35288
35301
|
];
|
|
35289
|
-
|
|
35302
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsSM = [
|
|
35290
35303
|
{
|
|
35291
35304
|
group: 'font-style',
|
|
35292
35305
|
buttons: []
|
|
@@ -35321,7 +35334,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsSM =
|
|
|
35321
35334
|
'|',
|
|
35322
35335
|
'dots'
|
|
35323
35336
|
];
|
|
35324
|
-
|
|
35337
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.buttonsXS = [
|
|
35325
35338
|
{
|
|
35326
35339
|
group: 'font-style',
|
|
35327
35340
|
buttons: []
|
|
@@ -35342,17 +35355,17 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.buttonsXS =
|
|
|
35342
35355
|
'---',
|
|
35343
35356
|
'dots'
|
|
35344
35357
|
];
|
|
35345
|
-
|
|
35358
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.dots = {
|
|
35346
35359
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SOURCE + jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_WYSIWYG,
|
|
35347
35360
|
popup: (editor, current, close, button) => {
|
|
35348
35361
|
let store = button.control.data;
|
|
35349
35362
|
if (store === undefined) {
|
|
35350
35363
|
store = {
|
|
35351
|
-
toolbar: (0,
|
|
35364
|
+
toolbar: (0,jodit_modules_toolbar_factory__WEBPACK_IMPORTED_MODULE_4__/* .makeCollection */ .$K)(editor),
|
|
35352
35365
|
rebuild: () => {
|
|
35353
35366
|
var _a, _b;
|
|
35354
35367
|
if (button) {
|
|
35355
|
-
const buttons = editor.e.fire('getDiffButtons.mobile', button.closest(
|
|
35368
|
+
const buttons = editor.e.fire('getDiffButtons.mobile', button.closest(jodit_modules_toolbar_collection_collection__WEBPACK_IMPORTED_MODULE_3__/* .ToolbarCollection */ .Q));
|
|
35356
35369
|
if (buttons && store) {
|
|
35357
35370
|
store.toolbar.build((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.splitArray)(buttons));
|
|
35358
35371
|
const w = ((_b = (_a = editor.toolbar) === null || _a === void 0 ? void 0 : _a.firstButton) === null || _b === void 0 ? void 0 : _b.container.offsetWidth) || 36;
|
|
@@ -35461,11 +35474,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('mobil
|
|
|
35461
35474
|
"use strict";
|
|
35462
35475
|
/* harmony import */ var jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(72197);
|
|
35463
35476
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(931);
|
|
35464
|
-
/* harmony import */ var
|
|
35465
|
-
/* harmony import */ var
|
|
35466
|
-
/* harmony import */ var
|
|
35467
|
-
/* harmony import */ var
|
|
35468
|
-
/* harmony import */ var
|
|
35477
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
35478
|
+
/* harmony import */ var _icons_ol_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(40037);
|
|
35479
|
+
/* harmony import */ var _icons_ol_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_icons_ol_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
35480
|
+
/* harmony import */ var _icons_ul_svg__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(83207);
|
|
35481
|
+
/* harmony import */ var _icons_ul_svg__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_icons_ul_svg__WEBPACK_IMPORTED_MODULE_4__);
|
|
35469
35482
|
/*!
|
|
35470
35483
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
35471
35484
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -35483,8 +35496,8 @@ const memoExec = (jodit, _, { control }) => {
|
|
|
35483
35496
|
(0,jodit_core_helpers_utils_data_bind__WEBPACK_IMPORTED_MODULE_0__/* .dataBind */ .m)(jodit, key, value);
|
|
35484
35497
|
jodit.execCommand(control.command, false, value === 'default' ? null : value);
|
|
35485
35498
|
};
|
|
35486
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('ol', (
|
|
35487
|
-
|
|
35499
|
+
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()));
|
|
35500
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.ul = {
|
|
35488
35501
|
command: 'insertUnorderedList',
|
|
35489
35502
|
tags: ['ul'],
|
|
35490
35503
|
tooltip: 'Insert Unordered List',
|
|
@@ -35496,7 +35509,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.ul
|
|
|
35496
35509
|
},
|
|
35497
35510
|
exec: memoExec
|
|
35498
35511
|
};
|
|
35499
|
-
|
|
35512
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.ol = {
|
|
35500
35513
|
command: 'insertOrderedList',
|
|
35501
35514
|
tags: ['ol'],
|
|
35502
35515
|
tooltip: 'Insert Ordered List',
|
|
@@ -35872,8 +35885,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('paste
|
|
|
35872
35885
|
"use strict";
|
|
35873
35886
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(31635);
|
|
35874
35887
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17352);
|
|
35875
|
-
/* harmony import */ var
|
|
35876
|
-
/* harmony import */ var
|
|
35888
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
35889
|
+
/* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(90823);
|
|
35877
35890
|
/*!
|
|
35878
35891
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
35879
35892
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -35883,19 +35896,19 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('paste
|
|
|
35883
35896
|
|
|
35884
35897
|
|
|
35885
35898
|
|
|
35886
|
-
|
|
35887
|
-
|
|
35888
|
-
|
|
35889
|
-
|
|
35890
|
-
|
|
35899
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.askBeforePasteHTML = true;
|
|
35900
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.processPasteHTML = true;
|
|
35901
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.scrollToPastedContent = true;
|
|
35902
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.pasteExcludeStripTags = ['br', 'hr'];
|
|
35903
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.pasteHTMLActionList = [
|
|
35891
35904
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_AS_HTML, text: 'Keep' },
|
|
35892
35905
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_AS_TEXT, text: 'Insert as Text' },
|
|
35893
35906
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_ONLY_TEXT, text: 'Insert only Text' }
|
|
35894
35907
|
];
|
|
35895
|
-
|
|
35896
|
-
|
|
35908
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.memorizeChoiceWhenPasteFragment = false;
|
|
35909
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.nl2brInPlainText = true;
|
|
35897
35910
|
const psKey = 'pasteStorage';
|
|
35898
|
-
|
|
35911
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.paste = {
|
|
35899
35912
|
tooltip: 'Paste from clipboard',
|
|
35900
35913
|
exec(editor_1, _1, _a) {
|
|
35901
35914
|
return (0,tslib__WEBPACK_IMPORTED_MODULE_3__/* .__awaiter */ .sH)(this, arguments, void 0, function* (editor, _, { control }) {
|
|
@@ -35944,7 +35957,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.pas
|
|
|
35944
35957
|
!error && editor.e.fire('afterPaste');
|
|
35945
35958
|
}
|
|
35946
35959
|
else if (text.length) {
|
|
35947
|
-
(0,
|
|
35960
|
+
(0,_helpers__WEBPACK_IMPORTED_MODULE_2__/* .pasteInsertHtml */ .sX)(null, editor, text);
|
|
35948
35961
|
editor.e.fire('afterPaste');
|
|
35949
35962
|
}
|
|
35950
35963
|
else {
|
|
@@ -36670,10 +36683,10 @@ function generateCriticalCSS(jodit) {
|
|
|
36670
36683
|
/* harmony import */ var jodit_core_helpers_utils_default_language__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(17527);
|
|
36671
36684
|
/* harmony import */ var jodit_core_helpers_utils_print__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(98434);
|
|
36672
36685
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(931);
|
|
36673
|
-
/* harmony import */ var
|
|
36674
|
-
/* harmony import */ var
|
|
36675
|
-
/* harmony import */ var
|
|
36676
|
-
/* harmony import */ var
|
|
36686
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(36115);
|
|
36687
|
+
/* harmony import */ var _lib_generate_critical_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(11131);
|
|
36688
|
+
/* harmony import */ var _print_svg__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(59827);
|
|
36689
|
+
/* harmony import */ var _print_svg__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_print_svg__WEBPACK_IMPORTED_MODULE_7__);
|
|
36677
36690
|
/*!
|
|
36678
36691
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
36679
36692
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -36688,8 +36701,8 @@ function generateCriticalCSS(jodit) {
|
|
|
36688
36701
|
|
|
36689
36702
|
|
|
36690
36703
|
|
|
36691
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('print', (
|
|
36692
|
-
|
|
36704
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_4__/* .Icon */ .I.set('print', (_print_svg__WEBPACK_IMPORTED_MODULE_7___default()));
|
|
36705
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T.prototype.controls.print = {
|
|
36693
36706
|
exec: (editor) => {
|
|
36694
36707
|
const iframe = editor.create.element('iframe');
|
|
36695
36708
|
Object.assign(iframe.style, {
|
|
@@ -36700,7 +36713,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_7__/* .Config */ .T.prototype.controls.pri
|
|
|
36700
36713
|
height: 0,
|
|
36701
36714
|
border: 0
|
|
36702
36715
|
});
|
|
36703
|
-
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .getContainer */ .My)(editor,
|
|
36716
|
+
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .getContainer */ .My)(editor, jodit_config__WEBPACK_IMPORTED_MODULE_5__/* .Config */ .T).appendChild(iframe);
|
|
36704
36717
|
const afterFinishPrint = () => {
|
|
36705
36718
|
editor.e.off(editor.ow, 'mousemove', afterFinishPrint);
|
|
36706
36719
|
jodit_core_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .J.safeRemove(iframe);
|
|
@@ -36718,7 +36731,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_7__/* .Config */ .T.prototype.controls.pri
|
|
|
36718
36731
|
myWindow.document.write('<!doctype html><html lang="' +
|
|
36719
36732
|
(0,jodit_core_helpers_utils_default_language__WEBPACK_IMPORTED_MODULE_8__/* .defaultLanguage */ .e)(editor.o.language) +
|
|
36720
36733
|
'"><head><title></title></head><style>' +
|
|
36721
|
-
(0,
|
|
36734
|
+
(0,_lib_generate_critical_css__WEBPACK_IMPORTED_MODULE_6__/* .generateCriticalCSS */ .Y)(editor) +
|
|
36722
36735
|
'</style><body></body></html>');
|
|
36723
36736
|
myWindow.document.close();
|
|
36724
36737
|
(0,jodit_core_helpers_utils_print__WEBPACK_IMPORTED_MODULE_3__/* .previewBox */ .u)(editor, undefined, 'px', myWindow.document.body);
|
|
@@ -36756,11 +36769,11 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('print
|
|
|
36756
36769
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(56298);
|
|
36757
36770
|
/* harmony import */ var jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(29866);
|
|
36758
36771
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(931);
|
|
36759
|
-
/* harmony import */ var
|
|
36760
|
-
/* harmony import */ var
|
|
36761
|
-
/* harmony import */ var
|
|
36762
|
-
/* harmony import */ var
|
|
36763
|
-
/* harmony import */ var
|
|
36772
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
36773
|
+
/* harmony import */ var _icons_redo_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(34045);
|
|
36774
|
+
/* harmony import */ var _icons_redo_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_icons_redo_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
36775
|
+
/* harmony import */ var _icons_undo_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(39199);
|
|
36776
|
+
/* harmony import */ var _icons_undo_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_icons_undo_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
36764
36777
|
/*!
|
|
36765
36778
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
36766
36779
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -36773,13 +36786,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_2__/* .pluginSystem */ .fg.add('print
|
|
|
36773
36786
|
|
|
36774
36787
|
|
|
36775
36788
|
|
|
36776
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('redo', (
|
|
36777
|
-
|
|
36789
|
+
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()));
|
|
36790
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.redo = {
|
|
36778
36791
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
36779
36792
|
isDisabled: (editor) => !editor.history.canRedo(),
|
|
36780
36793
|
tooltip: 'Redo'
|
|
36781
36794
|
};
|
|
36782
|
-
|
|
36795
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.undo = {
|
|
36783
36796
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
36784
36797
|
isDisabled: (editor) => !editor.history.canUndo(),
|
|
36785
36798
|
tooltip: 'Undo'
|
|
@@ -37798,9 +37811,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('resiz
|
|
|
37798
37811
|
|
|
37799
37812
|
"use strict";
|
|
37800
37813
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
37801
|
-
/* harmony import */ var
|
|
37802
|
-
/* harmony import */ var
|
|
37803
|
-
/* harmony import */ var
|
|
37814
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
37815
|
+
/* harmony import */ var _search_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(21917);
|
|
37816
|
+
/* harmony import */ var _search_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_search_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
37804
37817
|
/*!
|
|
37805
37818
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
37806
37819
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -37810,14 +37823,14 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('resiz
|
|
|
37810
37823
|
|
|
37811
37824
|
|
|
37812
37825
|
|
|
37813
|
-
|
|
37814
|
-
|
|
37826
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.useSearch = true;
|
|
37827
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.search = {
|
|
37815
37828
|
lazyIdleTimeout: 0,
|
|
37816
37829
|
// @ts-ignore Because Highlight is not defined in the types TS 5.3.3
|
|
37817
37830
|
useCustomHighlightAPI: typeof window.Highlight !== 'undefined'
|
|
37818
37831
|
};
|
|
37819
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('search', (
|
|
37820
|
-
|
|
37832
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('search', (_search_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
37833
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.find = {
|
|
37821
37834
|
tooltip: 'Find',
|
|
37822
37835
|
icon: 'search',
|
|
37823
37836
|
exec(jodit, _, { control }) {
|
|
@@ -39449,9 +39462,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('size'
|
|
|
39449
39462
|
"use strict";
|
|
39450
39463
|
/* harmony import */ var jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(17352);
|
|
39451
39464
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(931);
|
|
39452
|
-
/* harmony import */ var
|
|
39453
|
-
/* harmony import */ var
|
|
39454
|
-
/* harmony import */ var
|
|
39465
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(36115);
|
|
39466
|
+
/* harmony import */ var _source_svg__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9103);
|
|
39467
|
+
/* harmony import */ var _source_svg__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_source_svg__WEBPACK_IMPORTED_MODULE_3__);
|
|
39455
39468
|
/*!
|
|
39456
39469
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
39457
39470
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -39461,9 +39474,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_1__/* .pluginSystem */ .fg.add('size'
|
|
|
39461
39474
|
|
|
39462
39475
|
|
|
39463
39476
|
|
|
39464
|
-
|
|
39465
|
-
|
|
39466
|
-
|
|
39477
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.beautifyHTML = !jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.IS_IE;
|
|
39478
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditor = 'ace';
|
|
39479
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditorNativeOptions = {
|
|
39467
39480
|
/**
|
|
39468
39481
|
* Show gutter
|
|
39469
39482
|
*/
|
|
@@ -39485,15 +39498,15 @@ jodit_config__WEBPACK_IMPORTED_MODULE_3__/* .Config */ .T.prototype.sourceEditor
|
|
|
39485
39498
|
*/
|
|
39486
39499
|
highlightActiveLine: true
|
|
39487
39500
|
};
|
|
39488
|
-
|
|
39501
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.sourceEditorCDNUrlsJS = [
|
|
39489
39502
|
'https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.2/ace.js'
|
|
39490
39503
|
];
|
|
39491
|
-
|
|
39504
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.beautifyHTMLCDNUrlsJS = [
|
|
39492
39505
|
'https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify.min.js',
|
|
39493
39506
|
'https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify-html.min.js'
|
|
39494
39507
|
];
|
|
39495
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('source', (
|
|
39496
|
-
|
|
39508
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .I.set('source', (_source_svg__WEBPACK_IMPORTED_MODULE_3___default()));
|
|
39509
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.controls.source = {
|
|
39497
39510
|
mode: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.MODE_SPLIT,
|
|
39498
39511
|
exec: (editor) => {
|
|
39499
39512
|
editor.toggleMode();
|
|
@@ -40303,9 +40316,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('sourc
|
|
|
40303
40316
|
|
|
40304
40317
|
"use strict";
|
|
40305
40318
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
40306
|
-
/* harmony import */ var
|
|
40307
|
-
/* harmony import */ var
|
|
40308
|
-
/* harmony import */ var
|
|
40319
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
40320
|
+
/* harmony import */ var _spellcheck_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(49989);
|
|
40321
|
+
/* harmony import */ var _spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
40309
40322
|
/*!
|
|
40310
40323
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
40311
40324
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -40314,13 +40327,13 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('sourc
|
|
|
40314
40327
|
|
|
40315
40328
|
|
|
40316
40329
|
|
|
40317
|
-
|
|
40318
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('spellcheck', (
|
|
40319
|
-
|
|
40330
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.spellcheck = false;
|
|
40331
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('spellcheck', (_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
40332
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.spellcheck = {
|
|
40320
40333
|
isActive(e) {
|
|
40321
40334
|
return e.o.spellcheck;
|
|
40322
40335
|
},
|
|
40323
|
-
icon: (
|
|
40336
|
+
icon: (_spellcheck_svg__WEBPACK_IMPORTED_MODULE_2___default()),
|
|
40324
40337
|
name: 'spellcheck',
|
|
40325
40338
|
command: 'toggleSpellcheck',
|
|
40326
40339
|
tooltip: 'Spellcheck'
|
|
@@ -41095,9 +41108,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('stick
|
|
|
41095
41108
|
|
|
41096
41109
|
"use strict";
|
|
41097
41110
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(931);
|
|
41098
|
-
/* harmony import */ var
|
|
41099
|
-
/* harmony import */ var
|
|
41100
|
-
/* harmony import */ var
|
|
41111
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(36115);
|
|
41112
|
+
/* harmony import */ var _symbols_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(81875);
|
|
41113
|
+
/* harmony import */ var _symbols_svg__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_symbols_svg__WEBPACK_IMPORTED_MODULE_2__);
|
|
41101
41114
|
/*!
|
|
41102
41115
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
41103
41116
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -41106,8 +41119,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .fg.add('stick
|
|
|
41106
41119
|
|
|
41107
41120
|
|
|
41108
41121
|
|
|
41109
|
-
|
|
41110
|
-
|
|
41122
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.usePopupForSpecialCharacters = false;
|
|
41123
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.specialCharacters = [
|
|
41111
41124
|
'!',
|
|
41112
41125
|
'"',
|
|
41113
41126
|
'#',
|
|
@@ -41319,8 +41332,8 @@ jodit_config__WEBPACK_IMPORTED_MODULE_2__/* .Config */ .T.prototype.specialChara
|
|
|
41319
41332
|
'♦',
|
|
41320
41333
|
'≈'
|
|
41321
41334
|
];
|
|
41322
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('symbols', (
|
|
41323
|
-
|
|
41335
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_0__/* .Icon */ .I.set('symbols', (_symbols_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
41336
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.symbols = {
|
|
41324
41337
|
hotkeys: ['ctrl+shift+i', 'cmd+shift+i'],
|
|
41325
41338
|
tooltip: 'Insert Special Character',
|
|
41326
41339
|
popup: (editor, current, close) => {
|
|
@@ -42309,9 +42322,9 @@ function findCell(editor, key) {
|
|
|
42309
42322
|
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65147);
|
|
42310
42323
|
/* harmony import */ var jodit_core_helpers_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(97369);
|
|
42311
42324
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(931);
|
|
42312
|
-
/* harmony import */ var
|
|
42313
|
-
/* harmony import */ var
|
|
42314
|
-
/* harmony import */ var
|
|
42325
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
42326
|
+
/* harmony import */ var _table_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(67447);
|
|
42327
|
+
/* harmony import */ var _table_svg__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_table_svg__WEBPACK_IMPORTED_MODULE_5__);
|
|
42315
42328
|
/*!
|
|
42316
42329
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
42317
42330
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -42323,12 +42336,12 @@ function findCell(editor, key) {
|
|
|
42323
42336
|
|
|
42324
42337
|
|
|
42325
42338
|
|
|
42326
|
-
|
|
42339
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.table = {
|
|
42327
42340
|
selectionCellStyle: 'border: 1px double #1e88e5 !important;',
|
|
42328
42341
|
useExtraClassesOptions: false
|
|
42329
42342
|
};
|
|
42330
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('table', (
|
|
42331
|
-
|
|
42343
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('table', (_table_svg__WEBPACK_IMPORTED_MODULE_5___default()));
|
|
42344
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.table = {
|
|
42332
42345
|
data: {
|
|
42333
42346
|
cols: 10,
|
|
42334
42347
|
rows: 10,
|
|
@@ -42495,10 +42508,10 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('table
|
|
|
42495
42508
|
/* harmony import */ var jodit_core_ui_button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(35265);
|
|
42496
42509
|
/* harmony import */ var jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(20703);
|
|
42497
42510
|
/* harmony import */ var jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(931);
|
|
42498
|
-
/* harmony import */ var
|
|
42499
|
-
/* harmony import */ var
|
|
42500
|
-
/* harmony import */ var
|
|
42501
|
-
/* harmony import */ var
|
|
42511
|
+
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(36115);
|
|
42512
|
+
/* harmony import */ var jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(16116);
|
|
42513
|
+
/* harmony import */ var _video_svg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(36339);
|
|
42514
|
+
/* harmony import */ var _video_svg__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_video_svg__WEBPACK_IMPORTED_MODULE_6__);
|
|
42502
42515
|
/*!
|
|
42503
42516
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
42504
42517
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -42511,8 +42524,8 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .pluginSystem */ .fg.add('table
|
|
|
42511
42524
|
|
|
42512
42525
|
|
|
42513
42526
|
|
|
42514
|
-
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('video', (
|
|
42515
|
-
|
|
42527
|
+
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_3__/* .Icon */ .I.set('video', (_video_svg__WEBPACK_IMPORTED_MODULE_6___default()));
|
|
42528
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_4__/* .Config */ .T.prototype.controls.video = {
|
|
42516
42529
|
popup: (editor, current, close) => {
|
|
42517
42530
|
const formLink = new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIForm */ .XV(editor, [
|
|
42518
42531
|
new jodit_core_ui_form__WEBPACK_IMPORTED_MODULE_2__/* .UIBlock */ .Yh(editor, [
|
|
@@ -42559,7 +42572,7 @@ jodit_config__WEBPACK_IMPORTED_MODULE_6__/* .Config */ .T.prototype.controls.vid
|
|
|
42559
42572
|
formCode.onSubmit(data => {
|
|
42560
42573
|
insertCode(data.code);
|
|
42561
42574
|
});
|
|
42562
|
-
return (0,
|
|
42575
|
+
return (0,jodit_modules_widget__WEBPACK_IMPORTED_MODULE_5__/* .TabsWidget */ .Zg)(editor, tabs);
|
|
42563
42576
|
},
|
|
42564
42577
|
tags: ['iframe'],
|
|
42565
42578
|
tooltip: 'Insert youtube/vimeo video'
|