jodit 4.0.6 → 4.0.13
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 +15 -5
- package/es2015/jodit.css +19 -19
- package/es2015/jodit.fat.min.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +633 -529
- package/es2015/jodit.min.css +1 -1
- 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 +72 -46
- package/es2015/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es2018/jodit.css +19 -19
- package/es2018/jodit.fat.min.css +1 -1
- package/es2018/jodit.fat.min.js +2 -2
- package/es2018/jodit.js +633 -529
- package/es2018/jodit.min.css +1 -1
- 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 +72 -46
- package/es2018/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es2021/jodit.css +19 -19
- package/es2021/jodit.fat.min.css +1 -1
- package/es2021/jodit.fat.min.js +2 -2
- package/es2021/jodit.js +632 -528
- package/es2021/jodit.min.css +1 -1
- 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 +72 -46
- package/es2021/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es2021.en/jodit.css +19 -19
- package/es2021.en/jodit.fat.min.css +1 -1
- package/es2021.en/jodit.fat.min.js +2 -2
- package/es2021.en/jodit.js +333 -313
- package/es2021.en/jodit.min.css +1 -1
- 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 +3 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es5/jodit.css +25 -19
- package/es5/jodit.fat.min.css +1 -1
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +646 -542
- package/es5/jodit.min.css +3 -3
- 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 +72 -46
- package/es5/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/esm/core/async/async.d.ts +1 -1
- package/esm/core/async/async.js +2 -2
- package/esm/core/constants.js +1 -1
- package/esm/core/create/create.d.ts +1 -1
- package/esm/core/helpers/utils/append-script.d.ts +1 -5
- package/esm/core/helpers/utils/append-script.js +13 -28
- package/esm/core/plugin/helpers/load.d.ts +1 -1
- package/esm/core/plugin/helpers/load.js +2 -2
- package/esm/core/plugin/plugin-system.js +5 -5
- package/esm/core/plugin/plugin.js +5 -1
- package/esm/core/ui/popup/popup.js +1 -0
- package/esm/core/view/view-with-toolbar.js +4 -1
- package/esm/langs/fi.d.ts +218 -0
- package/esm/langs/fi.js +231 -0
- package/esm/languages.js +2 -0
- package/esm/plugins/add-new-line/add-new-line.d.ts +14 -14
- package/esm/plugins/add-new-line/add-new-line.js +76 -73
- package/esm/plugins/copy-format/langs/fi.d.ts +4 -0
- package/esm/plugins/copy-format/langs/fi.js +9 -0
- package/esm/plugins/copy-format/langs/index.d.ts +2 -1
- package/esm/plugins/copy-format/langs/index.js +2 -1
- package/esm/plugins/line-height/langs/fi.d.ts +4 -0
- package/esm/plugins/line-height/langs/fi.js +9 -0
- package/esm/plugins/line-height/langs/index.d.ts +2 -1
- package/esm/plugins/line-height/langs/index.js +2 -1
- package/esm/plugins/resizer/resizer.d.ts +2 -2
- package/esm/plugins/resizer/resizer.js +12 -13
- package/esm/plugins/search/config.d.ts +5 -0
- package/esm/plugins/search/config.js +3 -1
- package/esm/plugins/search/helpers/{wrap-ranges-texts-in-tmp-span.d.ts → highlight-text-ranges.d.ts} +2 -2
- package/esm/plugins/search/helpers/{wrap-ranges-texts-in-tmp-span.js → highlight-text-ranges.js} +19 -1
- package/esm/plugins/search/helpers/index.d.ts +1 -1
- package/esm/plugins/search/helpers/index.js +1 -1
- package/esm/plugins/search/search.d.ts +1 -1
- package/esm/plugins/search/search.js +4 -4
- package/esm/plugins/source/source.js +1 -1
- package/esm/plugins/speech-recognize/langs/fi.d.ts +9 -0
- package/esm/plugins/speech-recognize/langs/fi.js +14 -0
- package/esm/plugins/speech-recognize/langs/index.d.ts +2 -1
- package/esm/plugins/speech-recognize/langs/index.js +2 -1
- package/esm/plugins/spellcheck/langs/fi.d.ts +1 -0
- package/esm/plugins/spellcheck/langs/fi.js +9 -0
- package/esm/plugins/spellcheck/langs/index.d.ts +2 -1
- package/esm/plugins/spellcheck/langs/index.js +2 -1
- package/esm/plugins/symbols/langs/fi.d.ts +1 -0
- package/esm/plugins/symbols/langs/fi.js +9 -0
- package/esm/plugins/symbols/langs/index.d.ts +2 -1
- package/esm/plugins/symbols/langs/index.js +2 -1
- package/esm/plugins/table-keyboard-navigation/table-keyboard-navigation.d.ts +1 -1
- package/esm/plugins/table-keyboard-navigation/table-keyboard-navigation.js +70 -73
- package/esm/tsconfig.json +1 -1
- package/esm/types/create.d.ts +1 -1
- package/package.json +1 -1
- package/types/core/async/async.d.ts +1 -1
- package/types/core/create/create.d.ts +1 -1
- package/types/core/helpers/utils/append-script.d.ts +1 -5
- package/types/core/plugin/helpers/load.d.ts +1 -1
- package/types/langs/fi.d.ts +218 -0
- package/types/plugins/add-new-line/add-new-line.d.ts +14 -14
- package/types/plugins/copy-format/langs/fi.d.ts +4 -0
- package/types/plugins/copy-format/langs/index.d.ts +2 -1
- package/types/plugins/line-height/langs/fi.d.ts +4 -0
- package/types/plugins/line-height/langs/index.d.ts +2 -1
- package/types/plugins/resizer/resizer.d.ts +2 -2
- package/types/plugins/search/config.d.ts +5 -0
- package/types/plugins/search/helpers/{wrap-ranges-texts-in-tmp-span.d.ts → highlight-text-ranges.d.ts} +2 -2
- package/types/plugins/search/helpers/index.d.ts +1 -1
- package/types/plugins/search/search.d.ts +1 -1
- package/types/plugins/speech-recognize/langs/fi.d.ts +9 -0
- package/types/plugins/speech-recognize/langs/index.d.ts +2 -1
- package/types/plugins/spellcheck/langs/fi.d.ts +1 -0
- package/types/plugins/spellcheck/langs/index.d.ts +2 -1
- package/types/plugins/symbols/langs/fi.d.ts +1 -0
- package/types/plugins/symbols/langs/index.d.ts +2 -1
- package/types/plugins/table-keyboard-navigation/table-keyboard-navigation.d.ts +1 -1
- package/types/tsconfig.json +1 -1
- package/types/types/create.d.ts +1 -1
package/es2021/jodit.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser
|
|
3
3
|
* Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
|
|
4
|
-
* Version: v4.0.
|
|
4
|
+
* Version: v4.0.13
|
|
5
5
|
* Url: https://xdsoft.net/jodit/
|
|
6
6
|
* License(s): MIT
|
|
7
7
|
*/
|
|
@@ -1037,7 +1037,7 @@ class Async {
|
|
|
1037
1037
|
});
|
|
1038
1038
|
}, options?.timeout ?? 1);
|
|
1039
1039
|
});
|
|
1040
|
-
this.
|
|
1040
|
+
this.__cancelIdleCallbackNative = window['cancelIdleCallback']?.bind(window) ??
|
|
1041
1041
|
((request) => {
|
|
1042
1042
|
this.clearTimeout(request);
|
|
1043
1043
|
});
|
|
@@ -1263,7 +1263,7 @@ class Async {
|
|
|
1263
1263
|
}
|
|
1264
1264
|
cancelIdleCallback(request) {
|
|
1265
1265
|
this.requestsIdle.delete(request);
|
|
1266
|
-
return this.
|
|
1266
|
+
return this.__cancelIdleCallbackNative(request);
|
|
1267
1267
|
}
|
|
1268
1268
|
requestAnimationFrame(callback) {
|
|
1269
1269
|
const request = requestAnimationFrame(callback);
|
|
@@ -1692,7 +1692,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1692
1692
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
1693
1693
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
1694
1694
|
*/
|
|
1695
|
-
const APP_VERSION = "4.0.
|
|
1695
|
+
const APP_VERSION = "4.0.13";
|
|
1696
1696
|
// prettier-ignore
|
|
1697
1697
|
const ES = "es2021";
|
|
1698
1698
|
const IS_ES_MODERN = true;
|
|
@@ -7146,12 +7146,10 @@ function alignElement(command, box) {
|
|
|
7146
7146
|
/* harmony export */ GX: function() { return /* binding */ loadNextStyle; },
|
|
7147
7147
|
/* harmony export */ JL: function() { return /* binding */ appendScriptAsync; },
|
|
7148
7148
|
/* harmony export */ Nf: function() { return /* binding */ appendStyleAsync; },
|
|
7149
|
-
/* harmony export */ uR: function() { return /* binding */ appendScript; },
|
|
7150
7149
|
/* harmony export */ wY: function() { return /* binding */ loadNext; }
|
|
7151
7150
|
/* harmony export */ });
|
|
7152
|
-
/* harmony import */ var
|
|
7153
|
-
/* harmony import */ var
|
|
7154
|
-
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2926);
|
|
7151
|
+
/* harmony import */ var _complete_url__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55313);
|
|
7152
|
+
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2926);
|
|
7155
7153
|
/*!
|
|
7156
7154
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
7157
7155
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -7159,7 +7157,6 @@ function alignElement(command, box) {
|
|
|
7159
7157
|
*/
|
|
7160
7158
|
|
|
7161
7159
|
|
|
7162
|
-
|
|
7163
7160
|
const alreadyLoadedList = new Map();
|
|
7164
7161
|
const cacheLoaders = (loader) => {
|
|
7165
7162
|
return async (jodit, url) => {
|
|
@@ -7171,44 +7168,30 @@ const cacheLoaders = (loader) => {
|
|
|
7171
7168
|
return promise;
|
|
7172
7169
|
};
|
|
7173
7170
|
};
|
|
7174
|
-
/**
|
|
7175
|
-
* Append script in document and call callback function after download
|
|
7176
|
-
*/
|
|
7177
|
-
const appendScript = (jodit, url, callback) => {
|
|
7178
|
-
const script = jodit.c.element('script');
|
|
7179
|
-
script.type = 'text/javascript';
|
|
7180
|
-
script.async = true;
|
|
7181
|
-
if ((0,jodit_core_helpers_checker_is_function__WEBPACK_IMPORTED_MODULE_0__/* .isFunction */ .m)(callback) && !jodit.isInDestruct) {
|
|
7182
|
-
jodit.e.on(script, 'load', callback);
|
|
7183
|
-
}
|
|
7184
|
-
if (!script.src) {
|
|
7185
|
-
script.src = (0,_complete_url__WEBPACK_IMPORTED_MODULE_1__/* .completeUrl */ .W)(url);
|
|
7186
|
-
}
|
|
7187
|
-
jodit.od.body.appendChild(script);
|
|
7188
|
-
return {
|
|
7189
|
-
callback,
|
|
7190
|
-
element: script
|
|
7191
|
-
};
|
|
7192
|
-
};
|
|
7193
7171
|
/**
|
|
7194
7172
|
* Load script and return promise
|
|
7195
7173
|
*/
|
|
7196
7174
|
const appendScriptAsync = cacheLoaders((jodit, url) => {
|
|
7197
|
-
return
|
|
7175
|
+
return jodit.async.promise((resolve, reject) => {
|
|
7198
7176
|
if (jodit.isInDestruct) {
|
|
7199
|
-
return;
|
|
7177
|
+
return reject();
|
|
7200
7178
|
}
|
|
7201
|
-
const
|
|
7202
|
-
|
|
7179
|
+
const script = jodit.c.element('script', {
|
|
7180
|
+
type: 'text/javascript',
|
|
7181
|
+
async: true,
|
|
7182
|
+
src: (0,_complete_url__WEBPACK_IMPORTED_MODULE_0__/* .completeUrl */ .W)(url)
|
|
7183
|
+
});
|
|
7184
|
+
jodit.od.body.appendChild(script);
|
|
7185
|
+
jodit.e.on(script, 'error', reject).on(script, 'load', resolve);
|
|
7203
7186
|
});
|
|
7204
7187
|
});
|
|
7205
7188
|
/**
|
|
7206
7189
|
* Download CSS style script
|
|
7207
7190
|
*/
|
|
7208
7191
|
const appendStyleAsync = cacheLoaders((jodit, url) => {
|
|
7209
|
-
return
|
|
7192
|
+
return jodit.async.promise((resolve, reject) => {
|
|
7210
7193
|
if (jodit.isInDestruct) {
|
|
7211
|
-
return;
|
|
7194
|
+
return reject();
|
|
7212
7195
|
}
|
|
7213
7196
|
const link = jodit.c.element('link');
|
|
7214
7197
|
link.rel = 'stylesheet';
|
|
@@ -7217,7 +7200,7 @@ const appendStyleAsync = cacheLoaders((jodit, url) => {
|
|
|
7217
7200
|
const callback = () => resolve(link);
|
|
7218
7201
|
!jodit.isInDestruct &&
|
|
7219
7202
|
jodit.e.on(link, 'load', callback).on(link, 'error', reject);
|
|
7220
|
-
link.href = (0,
|
|
7203
|
+
link.href = (0,_complete_url__WEBPACK_IMPORTED_MODULE_0__/* .completeUrl */ .W)(url);
|
|
7221
7204
|
if (jodit.o.shadowRoot) {
|
|
7222
7205
|
jodit.o.shadowRoot.appendChild(link);
|
|
7223
7206
|
}
|
|
@@ -7226,14 +7209,14 @@ const appendStyleAsync = cacheLoaders((jodit, url) => {
|
|
|
7226
7209
|
}
|
|
7227
7210
|
});
|
|
7228
7211
|
});
|
|
7229
|
-
|
|
7230
|
-
if (!(0,
|
|
7212
|
+
function loadNext(jodit, urls, i = 0) {
|
|
7213
|
+
if (!(0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .H)(urls[i])) {
|
|
7231
7214
|
return Promise.resolve();
|
|
7232
7215
|
}
|
|
7233
7216
|
return appendScriptAsync(jodit, urls[i]).then(() => loadNext(jodit, urls, i + 1));
|
|
7234
|
-
}
|
|
7217
|
+
}
|
|
7235
7218
|
function loadNextStyle(jodit, urls, i = 0) {
|
|
7236
|
-
if (!(0,
|
|
7219
|
+
if (!(0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .H)(urls[i])) {
|
|
7237
7220
|
return Promise.resolve();
|
|
7238
7221
|
}
|
|
7239
7222
|
return appendStyleAsync(jodit, urls[i]).then(() => loadNextStyle(jodit, urls, i + 1));
|
|
@@ -8156,7 +8139,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8156
8139
|
/* harmony export */ OptionsError: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_13__.tW; },
|
|
8157
8140
|
/* harmony export */ abort: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_13__.JG; },
|
|
8158
8141
|
/* harmony export */ alignElement: function() { return /* reexport safe */ _align__WEBPACK_IMPORTED_MODULE_0__.E3; },
|
|
8159
|
-
/* harmony export */ appendScript: function() { return /* reexport safe */ _append_script__WEBPACK_IMPORTED_MODULE_2__.uR; },
|
|
8160
8142
|
/* harmony export */ appendScriptAsync: function() { return /* reexport safe */ _append_script__WEBPACK_IMPORTED_MODULE_2__.JL; },
|
|
8161
8143
|
/* harmony export */ appendStyleAsync: function() { return /* reexport safe */ _append_script__WEBPACK_IMPORTED_MODULE_2__.Nf; },
|
|
8162
8144
|
/* harmony export */ attr: function() { return /* reexport safe */ _attr__WEBPACK_IMPORTED_MODULE_1__.L; },
|
|
@@ -8210,7 +8192,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8210
8192
|
/* harmony import */ var _assert__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(52378);
|
|
8211
8193
|
/* harmony import */ var _assert__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_assert__WEBPACK_IMPORTED_MODULE_3__);
|
|
8212
8194
|
/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
8213
|
-
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _assert__WEBPACK_IMPORTED_MODULE_3__) if(["default","alignElement","clearAlign","hAlignElement","attr","
|
|
8195
|
+
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _assert__WEBPACK_IMPORTED_MODULE_3__) if(["default","alignElement","clearAlign","hAlignElement","attr","appendScriptAsync","appendStyleAsync","loadNext","loadNextStyle"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = function(key) { return _assert__WEBPACK_IMPORTED_MODULE_3__[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)
|
|
8214
8196
|
/* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
8215
8197
|
/* harmony import */ var _browser__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(67600);
|
|
8216
8198
|
/* harmony import */ var _build_query__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(36990);
|
|
@@ -9088,9 +9070,9 @@ function getFullUrl(jodit, name, js) {
|
|
|
9088
9070
|
/**
|
|
9089
9071
|
* @private
|
|
9090
9072
|
*/
|
|
9091
|
-
function loadExtras(items, jodit,
|
|
9073
|
+
function loadExtras(items, jodit, extraList, callback) {
|
|
9092
9074
|
try {
|
|
9093
|
-
const needLoadExtras =
|
|
9075
|
+
const needLoadExtras = extraList.filter(extra => !items.has((0,jodit_core_plugin_helpers_utils__WEBPACK_IMPORTED_MODULE_3__/* .normalizeName */ .B)(extra.name)));
|
|
9094
9076
|
if (needLoadExtras.length) {
|
|
9095
9077
|
load(jodit, needLoadExtras, callback);
|
|
9096
9078
|
}
|
|
@@ -9288,7 +9270,7 @@ class PluginSystem {
|
|
|
9288
9270
|
* Public method for async init all plugins
|
|
9289
9271
|
*/
|
|
9290
9272
|
__init(jodit) {
|
|
9291
|
-
const {
|
|
9273
|
+
const { extraList, disableList, filter } = getSpecialLists(jodit);
|
|
9292
9274
|
const doneList = new Map();
|
|
9293
9275
|
const pluginsMap = {};
|
|
9294
9276
|
const waitingList = new Set();
|
|
@@ -9327,8 +9309,8 @@ class PluginSystem {
|
|
|
9327
9309
|
initPlugins();
|
|
9328
9310
|
}
|
|
9329
9311
|
};
|
|
9330
|
-
if (
|
|
9331
|
-
(0,jodit_core_plugin_helpers_load__WEBPACK_IMPORTED_MODULE_3__/* .loadExtras */ .z)(this.__items, jodit,
|
|
9312
|
+
if (extraList && extraList.length) {
|
|
9313
|
+
(0,jodit_core_plugin_helpers_load__WEBPACK_IMPORTED_MODULE_3__/* .loadExtras */ .z)(this.__items, jodit, extraList, initPlugins);
|
|
9332
9314
|
}
|
|
9333
9315
|
initPlugins();
|
|
9334
9316
|
bindOnBeforeDestruct(jodit, pluginsMap);
|
|
@@ -9368,10 +9350,10 @@ function bindOnBeforeDestruct(jodit, plugins) {
|
|
|
9368
9350
|
});
|
|
9369
9351
|
}
|
|
9370
9352
|
function getSpecialLists(jodit) {
|
|
9371
|
-
const
|
|
9353
|
+
const extraList = jodit.o.extraPlugins.map(s => (0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_0__/* .isString */ .HD)(s) ? { name: s } : s);
|
|
9372
9354
|
const disableList = new Set((0,jodit_core_helpers_array__WEBPACK_IMPORTED_MODULE_1__/* .splitArray */ .C1)(jodit.o.disablePlugins).map(jodit_core_plugin_helpers_utils__WEBPACK_IMPORTED_MODULE_7__/* .normalizeName */ .B));
|
|
9373
9355
|
const filter = jodit.o.safeMode ? new Set(jodit.o.safePluginsList) : null;
|
|
9374
|
-
return {
|
|
9356
|
+
return { extraList, disableList, filter };
|
|
9375
9357
|
}
|
|
9376
9358
|
|
|
9377
9359
|
|
|
@@ -9430,7 +9412,11 @@ class Plugin extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .ViewCo
|
|
|
9430
9412
|
this.afterInit(this.jodit);
|
|
9431
9413
|
}
|
|
9432
9414
|
init(jodit) {
|
|
9433
|
-
|
|
9415
|
+
if (this.jodit.isReady) {
|
|
9416
|
+
this.afterInit(this.jodit);
|
|
9417
|
+
this.__afterPluginSystemInit();
|
|
9418
|
+
this.jodit.e.fire('rebuildToolbar');
|
|
9419
|
+
}
|
|
9434
9420
|
}
|
|
9435
9421
|
__beforeDestruct() {
|
|
9436
9422
|
if (this.isInDestruct) {
|
|
@@ -15258,6 +15244,7 @@ class Popup extends jodit_core_ui_group_group__WEBPACK_IMPORTED_MODULE_3__/* .UI
|
|
|
15258
15244
|
*/
|
|
15259
15245
|
open(getBound, keepPosition = false, parentContainer) {
|
|
15260
15246
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.markOwner)(this.jodit, this.container);
|
|
15247
|
+
this.container.classList.add(`jodit_theme_${this.jodit.o.theme}`);
|
|
15261
15248
|
this.__calculateZIndex();
|
|
15262
15249
|
this.isOpened = true;
|
|
15263
15250
|
this.__addGlobalListeners();
|
|
@@ -15738,6 +15725,9 @@ class ViewWithToolbar extends jodit_core_view_view__WEBPACK_IMPORTED_MODULE_0__/
|
|
|
15738
15725
|
super.destruct();
|
|
15739
15726
|
}
|
|
15740
15727
|
}
|
|
15728
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
15729
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.watch)(':rebuildToolbar')
|
|
15730
|
+
], ViewWithToolbar.prototype, "buildToolbar", null);
|
|
15741
15731
|
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
15742
15732
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
15743
15733
|
], ViewWithToolbar.prototype, "beforeToolbarBuild", null);
|
|
@@ -17329,28 +17319,29 @@ function addClassNames(className, elm) {
|
|
|
17329
17319
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
17330
17320
|
|
|
17331
17321
|
"use strict";
|
|
17332
|
-
/* harmony import */ var
|
|
17322
|
+
/* harmony import */ var jodit_core_helpers_checker_is_array__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(63738);
|
|
17333
17323
|
/* harmony import */ var jodit_langs_en__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(90544);
|
|
17334
17324
|
/* harmony import */ var jodit_langs_ar__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91928);
|
|
17335
17325
|
/* harmony import */ var jodit_langs_cs_cz__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(81958);
|
|
17336
17326
|
/* harmony import */ var jodit_langs_de__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(77143);
|
|
17337
17327
|
/* harmony import */ var jodit_langs_es__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(88347);
|
|
17338
|
-
/* harmony import */ var
|
|
17339
|
-
/* harmony import */ var
|
|
17340
|
-
/* harmony import */ var
|
|
17341
|
-
/* harmony import */ var
|
|
17342
|
-
/* harmony import */ var
|
|
17343
|
-
/* harmony import */ var
|
|
17344
|
-
/* harmony import */ var
|
|
17345
|
-
/* harmony import */ var
|
|
17346
|
-
/* harmony import */ var
|
|
17347
|
-
/* harmony import */ var
|
|
17348
|
-
/* harmony import */ var
|
|
17349
|
-
/* harmony import */ var
|
|
17350
|
-
/* harmony import */ var
|
|
17351
|
-
/* harmony import */ var
|
|
17352
|
-
/* harmony import */ var
|
|
17353
|
-
/* harmony import */ var
|
|
17328
|
+
/* harmony import */ var jodit_langs_fi__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(13148);
|
|
17329
|
+
/* harmony import */ var jodit_langs_fr__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(12414);
|
|
17330
|
+
/* harmony import */ var jodit_langs_he__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(65681);
|
|
17331
|
+
/* harmony import */ var jodit_langs_hu__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(23664);
|
|
17332
|
+
/* harmony import */ var jodit_langs_id__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(80009);
|
|
17333
|
+
/* harmony import */ var jodit_langs_it__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(94174);
|
|
17334
|
+
/* harmony import */ var jodit_langs_ja__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(39356);
|
|
17335
|
+
/* harmony import */ var jodit_langs_ko__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(52347);
|
|
17336
|
+
/* harmony import */ var jodit_langs_mn__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(8172);
|
|
17337
|
+
/* harmony import */ var jodit_langs_nl__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(66604);
|
|
17338
|
+
/* harmony import */ var jodit_langs_pl__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(79940);
|
|
17339
|
+
/* harmony import */ var jodit_langs_pt_br__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(6412);
|
|
17340
|
+
/* harmony import */ var jodit_langs_ru__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(54439);
|
|
17341
|
+
/* harmony import */ var jodit_langs_tr__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(51344);
|
|
17342
|
+
/* harmony import */ var jodit_langs_zh_cn__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(2308);
|
|
17343
|
+
/* harmony import */ var jodit_langs_zh_tw__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(51597);
|
|
17344
|
+
/* harmony import */ var jodit_langs_keys__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(75125);
|
|
17354
17345
|
/*!
|
|
17355
17346
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
17356
17347
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -17376,6 +17367,7 @@ function addClassNames(className, elm) {
|
|
|
17376
17367
|
|
|
17377
17368
|
|
|
17378
17369
|
|
|
17370
|
+
|
|
17379
17371
|
|
|
17380
17372
|
|
|
17381
17373
|
let exp = {};
|
|
@@ -17385,32 +17377,33 @@ exp = {
|
|
|
17385
17377
|
de: jodit_langs_de__WEBPACK_IMPORTED_MODULE_3__,
|
|
17386
17378
|
en: jodit_langs_en__WEBPACK_IMPORTED_MODULE_0__,
|
|
17387
17379
|
es: jodit_langs_es__WEBPACK_IMPORTED_MODULE_4__,
|
|
17388
|
-
|
|
17389
|
-
|
|
17390
|
-
|
|
17391
|
-
|
|
17392
|
-
|
|
17393
|
-
|
|
17394
|
-
|
|
17395
|
-
|
|
17396
|
-
|
|
17397
|
-
|
|
17398
|
-
|
|
17399
|
-
|
|
17400
|
-
|
|
17401
|
-
|
|
17402
|
-
|
|
17380
|
+
fi: jodit_langs_fi__WEBPACK_IMPORTED_MODULE_5__,
|
|
17381
|
+
fr: jodit_langs_fr__WEBPACK_IMPORTED_MODULE_6__,
|
|
17382
|
+
he: jodit_langs_he__WEBPACK_IMPORTED_MODULE_7__,
|
|
17383
|
+
hu: jodit_langs_hu__WEBPACK_IMPORTED_MODULE_8__,
|
|
17384
|
+
id: jodit_langs_id__WEBPACK_IMPORTED_MODULE_9__,
|
|
17385
|
+
it: jodit_langs_it__WEBPACK_IMPORTED_MODULE_10__,
|
|
17386
|
+
ja: jodit_langs_ja__WEBPACK_IMPORTED_MODULE_11__,
|
|
17387
|
+
ko: jodit_langs_ko__WEBPACK_IMPORTED_MODULE_12__,
|
|
17388
|
+
mn: jodit_langs_mn__WEBPACK_IMPORTED_MODULE_13__,
|
|
17389
|
+
nl: jodit_langs_nl__WEBPACK_IMPORTED_MODULE_14__,
|
|
17390
|
+
pl: jodit_langs_pl__WEBPACK_IMPORTED_MODULE_15__,
|
|
17391
|
+
pt_br: jodit_langs_pt_br__WEBPACK_IMPORTED_MODULE_16__,
|
|
17392
|
+
ru: jodit_langs_ru__WEBPACK_IMPORTED_MODULE_17__,
|
|
17393
|
+
tr: jodit_langs_tr__WEBPACK_IMPORTED_MODULE_18__,
|
|
17394
|
+
zh_cn: jodit_langs_zh_cn__WEBPACK_IMPORTED_MODULE_19__,
|
|
17395
|
+
zh_tw: jodit_langs_zh_tw__WEBPACK_IMPORTED_MODULE_20__
|
|
17403
17396
|
};
|
|
17404
17397
|
/* Unpack array to hash */
|
|
17405
17398
|
const get = (value) => value ? value.default || value : {}, hashLang = {};
|
|
17406
|
-
if ((0,
|
|
17407
|
-
get(
|
|
17399
|
+
if ((0,jodit_core_helpers_checker_is_array__WEBPACK_IMPORTED_MODULE_22__/* .isArray */ .k)(get(jodit_langs_keys__WEBPACK_IMPORTED_MODULE_21__))) {
|
|
17400
|
+
get(jodit_langs_keys__WEBPACK_IMPORTED_MODULE_21__).forEach((key, index) => {
|
|
17408
17401
|
hashLang[index] = key;
|
|
17409
17402
|
});
|
|
17410
17403
|
}
|
|
17411
17404
|
Object.keys(exp).forEach((lang) => {
|
|
17412
17405
|
const list = get(exp[lang]);
|
|
17413
|
-
if ((0,
|
|
17406
|
+
if ((0,jodit_core_helpers_checker_is_array__WEBPACK_IMPORTED_MODULE_22__/* .isArray */ .k)(list)) {
|
|
17414
17407
|
exp[lang] = {};
|
|
17415
17408
|
list.forEach((value, index) => {
|
|
17416
17409
|
exp[lang][hashLang[index]] = value;
|
|
@@ -24854,36 +24847,38 @@ const ns = 'addnewline';
|
|
|
24854
24847
|
class addNewLine extends jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Plugin {
|
|
24855
24848
|
constructor() {
|
|
24856
24849
|
super(...arguments);
|
|
24857
|
-
this.
|
|
24858
|
-
this.
|
|
24850
|
+
this.__line = this.j.c.fromHTML(`<div role="button" tabindex="-1" title="${this.j.i18n('Break')}" class="jodit-add-new-line"><span>${jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Icon.get('enter')}</span></div>`);
|
|
24851
|
+
this.__isMatchedTag = (node) => Boolean(node &&
|
|
24859
24852
|
this.j.o.addNewLineTagsTriggers.includes(node.nodeName.toLowerCase()));
|
|
24860
|
-
this.
|
|
24861
|
-
this.
|
|
24862
|
-
this.
|
|
24863
|
-
this.
|
|
24864
|
-
if (!this.
|
|
24853
|
+
this.__isBeforeContent = false;
|
|
24854
|
+
this.__lineInFocus = false;
|
|
24855
|
+
this.__isShown = false;
|
|
24856
|
+
this.__hideForce = () => {
|
|
24857
|
+
if (!this.__isShown) {
|
|
24865
24858
|
return;
|
|
24866
24859
|
}
|
|
24867
|
-
this.
|
|
24868
|
-
this.j.async.clearTimeout(this.
|
|
24869
|
-
this.
|
|
24870
|
-
jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Dom.safeRemove(this.
|
|
24871
|
-
this.
|
|
24860
|
+
this.__isShown = false;
|
|
24861
|
+
this.j.async.clearTimeout(this.__timeout);
|
|
24862
|
+
this.__lineInFocus = false;
|
|
24863
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Dom.safeRemove(this.__line);
|
|
24864
|
+
this.__line.style.setProperty('--jd-anl-handle-offset', '0');
|
|
24872
24865
|
};
|
|
24873
|
-
this.
|
|
24866
|
+
this.__canGetFocus = (elm) => {
|
|
24874
24867
|
return (elm != null &&
|
|
24875
24868
|
jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Dom.isBlock(elm) &&
|
|
24876
24869
|
!/^(img|table|iframe|hr)$/i.test(elm.nodeName));
|
|
24877
24870
|
};
|
|
24878
|
-
this.
|
|
24871
|
+
this.__onClickLine = (e) => {
|
|
24879
24872
|
const editor = this.j;
|
|
24880
24873
|
const p = editor.createInside.element(editor.o.enter);
|
|
24881
|
-
if (this.
|
|
24882
|
-
|
|
24874
|
+
if (this.__isBeforeContent &&
|
|
24875
|
+
this.__current &&
|
|
24876
|
+
this.__current.parentNode) {
|
|
24877
|
+
if (this.__current === editor.editor) {
|
|
24883
24878
|
jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Dom.prepend(editor.editor, p);
|
|
24884
24879
|
}
|
|
24885
24880
|
else {
|
|
24886
|
-
this.
|
|
24881
|
+
this.__current.parentNode.insertBefore(p, this.__current);
|
|
24887
24882
|
}
|
|
24888
24883
|
}
|
|
24889
24884
|
else {
|
|
@@ -24892,30 +24887,32 @@ class addNewLine extends jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Plugin {
|
|
|
24892
24887
|
editor.s.setCursorIn(p);
|
|
24893
24888
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.scrollIntoViewIfNeeded)(p, editor.editor, editor.ed);
|
|
24894
24889
|
editor.synchronizeValues();
|
|
24895
|
-
this.
|
|
24890
|
+
this.__hideForce();
|
|
24896
24891
|
e.preventDefault();
|
|
24897
24892
|
};
|
|
24898
24893
|
}
|
|
24899
|
-
|
|
24900
|
-
if (this.
|
|
24894
|
+
__show() {
|
|
24895
|
+
if (this.j.o.readonly || this.j.isLocked) {
|
|
24901
24896
|
return;
|
|
24902
24897
|
}
|
|
24903
|
-
this.
|
|
24904
|
-
|
|
24905
|
-
|
|
24906
|
-
|
|
24907
|
-
this.
|
|
24898
|
+
this.j.async.clearTimeout(this.__timeout);
|
|
24899
|
+
if (this.__isShown) {
|
|
24900
|
+
return;
|
|
24901
|
+
}
|
|
24902
|
+
this.__isShown = true;
|
|
24903
|
+
this.j.container.appendChild(this.__line);
|
|
24904
|
+
this.__line.style.width = this.j.container.clientWidth + 'px';
|
|
24908
24905
|
}
|
|
24909
24906
|
onLock(isLocked) {
|
|
24910
|
-
if (isLocked && this.
|
|
24911
|
-
this.
|
|
24907
|
+
if (isLocked && this.__isShown) {
|
|
24908
|
+
this.__hideForce();
|
|
24912
24909
|
}
|
|
24913
24910
|
}
|
|
24914
|
-
|
|
24915
|
-
if (!this.
|
|
24911
|
+
__hide() {
|
|
24912
|
+
if (!this.__isShown || this.__lineInFocus) {
|
|
24916
24913
|
return;
|
|
24917
24914
|
}
|
|
24918
|
-
this.
|
|
24915
|
+
this.__timeout = this.j.async.setTimeout(this.__hideForce, {
|
|
24919
24916
|
timeout: 500,
|
|
24920
24917
|
label: 'add-new-line-hide'
|
|
24921
24918
|
});
|
|
@@ -24925,30 +24922,30 @@ class addNewLine extends jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Plugin {
|
|
|
24925
24922
|
return;
|
|
24926
24923
|
}
|
|
24927
24924
|
editor.e
|
|
24928
|
-
.on(this.
|
|
24925
|
+
.on(this.__line, 'mousemove', (e) => {
|
|
24929
24926
|
e.stopPropagation();
|
|
24930
24927
|
})
|
|
24931
|
-
.on(this.
|
|
24932
|
-
.on('change', this.
|
|
24933
|
-
.on(this.
|
|
24934
|
-
this.j.async.clearTimeout(this.
|
|
24935
|
-
this.
|
|
24928
|
+
.on(this.__line, 'mousedown touchstart', this.__onClickLine)
|
|
24929
|
+
.on('change', this.__hideForce)
|
|
24930
|
+
.on(this.__line, 'mouseenter', () => {
|
|
24931
|
+
this.j.async.clearTimeout(this.__timeout);
|
|
24932
|
+
this.__lineInFocus = true;
|
|
24936
24933
|
})
|
|
24937
|
-
.on(this.
|
|
24938
|
-
this.
|
|
24934
|
+
.on(this.__line, 'mouseleave', () => {
|
|
24935
|
+
this.__lineInFocus = false;
|
|
24939
24936
|
})
|
|
24940
|
-
.on('changePlace', this.
|
|
24941
|
-
this.
|
|
24937
|
+
.on('changePlace', this.__addEventListeners.bind(this));
|
|
24938
|
+
this.__addEventListeners();
|
|
24942
24939
|
}
|
|
24943
|
-
|
|
24940
|
+
__addEventListeners() {
|
|
24944
24941
|
const editor = this.j;
|
|
24945
24942
|
editor.e
|
|
24946
24943
|
.off(editor.editor, '.' + ns)
|
|
24947
24944
|
.off(editor.container, '.' + ns)
|
|
24948
|
-
.on([editor.ow, editor.ew, editor.editor], 'scroll' + '.' + ns, this.
|
|
24949
|
-
.on(editor.editor, 'click' + '.' + ns, this.
|
|
24950
|
-
.on(editor.container, 'mouseleave' + '.' + ns, this.
|
|
24951
|
-
.on(editor.editor, 'mousemove' + '.' + ns, this.
|
|
24945
|
+
.on([editor.ow, editor.ew, editor.editor], 'scroll' + '.' + ns, this.__hideForce)
|
|
24946
|
+
.on(editor.editor, 'click' + '.' + ns, this.__hide)
|
|
24947
|
+
.on(editor.container, 'mouseleave' + '.' + ns, this.__hide)
|
|
24948
|
+
.on(editor.editor, 'mousemove' + '.' + ns, this.__onMouseMove);
|
|
24952
24949
|
}
|
|
24953
24950
|
onDblClickEditor(e) {
|
|
24954
24951
|
const editor = this.j;
|
|
@@ -24969,29 +24966,26 @@ class addNewLine extends jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Plugin {
|
|
|
24969
24966
|
}
|
|
24970
24967
|
editor.s.setCursorIn(p);
|
|
24971
24968
|
editor.synchronizeValues();
|
|
24972
|
-
this.
|
|
24969
|
+
this.__hideForce();
|
|
24973
24970
|
e.preventDefault();
|
|
24974
24971
|
}
|
|
24975
24972
|
}
|
|
24976
|
-
|
|
24973
|
+
__onMouseMove(e) {
|
|
24977
24974
|
const editor = this.j;
|
|
24978
24975
|
let currentElement = editor.ed.elementFromPoint(e.clientX, e.clientY);
|
|
24979
24976
|
if (!jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Dom.isHTMLElement(currentElement) ||
|
|
24980
|
-
jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Dom.isOrContains(
|
|
24981
|
-
return;
|
|
24982
|
-
}
|
|
24983
|
-
if (!jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Dom.isOrContains(editor.editor, currentElement)) {
|
|
24977
|
+
!jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Dom.isOrContains(editor.editor, currentElement)) {
|
|
24984
24978
|
return;
|
|
24985
24979
|
}
|
|
24986
24980
|
if (editor.editor !== currentElement &&
|
|
24987
|
-
!this.
|
|
24988
|
-
currentElement = jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Dom.closest(currentElement, this.
|
|
24981
|
+
!this.__isMatchedTag(currentElement)) {
|
|
24982
|
+
currentElement = jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Dom.closest(currentElement, this.__isMatchedTag, editor.editor);
|
|
24989
24983
|
}
|
|
24990
24984
|
if (!currentElement) {
|
|
24991
|
-
this.
|
|
24985
|
+
this.__hide();
|
|
24992
24986
|
return;
|
|
24993
24987
|
}
|
|
24994
|
-
if (this.
|
|
24988
|
+
if (this.__isMatchedTag(currentElement)) {
|
|
24995
24989
|
const parentBox = jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Dom.up(currentElement, jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Dom.isBlock, editor.editor);
|
|
24996
24990
|
if (parentBox && parentBox !== editor.editor) {
|
|
24997
24991
|
currentElement = parentBox;
|
|
@@ -25008,30 +25002,32 @@ class addNewLine extends jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Plugin {
|
|
|
25008
25002
|
const delta = this.j.o.addNewLineDeltaShow;
|
|
25009
25003
|
if (Math.abs(clientY - pos.top) <= delta) {
|
|
25010
25004
|
top = pos.top;
|
|
25011
|
-
this.
|
|
25005
|
+
this.__isBeforeContent = true;
|
|
25012
25006
|
}
|
|
25013
|
-
if (Math.abs(clientY - (pos.top + pos.height)) <= delta) {
|
|
25007
|
+
else if (Math.abs(clientY - (pos.top + pos.height)) <= delta) {
|
|
25014
25008
|
top = pos.top + pos.height;
|
|
25015
|
-
this.
|
|
25009
|
+
this.__isBeforeContent = false;
|
|
25016
25010
|
}
|
|
25011
|
+
const isEditor = editor.editor === currentElement;
|
|
25017
25012
|
if (top !== false &&
|
|
25018
|
-
((
|
|
25019
|
-
!
|
|
25020
|
-
|
|
25021
|
-
this.
|
|
25022
|
-
this.
|
|
25023
|
-
this.
|
|
25013
|
+
((isEditor && !this.__isBeforeContent) ||
|
|
25014
|
+
(!isEditor &&
|
|
25015
|
+
!(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.call)(this.__isBeforeContent ? jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Dom.prev : jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Dom.next, currentElement, this.__canGetFocus, editor.editor)))) {
|
|
25016
|
+
this.__line.style.top = top + 'px';
|
|
25017
|
+
this.__current = currentElement;
|
|
25018
|
+
this.__show();
|
|
25019
|
+
this.__line.style.setProperty('--jd-anl-handle-offset', clientX - pos.left - 10 + 'px');
|
|
25024
25020
|
}
|
|
25025
25021
|
else {
|
|
25026
|
-
this.
|
|
25027
|
-
this.
|
|
25022
|
+
this.__current = false;
|
|
25023
|
+
this.__hide();
|
|
25028
25024
|
}
|
|
25029
25025
|
}
|
|
25030
25026
|
/** @override */
|
|
25031
25027
|
beforeDestruct() {
|
|
25032
|
-
this.j.async.clearTimeout(this.
|
|
25033
|
-
this.j.e.off(this.
|
|
25034
|
-
jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Dom.safeRemove(this.
|
|
25028
|
+
this.j.async.clearTimeout(this.__timeout);
|
|
25029
|
+
this.j.e.off(this.__line).off('changePlace', this.__addEventListeners);
|
|
25030
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Dom.safeRemove(this.__line);
|
|
25035
25031
|
this.j.e
|
|
25036
25032
|
.off([this.j.ow, this.j.ew, this.j.editor], '.' + ns)
|
|
25037
25033
|
.off(this.j.container, '.' + ns);
|
|
@@ -25042,13 +25038,13 @@ class addNewLine extends jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Plugin {
|
|
|
25042
25038
|
], addNewLine.prototype, "onLock", null);
|
|
25043
25039
|
(0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .gn)([
|
|
25044
25040
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
|
|
25045
|
-
], addNewLine.prototype, "
|
|
25041
|
+
], addNewLine.prototype, "__hide", null);
|
|
25046
25042
|
(0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .gn)([
|
|
25047
25043
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.watch)(':dblclick')
|
|
25048
25044
|
], addNewLine.prototype, "onDblClickEditor", null);
|
|
25049
25045
|
(0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .gn)([
|
|
25050
|
-
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.
|
|
25051
|
-
], addNewLine.prototype, "
|
|
25046
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.throttle)(ctx => ctx.defaultTimeout)
|
|
25047
|
+
], addNewLine.prototype, "__onMouseMove", null);
|
|
25052
25048
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .pw.add('addNewLine', addNewLine);
|
|
25053
25049
|
|
|
25054
25050
|
|
|
@@ -27540,6 +27536,23 @@ module.exports = {
|
|
|
27540
27536
|
};
|
|
27541
27537
|
|
|
27542
27538
|
|
|
27539
|
+
/***/ }),
|
|
27540
|
+
|
|
27541
|
+
/***/ 29709:
|
|
27542
|
+
/***/ (function(module) {
|
|
27543
|
+
|
|
27544
|
+
"use strict";
|
|
27545
|
+
|
|
27546
|
+
/*!
|
|
27547
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27548
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
27549
|
+
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
27550
|
+
*/
|
|
27551
|
+
module.exports = {
|
|
27552
|
+
'copy-format': 'Kopioi muotoilu'
|
|
27553
|
+
};
|
|
27554
|
+
|
|
27555
|
+
|
|
27543
27556
|
/***/ }),
|
|
27544
27557
|
|
|
27545
27558
|
/***/ 67888:
|
|
@@ -27621,21 +27634,22 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27621
27634
|
/* harmony export */ de: function() { return /* reexport default from dynamic */ _de_js__WEBPACK_IMPORTED_MODULE_2___default.a; },
|
|
27622
27635
|
/* harmony export */ es: function() { return /* reexport default from dynamic */ _es_js__WEBPACK_IMPORTED_MODULE_3___default.a; },
|
|
27623
27636
|
/* harmony export */ fa: function() { return /* reexport default from dynamic */ _fa_js__WEBPACK_IMPORTED_MODULE_4___default.a; },
|
|
27624
|
-
/* harmony export */
|
|
27625
|
-
/* harmony export */
|
|
27626
|
-
/* harmony export */
|
|
27627
|
-
/* harmony export */
|
|
27628
|
-
/* harmony export */
|
|
27629
|
-
/* harmony export */
|
|
27630
|
-
/* harmony export */
|
|
27631
|
-
/* harmony export */
|
|
27632
|
-
/* harmony export */
|
|
27633
|
-
/* harmony export */
|
|
27634
|
-
/* harmony export */
|
|
27635
|
-
/* harmony export */
|
|
27636
|
-
/* harmony export */
|
|
27637
|
-
/* harmony export */
|
|
27638
|
-
/* harmony export */
|
|
27637
|
+
/* harmony export */ fi: function() { return /* reexport default from dynamic */ _fi_js__WEBPACK_IMPORTED_MODULE_5___default.a; },
|
|
27638
|
+
/* harmony export */ fr: function() { return /* reexport default from dynamic */ _fr_js__WEBPACK_IMPORTED_MODULE_6___default.a; },
|
|
27639
|
+
/* harmony export */ he: function() { return /* reexport default from dynamic */ _he_js__WEBPACK_IMPORTED_MODULE_7___default.a; },
|
|
27640
|
+
/* harmony export */ hu: function() { return /* reexport default from dynamic */ _hu_js__WEBPACK_IMPORTED_MODULE_8___default.a; },
|
|
27641
|
+
/* harmony export */ id: function() { return /* reexport default from dynamic */ _id_js__WEBPACK_IMPORTED_MODULE_9___default.a; },
|
|
27642
|
+
/* harmony export */ it: function() { return /* reexport default from dynamic */ _it_js__WEBPACK_IMPORTED_MODULE_10___default.a; },
|
|
27643
|
+
/* harmony export */ ja: function() { return /* reexport default from dynamic */ _ja_js__WEBPACK_IMPORTED_MODULE_11___default.a; },
|
|
27644
|
+
/* harmony export */ ko: function() { return /* reexport default from dynamic */ _ko_js__WEBPACK_IMPORTED_MODULE_12___default.a; },
|
|
27645
|
+
/* harmony export */ mn: function() { return /* reexport default from dynamic */ _mn_js__WEBPACK_IMPORTED_MODULE_13___default.a; },
|
|
27646
|
+
/* harmony export */ nl: function() { return /* reexport default from dynamic */ _nl_js__WEBPACK_IMPORTED_MODULE_14___default.a; },
|
|
27647
|
+
/* harmony export */ pl: function() { return /* reexport default from dynamic */ _pl_js__WEBPACK_IMPORTED_MODULE_15___default.a; },
|
|
27648
|
+
/* harmony export */ pt_br: function() { return /* reexport default from dynamic */ _pt_br_js__WEBPACK_IMPORTED_MODULE_16___default.a; },
|
|
27649
|
+
/* harmony export */ ru: function() { return /* reexport default from dynamic */ _ru_js__WEBPACK_IMPORTED_MODULE_17___default.a; },
|
|
27650
|
+
/* harmony export */ tr: function() { return /* reexport default from dynamic */ _tr_js__WEBPACK_IMPORTED_MODULE_18___default.a; },
|
|
27651
|
+
/* harmony export */ zh_cn: function() { return /* reexport default from dynamic */ _zh_cn_js__WEBPACK_IMPORTED_MODULE_19___default.a; },
|
|
27652
|
+
/* harmony export */ zh_tw: function() { return /* reexport default from dynamic */ _zh_tw_js__WEBPACK_IMPORTED_MODULE_20___default.a; }
|
|
27639
27653
|
/* harmony export */ });
|
|
27640
27654
|
/* harmony import */ var _ar_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(35395);
|
|
27641
27655
|
/* harmony import */ var _ar_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_ar_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -27647,36 +27661,38 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27647
27661
|
/* harmony import */ var _es_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_es_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
27648
27662
|
/* harmony import */ var _fa_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(26160);
|
|
27649
27663
|
/* harmony import */ var _fa_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_fa_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
27650
|
-
/* harmony import */ var
|
|
27651
|
-
/* harmony import */ var
|
|
27652
|
-
/* harmony import */ var
|
|
27653
|
-
/* harmony import */ var
|
|
27654
|
-
/* harmony import */ var
|
|
27655
|
-
/* harmony import */ var
|
|
27656
|
-
/* harmony import */ var
|
|
27657
|
-
/* harmony import */ var
|
|
27658
|
-
/* harmony import */ var
|
|
27659
|
-
/* harmony import */ var
|
|
27660
|
-
/* harmony import */ var
|
|
27661
|
-
/* harmony import */ var
|
|
27662
|
-
/* harmony import */ var
|
|
27663
|
-
/* harmony import */ var
|
|
27664
|
-
/* harmony import */ var
|
|
27665
|
-
/* harmony import */ var
|
|
27666
|
-
/* harmony import */ var
|
|
27667
|
-
/* harmony import */ var
|
|
27668
|
-
/* harmony import */ var
|
|
27669
|
-
/* harmony import */ var
|
|
27670
|
-
/* harmony import */ var
|
|
27671
|
-
/* harmony import */ var
|
|
27672
|
-
/* harmony import */ var
|
|
27673
|
-
/* harmony import */ var
|
|
27674
|
-
/* harmony import */ var
|
|
27675
|
-
/* harmony import */ var
|
|
27676
|
-
/* harmony import */ var
|
|
27677
|
-
/* harmony import */ var
|
|
27678
|
-
/* harmony import */ var
|
|
27679
|
-
/* harmony import */ var
|
|
27664
|
+
/* harmony import */ var _fi_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(29709);
|
|
27665
|
+
/* harmony import */ var _fi_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_fi_js__WEBPACK_IMPORTED_MODULE_5__);
|
|
27666
|
+
/* harmony import */ var _fr_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(67888);
|
|
27667
|
+
/* harmony import */ var _fr_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_fr_js__WEBPACK_IMPORTED_MODULE_6__);
|
|
27668
|
+
/* harmony import */ var _he_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(15437);
|
|
27669
|
+
/* harmony import */ var _he_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_he_js__WEBPACK_IMPORTED_MODULE_7__);
|
|
27670
|
+
/* harmony import */ var _hu_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(71316);
|
|
27671
|
+
/* harmony import */ var _hu_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_hu_js__WEBPACK_IMPORTED_MODULE_8__);
|
|
27672
|
+
/* harmony import */ var _id_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(49137);
|
|
27673
|
+
/* harmony import */ var _id_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_id_js__WEBPACK_IMPORTED_MODULE_9__);
|
|
27674
|
+
/* harmony import */ var _it_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(87229);
|
|
27675
|
+
/* harmony import */ var _it_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_it_js__WEBPACK_IMPORTED_MODULE_10__);
|
|
27676
|
+
/* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(74235);
|
|
27677
|
+
/* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_ja_js__WEBPACK_IMPORTED_MODULE_11__);
|
|
27678
|
+
/* harmony import */ var _ko_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(98440);
|
|
27679
|
+
/* harmony import */ var _ko_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_ko_js__WEBPACK_IMPORTED_MODULE_12__);
|
|
27680
|
+
/* harmony import */ var _mn_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(5468);
|
|
27681
|
+
/* harmony import */ var _mn_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_mn_js__WEBPACK_IMPORTED_MODULE_13__);
|
|
27682
|
+
/* harmony import */ var _nl_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(21276);
|
|
27683
|
+
/* harmony import */ var _nl_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_nl_js__WEBPACK_IMPORTED_MODULE_14__);
|
|
27684
|
+
/* harmony import */ var _pl_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(76216);
|
|
27685
|
+
/* harmony import */ var _pl_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_pl_js__WEBPACK_IMPORTED_MODULE_15__);
|
|
27686
|
+
/* harmony import */ var _pt_br_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(30088);
|
|
27687
|
+
/* harmony import */ var _pt_br_js__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_pt_br_js__WEBPACK_IMPORTED_MODULE_16__);
|
|
27688
|
+
/* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(66950);
|
|
27689
|
+
/* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(_ru_js__WEBPACK_IMPORTED_MODULE_17__);
|
|
27690
|
+
/* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(21263);
|
|
27691
|
+
/* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(_tr_js__WEBPACK_IMPORTED_MODULE_18__);
|
|
27692
|
+
/* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(79511);
|
|
27693
|
+
/* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(_zh_cn_js__WEBPACK_IMPORTED_MODULE_19__);
|
|
27694
|
+
/* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(12027);
|
|
27695
|
+
/* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(_zh_tw_js__WEBPACK_IMPORTED_MODULE_20__);
|
|
27680
27696
|
/*!
|
|
27681
27697
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27682
27698
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27703,6 +27719,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27703
27719
|
|
|
27704
27720
|
|
|
27705
27721
|
|
|
27722
|
+
|
|
27706
27723
|
|
|
27707
27724
|
|
|
27708
27725
|
/***/ }),
|
|
@@ -32748,6 +32765,23 @@ module.exports = {
|
|
|
32748
32765
|
};
|
|
32749
32766
|
|
|
32750
32767
|
|
|
32768
|
+
/***/ }),
|
|
32769
|
+
|
|
32770
|
+
/***/ 6833:
|
|
32771
|
+
/***/ (function(module) {
|
|
32772
|
+
|
|
32773
|
+
"use strict";
|
|
32774
|
+
|
|
32775
|
+
/*!
|
|
32776
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
32777
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
32778
|
+
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
32779
|
+
*/
|
|
32780
|
+
module.exports = {
|
|
32781
|
+
'Line height': 'Rivin korkeus'
|
|
32782
|
+
};
|
|
32783
|
+
|
|
32784
|
+
|
|
32751
32785
|
/***/ }),
|
|
32752
32786
|
|
|
32753
32787
|
/***/ 75916:
|
|
@@ -32829,21 +32863,22 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
32829
32863
|
/* harmony export */ de: function() { return /* reexport module object */ _de_js__WEBPACK_IMPORTED_MODULE_2__; },
|
|
32830
32864
|
/* harmony export */ es: function() { return /* reexport module object */ _es_js__WEBPACK_IMPORTED_MODULE_3__; },
|
|
32831
32865
|
/* harmony export */ fa: function() { return /* reexport module object */ _fa_js__WEBPACK_IMPORTED_MODULE_4__; },
|
|
32832
|
-
/* harmony export */
|
|
32833
|
-
/* harmony export */
|
|
32834
|
-
/* harmony export */
|
|
32835
|
-
/* harmony export */
|
|
32836
|
-
/* harmony export */
|
|
32837
|
-
/* harmony export */
|
|
32838
|
-
/* harmony export */
|
|
32839
|
-
/* harmony export */
|
|
32840
|
-
/* harmony export */
|
|
32841
|
-
/* harmony export */
|
|
32842
|
-
/* harmony export */
|
|
32843
|
-
/* harmony export */
|
|
32844
|
-
/* harmony export */
|
|
32845
|
-
/* harmony export */
|
|
32846
|
-
/* harmony export */
|
|
32866
|
+
/* harmony export */ fi: function() { return /* reexport module object */ _fi_js__WEBPACK_IMPORTED_MODULE_5__; },
|
|
32867
|
+
/* harmony export */ fr: function() { return /* reexport module object */ _fr_js__WEBPACK_IMPORTED_MODULE_6__; },
|
|
32868
|
+
/* harmony export */ he: function() { return /* reexport module object */ _he_js__WEBPACK_IMPORTED_MODULE_7__; },
|
|
32869
|
+
/* harmony export */ hu: function() { return /* reexport module object */ _hu_js__WEBPACK_IMPORTED_MODULE_8__; },
|
|
32870
|
+
/* harmony export */ id: function() { return /* reexport module object */ _id_js__WEBPACK_IMPORTED_MODULE_9__; },
|
|
32871
|
+
/* harmony export */ it: function() { return /* reexport module object */ _it_js__WEBPACK_IMPORTED_MODULE_10__; },
|
|
32872
|
+
/* harmony export */ ja: function() { return /* reexport module object */ _ja_js__WEBPACK_IMPORTED_MODULE_11__; },
|
|
32873
|
+
/* harmony export */ ko: function() { return /* reexport module object */ _ko_js__WEBPACK_IMPORTED_MODULE_12__; },
|
|
32874
|
+
/* harmony export */ mn: function() { return /* reexport module object */ _mn_js__WEBPACK_IMPORTED_MODULE_13__; },
|
|
32875
|
+
/* harmony export */ nl: function() { return /* reexport module object */ _nl_js__WEBPACK_IMPORTED_MODULE_14__; },
|
|
32876
|
+
/* harmony export */ pl: function() { return /* reexport module object */ _pl_js__WEBPACK_IMPORTED_MODULE_15__; },
|
|
32877
|
+
/* harmony export */ pt_br: function() { return /* reexport module object */ _pt_br_js__WEBPACK_IMPORTED_MODULE_16__; },
|
|
32878
|
+
/* harmony export */ ru: function() { return /* reexport module object */ _ru_js__WEBPACK_IMPORTED_MODULE_17__; },
|
|
32879
|
+
/* harmony export */ tr: function() { return /* reexport module object */ _tr_js__WEBPACK_IMPORTED_MODULE_18__; },
|
|
32880
|
+
/* harmony export */ zh_cn: function() { return /* reexport module object */ _zh_cn_js__WEBPACK_IMPORTED_MODULE_19__; },
|
|
32881
|
+
/* harmony export */ zh_tw: function() { return /* reexport module object */ _zh_tw_js__WEBPACK_IMPORTED_MODULE_20__; }
|
|
32847
32882
|
/* harmony export */ });
|
|
32848
32883
|
/* harmony import */ var _ar_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(24511);
|
|
32849
32884
|
/* harmony import */ var _ar_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_ar_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -32855,36 +32890,38 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
32855
32890
|
/* harmony import */ var _es_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_es_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
32856
32891
|
/* harmony import */ var _fa_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(44170);
|
|
32857
32892
|
/* harmony import */ var _fa_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_fa_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
32858
|
-
/* harmony import */ var
|
|
32859
|
-
/* harmony import */ var
|
|
32860
|
-
/* harmony import */ var
|
|
32861
|
-
/* harmony import */ var
|
|
32862
|
-
/* harmony import */ var
|
|
32863
|
-
/* harmony import */ var
|
|
32864
|
-
/* harmony import */ var
|
|
32865
|
-
/* harmony import */ var
|
|
32866
|
-
/* harmony import */ var
|
|
32867
|
-
/* harmony import */ var
|
|
32868
|
-
/* harmony import */ var
|
|
32869
|
-
/* harmony import */ var
|
|
32870
|
-
/* harmony import */ var
|
|
32871
|
-
/* harmony import */ var
|
|
32872
|
-
/* harmony import */ var
|
|
32873
|
-
/* harmony import */ var
|
|
32874
|
-
/* harmony import */ var
|
|
32875
|
-
/* harmony import */ var
|
|
32876
|
-
/* harmony import */ var
|
|
32877
|
-
/* harmony import */ var
|
|
32878
|
-
/* harmony import */ var
|
|
32879
|
-
/* harmony import */ var
|
|
32880
|
-
/* harmony import */ var
|
|
32881
|
-
/* harmony import */ var
|
|
32882
|
-
/* harmony import */ var
|
|
32883
|
-
/* harmony import */ var
|
|
32884
|
-
/* harmony import */ var
|
|
32885
|
-
/* harmony import */ var
|
|
32886
|
-
/* harmony import */ var
|
|
32887
|
-
/* harmony import */ var
|
|
32893
|
+
/* harmony import */ var _fi_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(6833);
|
|
32894
|
+
/* harmony import */ var _fi_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_fi_js__WEBPACK_IMPORTED_MODULE_5__);
|
|
32895
|
+
/* harmony import */ var _fr_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(75916);
|
|
32896
|
+
/* harmony import */ var _fr_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_fr_js__WEBPACK_IMPORTED_MODULE_6__);
|
|
32897
|
+
/* harmony import */ var _he_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(43353);
|
|
32898
|
+
/* harmony import */ var _he_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_he_js__WEBPACK_IMPORTED_MODULE_7__);
|
|
32899
|
+
/* harmony import */ var _hu_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(36668);
|
|
32900
|
+
/* harmony import */ var _hu_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_hu_js__WEBPACK_IMPORTED_MODULE_8__);
|
|
32901
|
+
/* harmony import */ var _id_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(74881);
|
|
32902
|
+
/* harmony import */ var _id_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_id_js__WEBPACK_IMPORTED_MODULE_9__);
|
|
32903
|
+
/* harmony import */ var _it_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(62585);
|
|
32904
|
+
/* harmony import */ var _it_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_it_js__WEBPACK_IMPORTED_MODULE_10__);
|
|
32905
|
+
/* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(42150);
|
|
32906
|
+
/* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_ja_js__WEBPACK_IMPORTED_MODULE_11__);
|
|
32907
|
+
/* harmony import */ var _ko_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(15449);
|
|
32908
|
+
/* harmony import */ var _ko_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_ko_js__WEBPACK_IMPORTED_MODULE_12__);
|
|
32909
|
+
/* harmony import */ var _mn_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(16717);
|
|
32910
|
+
/* harmony import */ var _mn_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_mn_js__WEBPACK_IMPORTED_MODULE_13__);
|
|
32911
|
+
/* harmony import */ var _nl_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(45424);
|
|
32912
|
+
/* harmony import */ var _nl_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_nl_js__WEBPACK_IMPORTED_MODULE_14__);
|
|
32913
|
+
/* harmony import */ var _pl_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(11146);
|
|
32914
|
+
/* harmony import */ var _pl_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_pl_js__WEBPACK_IMPORTED_MODULE_15__);
|
|
32915
|
+
/* harmony import */ var _pt_br_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(36477);
|
|
32916
|
+
/* harmony import */ var _pt_br_js__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_pt_br_js__WEBPACK_IMPORTED_MODULE_16__);
|
|
32917
|
+
/* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(94675);
|
|
32918
|
+
/* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(_ru_js__WEBPACK_IMPORTED_MODULE_17__);
|
|
32919
|
+
/* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(26129);
|
|
32920
|
+
/* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(_tr_js__WEBPACK_IMPORTED_MODULE_18__);
|
|
32921
|
+
/* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(1692);
|
|
32922
|
+
/* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(_zh_cn_js__WEBPACK_IMPORTED_MODULE_19__);
|
|
32923
|
+
/* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(1566);
|
|
32924
|
+
/* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(_zh_tw_js__WEBPACK_IMPORTED_MODULE_20__);
|
|
32888
32925
|
/*!
|
|
32889
32926
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
32890
32927
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -32911,6 +32948,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
32911
32948
|
|
|
32912
32949
|
|
|
32913
32950
|
|
|
32951
|
+
|
|
32914
32952
|
|
|
32915
32953
|
|
|
32916
32954
|
/***/ }),
|
|
@@ -36021,11 +36059,9 @@ class resizer extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_3__/* .P
|
|
|
36021
36059
|
if (rgx.test(data.value)) {
|
|
36022
36060
|
data.value = data.value.replace(rgx, '$1');
|
|
36023
36061
|
}
|
|
36024
|
-
})
|
|
36025
|
-
.on('hideResizer', this.hide)
|
|
36026
|
-
.on('change afterInit afterSetMode', this.onChangeEditor);
|
|
36062
|
+
});
|
|
36027
36063
|
this.addEventListeners();
|
|
36028
|
-
this.
|
|
36064
|
+
this.__onChangeEditor();
|
|
36029
36065
|
}
|
|
36030
36066
|
/**
|
|
36031
36067
|
* Click in the editor area
|
|
@@ -36035,7 +36071,7 @@ class resizer extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_3__/* .P
|
|
|
36035
36071
|
const { editor, options: { allowResizeTags } } = this.j;
|
|
36036
36072
|
while (node && node !== editor) {
|
|
36037
36073
|
if (jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.isTag(node, allowResizeTags)) {
|
|
36038
|
-
this.
|
|
36074
|
+
this.__bind(node);
|
|
36039
36075
|
this.onClickElement(node);
|
|
36040
36076
|
return;
|
|
36041
36077
|
}
|
|
@@ -36209,7 +36245,7 @@ class resizer extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_3__/* .P
|
|
|
36209
36245
|
e.preventDefault();
|
|
36210
36246
|
}
|
|
36211
36247
|
}
|
|
36212
|
-
|
|
36248
|
+
__onChangeEditor() {
|
|
36213
36249
|
if (this.isShown) {
|
|
36214
36250
|
if (!this.element || !this.element.parentNode) {
|
|
36215
36251
|
this.hide();
|
|
@@ -36218,13 +36254,13 @@ class resizer extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_3__/* .P
|
|
|
36218
36254
|
this.updateSize();
|
|
36219
36255
|
}
|
|
36220
36256
|
}
|
|
36221
|
-
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.$$)('iframe', this.j.editor).forEach(this.
|
|
36257
|
+
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.$$)('iframe', this.j.editor).forEach(this.__bind);
|
|
36222
36258
|
}
|
|
36223
36259
|
/**
|
|
36224
36260
|
* Bind an edit element to element
|
|
36225
36261
|
* @param element - The element that you want to add a function to resize
|
|
36226
36262
|
*/
|
|
36227
|
-
|
|
36263
|
+
__bind(element) {
|
|
36228
36264
|
if (!jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.isHTMLElement(element) ||
|
|
36229
36265
|
!this.j.o.allowResizeTags.has(element.tagName.toLowerCase()) ||
|
|
36230
36266
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.dataBind)(element, keyBInd)) {
|
|
@@ -36356,13 +36392,14 @@ class resizer extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_3__/* .P
|
|
|
36356
36392
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_5__.autobind
|
|
36357
36393
|
], resizer.prototype, "onClickOutside", null);
|
|
36358
36394
|
(0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .gn)([
|
|
36359
|
-
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_5__.
|
|
36360
|
-
], resizer.prototype, "
|
|
36395
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_5__.watch)(':change')
|
|
36396
|
+
], resizer.prototype, "__onChangeEditor", null);
|
|
36361
36397
|
(0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .gn)([
|
|
36362
36398
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_5__.autobind
|
|
36363
|
-
], resizer.prototype, "
|
|
36399
|
+
], resizer.prototype, "__bind", null);
|
|
36364
36400
|
(0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .gn)([
|
|
36365
|
-
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_5__.autobind
|
|
36401
|
+
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_5__.autobind,
|
|
36402
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_5__.watch)(':hideResizer')
|
|
36366
36403
|
], resizer.prototype, "hide", null);
|
|
36367
36404
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_4__/* .pluginSystem */ .pw.add('resizer', resizer);
|
|
36368
36405
|
|
|
@@ -36388,7 +36425,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_4__/* .pluginSystem */ .pw.add('resiz
|
|
|
36388
36425
|
|
|
36389
36426
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .D.prototype.useSearch = true;
|
|
36390
36427
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .D.prototype.search = {
|
|
36391
|
-
lazyIdleTimeout: 0
|
|
36428
|
+
lazyIdleTimeout: 0,
|
|
36429
|
+
// @ts-ignore Because Highlight is not defined in the types TS 5.3.3
|
|
36430
|
+
useCustomHighlightAPI: typeof window.Highlight !== 'undefined'
|
|
36392
36431
|
};
|
|
36393
36432
|
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .J.set('search', (_search_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
36394
36433
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .D.prototype.controls.find = {
|
|
@@ -36422,113 +36461,14 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .D.prototype.controls.fin
|
|
|
36422
36461
|
|
|
36423
36462
|
/***/ }),
|
|
36424
36463
|
|
|
36425
|
-
/***/
|
|
36426
|
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
36427
|
-
|
|
36428
|
-
"use strict";
|
|
36429
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
36430
|
-
/* harmony export */ Al: function() { return /* reexport safe */ _sentence_finder__WEBPACK_IMPORTED_MODULE_0__.A; },
|
|
36431
|
-
/* harmony export */ Fb: function() { return /* reexport safe */ _wrap_ranges_texts_in_tmp_span__WEBPACK_IMPORTED_MODULE_1__.Fb; },
|
|
36432
|
-
/* harmony export */ TW: function() { return /* reexport safe */ _wrap_ranges_texts_in_tmp_span__WEBPACK_IMPORTED_MODULE_1__.TW; },
|
|
36433
|
-
/* harmony export */ e: function() { return /* reexport safe */ _wrap_ranges_texts_in_tmp_span__WEBPACK_IMPORTED_MODULE_1__.e; },
|
|
36434
|
-
/* harmony export */ sG: function() { return /* reexport safe */ _wrap_ranges_texts_in_tmp_span__WEBPACK_IMPORTED_MODULE_1__.sG; }
|
|
36435
|
-
/* harmony export */ });
|
|
36436
|
-
/* harmony import */ var _sentence_finder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(135);
|
|
36437
|
-
/* harmony import */ var _wrap_ranges_texts_in_tmp_span__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(89883);
|
|
36438
|
-
/*!
|
|
36439
|
-
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
36440
|
-
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
36441
|
-
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
36442
|
-
*/
|
|
36443
|
-
/**
|
|
36444
|
-
* @module plugins/search
|
|
36445
|
-
*/
|
|
36446
|
-
|
|
36447
|
-
|
|
36448
|
-
|
|
36449
|
-
|
|
36450
|
-
/***/ }),
|
|
36451
|
-
|
|
36452
|
-
/***/ 135:
|
|
36453
|
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
36454
|
-
|
|
36455
|
-
"use strict";
|
|
36456
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
36457
|
-
/* harmony export */ A: function() { return /* binding */ SentenceFinder; }
|
|
36458
|
-
/* harmony export */ });
|
|
36459
|
-
/* harmony import */ var jodit_core_helpers_string_fuzzy_search_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(29133);
|
|
36460
|
-
/*!
|
|
36461
|
-
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
36462
|
-
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
36463
|
-
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
36464
|
-
*/
|
|
36465
|
-
|
|
36466
|
-
class SentenceFinder {
|
|
36467
|
-
constructor(searchIndex = jodit_core_helpers_string_fuzzy_search_index__WEBPACK_IMPORTED_MODULE_0__/* .fuzzySearchIndex */ .Q) {
|
|
36468
|
-
this.searchIndex = searchIndex;
|
|
36469
|
-
this.queue = [];
|
|
36470
|
-
this.value = '';
|
|
36471
|
-
}
|
|
36472
|
-
add(node) {
|
|
36473
|
-
const value = (node.nodeValue ?? '').toLowerCase();
|
|
36474
|
-
if (!value.length) {
|
|
36475
|
-
return;
|
|
36476
|
-
}
|
|
36477
|
-
const index = this.value.length;
|
|
36478
|
-
this.queue.push({
|
|
36479
|
-
startIndex: index,
|
|
36480
|
-
endIndex: index + value.length,
|
|
36481
|
-
node
|
|
36482
|
-
});
|
|
36483
|
-
this.value += value;
|
|
36484
|
-
}
|
|
36485
|
-
ranges(needle, position = 0) {
|
|
36486
|
-
const results = [];
|
|
36487
|
-
let index = position, len = 0, startQueueIndex = 0;
|
|
36488
|
-
// Find all ranges in substring
|
|
36489
|
-
do {
|
|
36490
|
-
[index, len] = this.searchIndex(needle, this.value, index);
|
|
36491
|
-
if (index !== -1) {
|
|
36492
|
-
let startContainer, startOffset = 0, endContainer, endOffset = 0;
|
|
36493
|
-
for (let i = startQueueIndex; i < this.queue.length; i += 1) {
|
|
36494
|
-
if (!startContainer && this.queue[i].endIndex > index) {
|
|
36495
|
-
startContainer = this.queue[i].node;
|
|
36496
|
-
startOffset = index - this.queue[i].startIndex;
|
|
36497
|
-
}
|
|
36498
|
-
if (startContainer &&
|
|
36499
|
-
this.queue[i].endIndex >= index + len) {
|
|
36500
|
-
endContainer = this.queue[i].node;
|
|
36501
|
-
endOffset = index + len - this.queue[i].startIndex;
|
|
36502
|
-
startQueueIndex = i;
|
|
36503
|
-
break;
|
|
36504
|
-
}
|
|
36505
|
-
}
|
|
36506
|
-
if (startContainer && endContainer) {
|
|
36507
|
-
results.push({
|
|
36508
|
-
startContainer,
|
|
36509
|
-
startOffset,
|
|
36510
|
-
endContainer,
|
|
36511
|
-
endOffset
|
|
36512
|
-
});
|
|
36513
|
-
}
|
|
36514
|
-
index += len;
|
|
36515
|
-
}
|
|
36516
|
-
} while (index !== -1);
|
|
36517
|
-
return results.length === 0 ? null : results;
|
|
36518
|
-
}
|
|
36519
|
-
}
|
|
36520
|
-
|
|
36521
|
-
|
|
36522
|
-
/***/ }),
|
|
36523
|
-
|
|
36524
|
-
/***/ 89883:
|
|
36464
|
+
/***/ 73893:
|
|
36525
36465
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
36526
36466
|
|
|
36527
36467
|
"use strict";
|
|
36528
36468
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
36469
|
+
/* harmony export */ AG: function() { return /* binding */ highlightTextRanges; },
|
|
36529
36470
|
/* harmony export */ Fb: function() { return /* binding */ clearSelectionWrappersFromHTML; },
|
|
36530
36471
|
/* harmony export */ TW: function() { return /* binding */ getSelectionWrappers; },
|
|
36531
|
-
/* harmony export */ e: function() { return /* binding */ wrapRangesTextsInTmpSpan; },
|
|
36532
36472
|
/* harmony export */ sG: function() { return /* binding */ clearSelectionWrappers; }
|
|
36533
36473
|
/* harmony export */ });
|
|
36534
36474
|
/* unused harmony export isSelectionWrapper */
|
|
@@ -36548,11 +36488,29 @@ const TMP_ATTR = 'jd-tmp-selection';
|
|
|
36548
36488
|
/**
|
|
36549
36489
|
* @private
|
|
36550
36490
|
*/
|
|
36551
|
-
function
|
|
36491
|
+
function highlightTextRanges(jodit, rng, restRanges, ci, root) {
|
|
36552
36492
|
if (rng.startContainer.nodeValue == null ||
|
|
36553
36493
|
rng.endContainer.nodeValue == null) {
|
|
36554
36494
|
return;
|
|
36555
36495
|
}
|
|
36496
|
+
if (jodit.o.search.useCustomHighlightAPI &&
|
|
36497
|
+
// @ts-ignore Because Highlight is not defined in the types TS 5.3.3
|
|
36498
|
+
typeof window.Highlight !== 'undefined') {
|
|
36499
|
+
const ranges = [rng, ...restRanges].map(rng => {
|
|
36500
|
+
const range = jodit.selection.createRange();
|
|
36501
|
+
range.setStart(rng.startContainer, rng.startOffset);
|
|
36502
|
+
range.setEnd(rng.endContainer, rng.endOffset);
|
|
36503
|
+
return range;
|
|
36504
|
+
});
|
|
36505
|
+
// @ts-ignore Because Highlight is not defined in the types TS 5.3.3
|
|
36506
|
+
const searchHighlight = new Highlight(...ranges);
|
|
36507
|
+
// @ts-ignore
|
|
36508
|
+
CSS.highlights.clear();
|
|
36509
|
+
// @ts-ignore
|
|
36510
|
+
CSS.highlights.set('jodit-search-result', searchHighlight);
|
|
36511
|
+
restRanges.length = 0;
|
|
36512
|
+
return;
|
|
36513
|
+
}
|
|
36556
36514
|
const span = ci.element('span', {
|
|
36557
36515
|
[TMP_ATTR]: true
|
|
36558
36516
|
});
|
|
@@ -36636,6 +36594,105 @@ function isSelectionWrapper(node) {
|
|
|
36636
36594
|
}
|
|
36637
36595
|
|
|
36638
36596
|
|
|
36597
|
+
/***/ }),
|
|
36598
|
+
|
|
36599
|
+
/***/ 8521:
|
|
36600
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
36601
|
+
|
|
36602
|
+
"use strict";
|
|
36603
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
36604
|
+
/* harmony export */ AG: function() { return /* reexport safe */ _highlight_text_ranges__WEBPACK_IMPORTED_MODULE_1__.AG; },
|
|
36605
|
+
/* harmony export */ Al: function() { return /* reexport safe */ _sentence_finder__WEBPACK_IMPORTED_MODULE_0__.A; },
|
|
36606
|
+
/* harmony export */ Fb: function() { return /* reexport safe */ _highlight_text_ranges__WEBPACK_IMPORTED_MODULE_1__.Fb; },
|
|
36607
|
+
/* harmony export */ TW: function() { return /* reexport safe */ _highlight_text_ranges__WEBPACK_IMPORTED_MODULE_1__.TW; },
|
|
36608
|
+
/* harmony export */ sG: function() { return /* reexport safe */ _highlight_text_ranges__WEBPACK_IMPORTED_MODULE_1__.sG; }
|
|
36609
|
+
/* harmony export */ });
|
|
36610
|
+
/* harmony import */ var _sentence_finder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(135);
|
|
36611
|
+
/* harmony import */ var _highlight_text_ranges__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(73893);
|
|
36612
|
+
/*!
|
|
36613
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
36614
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
36615
|
+
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
36616
|
+
*/
|
|
36617
|
+
/**
|
|
36618
|
+
* @module plugins/search
|
|
36619
|
+
*/
|
|
36620
|
+
|
|
36621
|
+
|
|
36622
|
+
|
|
36623
|
+
|
|
36624
|
+
/***/ }),
|
|
36625
|
+
|
|
36626
|
+
/***/ 135:
|
|
36627
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
36628
|
+
|
|
36629
|
+
"use strict";
|
|
36630
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
36631
|
+
/* harmony export */ A: function() { return /* binding */ SentenceFinder; }
|
|
36632
|
+
/* harmony export */ });
|
|
36633
|
+
/* harmony import */ var jodit_core_helpers_string_fuzzy_search_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(29133);
|
|
36634
|
+
/*!
|
|
36635
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
36636
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
36637
|
+
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
36638
|
+
*/
|
|
36639
|
+
|
|
36640
|
+
class SentenceFinder {
|
|
36641
|
+
constructor(searchIndex = jodit_core_helpers_string_fuzzy_search_index__WEBPACK_IMPORTED_MODULE_0__/* .fuzzySearchIndex */ .Q) {
|
|
36642
|
+
this.searchIndex = searchIndex;
|
|
36643
|
+
this.queue = [];
|
|
36644
|
+
this.value = '';
|
|
36645
|
+
}
|
|
36646
|
+
add(node) {
|
|
36647
|
+
const value = (node.nodeValue ?? '').toLowerCase();
|
|
36648
|
+
if (!value.length) {
|
|
36649
|
+
return;
|
|
36650
|
+
}
|
|
36651
|
+
const index = this.value.length;
|
|
36652
|
+
this.queue.push({
|
|
36653
|
+
startIndex: index,
|
|
36654
|
+
endIndex: index + value.length,
|
|
36655
|
+
node
|
|
36656
|
+
});
|
|
36657
|
+
this.value += value;
|
|
36658
|
+
}
|
|
36659
|
+
ranges(needle, position = 0) {
|
|
36660
|
+
const results = [];
|
|
36661
|
+
let index = position, len = 0, startQueueIndex = 0;
|
|
36662
|
+
// Find all ranges in substring
|
|
36663
|
+
do {
|
|
36664
|
+
[index, len] = this.searchIndex(needle, this.value, index);
|
|
36665
|
+
if (index !== -1) {
|
|
36666
|
+
let startContainer, startOffset = 0, endContainer, endOffset = 0;
|
|
36667
|
+
for (let i = startQueueIndex; i < this.queue.length; i += 1) {
|
|
36668
|
+
if (!startContainer && this.queue[i].endIndex > index) {
|
|
36669
|
+
startContainer = this.queue[i].node;
|
|
36670
|
+
startOffset = index - this.queue[i].startIndex;
|
|
36671
|
+
}
|
|
36672
|
+
if (startContainer &&
|
|
36673
|
+
this.queue[i].endIndex >= index + len) {
|
|
36674
|
+
endContainer = this.queue[i].node;
|
|
36675
|
+
endOffset = index + len - this.queue[i].startIndex;
|
|
36676
|
+
startQueueIndex = i;
|
|
36677
|
+
break;
|
|
36678
|
+
}
|
|
36679
|
+
}
|
|
36680
|
+
if (startContainer && endContainer) {
|
|
36681
|
+
results.push({
|
|
36682
|
+
startContainer,
|
|
36683
|
+
startOffset,
|
|
36684
|
+
endContainer,
|
|
36685
|
+
endOffset
|
|
36686
|
+
});
|
|
36687
|
+
}
|
|
36688
|
+
index += len;
|
|
36689
|
+
}
|
|
36690
|
+
} while (index !== -1);
|
|
36691
|
+
return results.length === 0 ? null : results;
|
|
36692
|
+
}
|
|
36693
|
+
}
|
|
36694
|
+
|
|
36695
|
+
|
|
36639
36696
|
/***/ }),
|
|
36640
36697
|
|
|
36641
36698
|
/***/ 78014:
|
|
@@ -36785,7 +36842,7 @@ class search extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_1__/* .Plugin */
|
|
|
36785
36842
|
this.drawPromise?.rejectCallback();
|
|
36786
36843
|
this.j.async.cancelAnimationFrame(this.wrapFrameRequest);
|
|
36787
36844
|
(0,_helpers__WEBPACK_IMPORTED_MODULE_6__/* .clearSelectionWrappers */ .sG)(this.j.editor);
|
|
36788
|
-
this.drawPromise = this.
|
|
36845
|
+
this.drawPromise = this.__drawSelectionRanges(bounds);
|
|
36789
36846
|
}
|
|
36790
36847
|
this.previousQuery = query;
|
|
36791
36848
|
let currentIndex = this.ui.currentIndex - 1;
|
|
@@ -36860,7 +36917,7 @@ class search extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_1__/* .Plugin */
|
|
|
36860
36917
|
});
|
|
36861
36918
|
return this.cache[query];
|
|
36862
36919
|
}
|
|
36863
|
-
|
|
36920
|
+
__drawSelectionRanges(ranges) {
|
|
36864
36921
|
const { async, createInside: ci, editor } = this.j;
|
|
36865
36922
|
async.cancelAnimationFrame(this.wrapFrameRequest);
|
|
36866
36923
|
const parts = [...ranges];
|
|
@@ -36870,7 +36927,7 @@ class search extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_1__/* .Plugin */
|
|
|
36870
36927
|
do {
|
|
36871
36928
|
sRange = parts.shift();
|
|
36872
36929
|
if (sRange) {
|
|
36873
|
-
(0,_helpers__WEBPACK_IMPORTED_MODULE_6__/* .
|
|
36930
|
+
(0,_helpers__WEBPACK_IMPORTED_MODULE_6__/* .highlightTextRanges */ .AG)(this.j, sRange, parts, ci, editor);
|
|
36874
36931
|
}
|
|
36875
36932
|
total += 1;
|
|
36876
36933
|
} while (sRange && total <= 5);
|
|
@@ -38727,7 +38784,7 @@ class source extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_1__/* .Plugin */
|
|
|
38727
38784
|
return false;
|
|
38728
38785
|
};
|
|
38729
38786
|
if (!addEventListener()) {
|
|
38730
|
-
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.loadNext)(editor, editor.o.beautifyHTMLCDNUrlsJS).then(addEventListener);
|
|
38787
|
+
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.loadNext)(editor, editor.o.beautifyHTMLCDNUrlsJS).then(addEventListener, () => null);
|
|
38731
38788
|
}
|
|
38732
38789
|
}
|
|
38733
38790
|
this.syncValueFromWYSIWYG(true);
|
|
@@ -38915,6 +38972,23 @@ module.exports = {
|
|
|
38915
38972
|
};
|
|
38916
38973
|
|
|
38917
38974
|
|
|
38975
|
+
/***/ }),
|
|
38976
|
+
|
|
38977
|
+
/***/ 42096:
|
|
38978
|
+
/***/ (function(module) {
|
|
38979
|
+
|
|
38980
|
+
"use strict";
|
|
38981
|
+
|
|
38982
|
+
/*!
|
|
38983
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
38984
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
38985
|
+
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
38986
|
+
*/
|
|
38987
|
+
module.exports = {
|
|
38988
|
+
Spellcheck: 'Oikeinkirjoituksen tarkistus'
|
|
38989
|
+
};
|
|
38990
|
+
|
|
38991
|
+
|
|
38918
38992
|
/***/ }),
|
|
38919
38993
|
|
|
38920
38994
|
/***/ 53866:
|
|
@@ -38996,21 +39070,22 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
38996
39070
|
/* harmony export */ de: function() { return /* reexport module object */ _de_js__WEBPACK_IMPORTED_MODULE_2__; },
|
|
38997
39071
|
/* harmony export */ es: function() { return /* reexport module object */ _es_js__WEBPACK_IMPORTED_MODULE_3__; },
|
|
38998
39072
|
/* harmony export */ fa: function() { return /* reexport module object */ _fa_js__WEBPACK_IMPORTED_MODULE_4__; },
|
|
38999
|
-
/* harmony export */
|
|
39000
|
-
/* harmony export */
|
|
39001
|
-
/* harmony export */
|
|
39002
|
-
/* harmony export */
|
|
39003
|
-
/* harmony export */
|
|
39004
|
-
/* harmony export */
|
|
39005
|
-
/* harmony export */
|
|
39006
|
-
/* harmony export */
|
|
39007
|
-
/* harmony export */
|
|
39008
|
-
/* harmony export */
|
|
39009
|
-
/* harmony export */
|
|
39010
|
-
/* harmony export */
|
|
39011
|
-
/* harmony export */
|
|
39012
|
-
/* harmony export */
|
|
39013
|
-
/* harmony export */
|
|
39073
|
+
/* harmony export */ fi: function() { return /* reexport module object */ _fi_js__WEBPACK_IMPORTED_MODULE_5__; },
|
|
39074
|
+
/* harmony export */ fr: function() { return /* reexport module object */ _fr_js__WEBPACK_IMPORTED_MODULE_6__; },
|
|
39075
|
+
/* harmony export */ he: function() { return /* reexport module object */ _he_js__WEBPACK_IMPORTED_MODULE_7__; },
|
|
39076
|
+
/* harmony export */ hu: function() { return /* reexport module object */ _hu_js__WEBPACK_IMPORTED_MODULE_8__; },
|
|
39077
|
+
/* harmony export */ id: function() { return /* reexport module object */ _id_js__WEBPACK_IMPORTED_MODULE_9__; },
|
|
39078
|
+
/* harmony export */ it: function() { return /* reexport module object */ _it_js__WEBPACK_IMPORTED_MODULE_10__; },
|
|
39079
|
+
/* harmony export */ ja: function() { return /* reexport module object */ _ja_js__WEBPACK_IMPORTED_MODULE_11__; },
|
|
39080
|
+
/* harmony export */ ko: function() { return /* reexport module object */ _ko_js__WEBPACK_IMPORTED_MODULE_12__; },
|
|
39081
|
+
/* harmony export */ mn: function() { return /* reexport module object */ _mn_js__WEBPACK_IMPORTED_MODULE_13__; },
|
|
39082
|
+
/* harmony export */ nl: function() { return /* reexport module object */ _nl_js__WEBPACK_IMPORTED_MODULE_14__; },
|
|
39083
|
+
/* harmony export */ pl: function() { return /* reexport module object */ _pl_js__WEBPACK_IMPORTED_MODULE_15__; },
|
|
39084
|
+
/* harmony export */ pt_br: function() { return /* reexport module object */ _pt_br_js__WEBPACK_IMPORTED_MODULE_16__; },
|
|
39085
|
+
/* harmony export */ ru: function() { return /* reexport module object */ _ru_js__WEBPACK_IMPORTED_MODULE_17__; },
|
|
39086
|
+
/* harmony export */ tr: function() { return /* reexport module object */ _tr_js__WEBPACK_IMPORTED_MODULE_18__; },
|
|
39087
|
+
/* harmony export */ zh_cn: function() { return /* reexport module object */ _zh_cn_js__WEBPACK_IMPORTED_MODULE_19__; },
|
|
39088
|
+
/* harmony export */ zh_tw: function() { return /* reexport module object */ _zh_tw_js__WEBPACK_IMPORTED_MODULE_20__; }
|
|
39014
39089
|
/* harmony export */ });
|
|
39015
39090
|
/* harmony import */ var _ar_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25394);
|
|
39016
39091
|
/* harmony import */ var _ar_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_ar_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -39022,36 +39097,38 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
39022
39097
|
/* harmony import */ var _es_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_es_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
39023
39098
|
/* harmony import */ var _fa_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(39850);
|
|
39024
39099
|
/* harmony import */ var _fa_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_fa_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
39025
|
-
/* harmony import */ var
|
|
39026
|
-
/* harmony import */ var
|
|
39027
|
-
/* harmony import */ var
|
|
39028
|
-
/* harmony import */ var
|
|
39029
|
-
/* harmony import */ var
|
|
39030
|
-
/* harmony import */ var
|
|
39031
|
-
/* harmony import */ var
|
|
39032
|
-
/* harmony import */ var
|
|
39033
|
-
/* harmony import */ var
|
|
39034
|
-
/* harmony import */ var
|
|
39035
|
-
/* harmony import */ var
|
|
39036
|
-
/* harmony import */ var
|
|
39037
|
-
/* harmony import */ var
|
|
39038
|
-
/* harmony import */ var
|
|
39039
|
-
/* harmony import */ var
|
|
39040
|
-
/* harmony import */ var
|
|
39041
|
-
/* harmony import */ var
|
|
39042
|
-
/* harmony import */ var
|
|
39043
|
-
/* harmony import */ var
|
|
39044
|
-
/* harmony import */ var
|
|
39045
|
-
/* harmony import */ var
|
|
39046
|
-
/* harmony import */ var
|
|
39047
|
-
/* harmony import */ var
|
|
39048
|
-
/* harmony import */ var
|
|
39049
|
-
/* harmony import */ var
|
|
39050
|
-
/* harmony import */ var
|
|
39051
|
-
/* harmony import */ var
|
|
39052
|
-
/* harmony import */ var
|
|
39053
|
-
/* harmony import */ var
|
|
39054
|
-
/* harmony import */ var
|
|
39100
|
+
/* harmony import */ var _fi_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(42096);
|
|
39101
|
+
/* harmony import */ var _fi_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_fi_js__WEBPACK_IMPORTED_MODULE_5__);
|
|
39102
|
+
/* harmony import */ var _fr_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(53866);
|
|
39103
|
+
/* harmony import */ var _fr_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_fr_js__WEBPACK_IMPORTED_MODULE_6__);
|
|
39104
|
+
/* harmony import */ var _he_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(68103);
|
|
39105
|
+
/* harmony import */ var _he_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_he_js__WEBPACK_IMPORTED_MODULE_7__);
|
|
39106
|
+
/* harmony import */ var _hu_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(59717);
|
|
39107
|
+
/* harmony import */ var _hu_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_hu_js__WEBPACK_IMPORTED_MODULE_8__);
|
|
39108
|
+
/* harmony import */ var _id_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(43703);
|
|
39109
|
+
/* harmony import */ var _id_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_id_js__WEBPACK_IMPORTED_MODULE_9__);
|
|
39110
|
+
/* harmony import */ var _it_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(15825);
|
|
39111
|
+
/* harmony import */ var _it_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_it_js__WEBPACK_IMPORTED_MODULE_10__);
|
|
39112
|
+
/* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(693);
|
|
39113
|
+
/* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_ja_js__WEBPACK_IMPORTED_MODULE_11__);
|
|
39114
|
+
/* harmony import */ var _ko_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(66389);
|
|
39115
|
+
/* harmony import */ var _ko_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_ko_js__WEBPACK_IMPORTED_MODULE_12__);
|
|
39116
|
+
/* harmony import */ var _mn_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(90239);
|
|
39117
|
+
/* harmony import */ var _mn_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_mn_js__WEBPACK_IMPORTED_MODULE_13__);
|
|
39118
|
+
/* harmony import */ var _nl_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(64914);
|
|
39119
|
+
/* harmony import */ var _nl_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_nl_js__WEBPACK_IMPORTED_MODULE_14__);
|
|
39120
|
+
/* harmony import */ var _pl_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(95177);
|
|
39121
|
+
/* harmony import */ var _pl_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_pl_js__WEBPACK_IMPORTED_MODULE_15__);
|
|
39122
|
+
/* harmony import */ var _pt_br_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(66174);
|
|
39123
|
+
/* harmony import */ var _pt_br_js__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_pt_br_js__WEBPACK_IMPORTED_MODULE_16__);
|
|
39124
|
+
/* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(14004);
|
|
39125
|
+
/* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(_ru_js__WEBPACK_IMPORTED_MODULE_17__);
|
|
39126
|
+
/* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(54002);
|
|
39127
|
+
/* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(_tr_js__WEBPACK_IMPORTED_MODULE_18__);
|
|
39128
|
+
/* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(61338);
|
|
39129
|
+
/* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(_zh_cn_js__WEBPACK_IMPORTED_MODULE_19__);
|
|
39130
|
+
/* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(58013);
|
|
39131
|
+
/* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(_zh_tw_js__WEBPACK_IMPORTED_MODULE_20__);
|
|
39055
39132
|
/*!
|
|
39056
39133
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
39057
39134
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -39078,6 +39155,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
39078
39155
|
|
|
39079
39156
|
|
|
39080
39157
|
|
|
39158
|
+
|
|
39081
39159
|
|
|
39082
39160
|
|
|
39083
39161
|
/***/ }),
|
|
@@ -39917,6 +39995,23 @@ module.exports = {
|
|
|
39917
39995
|
};
|
|
39918
39996
|
|
|
39919
39997
|
|
|
39998
|
+
/***/ }),
|
|
39999
|
+
|
|
40000
|
+
/***/ 67385:
|
|
40001
|
+
/***/ (function(module) {
|
|
40002
|
+
|
|
40003
|
+
"use strict";
|
|
40004
|
+
|
|
40005
|
+
/*!
|
|
40006
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
40007
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
40008
|
+
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
40009
|
+
*/
|
|
40010
|
+
module.exports = {
|
|
40011
|
+
symbols: 'Symbolit'
|
|
40012
|
+
};
|
|
40013
|
+
|
|
40014
|
+
|
|
39920
40015
|
/***/ }),
|
|
39921
40016
|
|
|
39922
40017
|
/***/ 27021:
|
|
@@ -39998,21 +40093,22 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
39998
40093
|
/* harmony export */ de: function() { return /* reexport module object */ _de_js__WEBPACK_IMPORTED_MODULE_2__; },
|
|
39999
40094
|
/* harmony export */ es: function() { return /* reexport module object */ _es_js__WEBPACK_IMPORTED_MODULE_3__; },
|
|
40000
40095
|
/* harmony export */ fa: function() { return /* reexport module object */ _fa_js__WEBPACK_IMPORTED_MODULE_4__; },
|
|
40001
|
-
/* harmony export */
|
|
40002
|
-
/* harmony export */
|
|
40003
|
-
/* harmony export */
|
|
40004
|
-
/* harmony export */
|
|
40005
|
-
/* harmony export */
|
|
40006
|
-
/* harmony export */
|
|
40007
|
-
/* harmony export */
|
|
40008
|
-
/* harmony export */
|
|
40009
|
-
/* harmony export */
|
|
40010
|
-
/* harmony export */
|
|
40011
|
-
/* harmony export */
|
|
40012
|
-
/* harmony export */
|
|
40013
|
-
/* harmony export */
|
|
40014
|
-
/* harmony export */
|
|
40015
|
-
/* harmony export */
|
|
40096
|
+
/* harmony export */ fi: function() { return /* reexport module object */ _fi_js__WEBPACK_IMPORTED_MODULE_5__; },
|
|
40097
|
+
/* harmony export */ fr: function() { return /* reexport module object */ _fr_js__WEBPACK_IMPORTED_MODULE_6__; },
|
|
40098
|
+
/* harmony export */ he: function() { return /* reexport module object */ _he_js__WEBPACK_IMPORTED_MODULE_7__; },
|
|
40099
|
+
/* harmony export */ hu: function() { return /* reexport module object */ _hu_js__WEBPACK_IMPORTED_MODULE_8__; },
|
|
40100
|
+
/* harmony export */ id: function() { return /* reexport module object */ _id_js__WEBPACK_IMPORTED_MODULE_9__; },
|
|
40101
|
+
/* harmony export */ it: function() { return /* reexport module object */ _it_js__WEBPACK_IMPORTED_MODULE_10__; },
|
|
40102
|
+
/* harmony export */ ja: function() { return /* reexport module object */ _ja_js__WEBPACK_IMPORTED_MODULE_11__; },
|
|
40103
|
+
/* harmony export */ ko: function() { return /* reexport module object */ _ko_js__WEBPACK_IMPORTED_MODULE_12__; },
|
|
40104
|
+
/* harmony export */ mn: function() { return /* reexport module object */ _mn_js__WEBPACK_IMPORTED_MODULE_13__; },
|
|
40105
|
+
/* harmony export */ nl: function() { return /* reexport module object */ _nl_js__WEBPACK_IMPORTED_MODULE_14__; },
|
|
40106
|
+
/* harmony export */ pl: function() { return /* reexport module object */ _pl_js__WEBPACK_IMPORTED_MODULE_15__; },
|
|
40107
|
+
/* harmony export */ pt_br: function() { return /* reexport module object */ _pt_br_js__WEBPACK_IMPORTED_MODULE_16__; },
|
|
40108
|
+
/* harmony export */ ru: function() { return /* reexport module object */ _ru_js__WEBPACK_IMPORTED_MODULE_17__; },
|
|
40109
|
+
/* harmony export */ tr: function() { return /* reexport module object */ _tr_js__WEBPACK_IMPORTED_MODULE_18__; },
|
|
40110
|
+
/* harmony export */ zh_cn: function() { return /* reexport module object */ _zh_cn_js__WEBPACK_IMPORTED_MODULE_19__; },
|
|
40111
|
+
/* harmony export */ zh_tw: function() { return /* reexport module object */ _zh_tw_js__WEBPACK_IMPORTED_MODULE_20__; }
|
|
40016
40112
|
/* harmony export */ });
|
|
40017
40113
|
/* harmony import */ var _ar_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(59891);
|
|
40018
40114
|
/* harmony import */ var _ar_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_ar_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -40024,36 +40120,38 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
40024
40120
|
/* harmony import */ var _es_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_es_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
40025
40121
|
/* harmony import */ var _fa_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(38927);
|
|
40026
40122
|
/* harmony import */ var _fa_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_fa_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
40027
|
-
/* harmony import */ var
|
|
40028
|
-
/* harmony import */ var
|
|
40029
|
-
/* harmony import */ var
|
|
40030
|
-
/* harmony import */ var
|
|
40031
|
-
/* harmony import */ var
|
|
40032
|
-
/* harmony import */ var
|
|
40033
|
-
/* harmony import */ var
|
|
40034
|
-
/* harmony import */ var
|
|
40035
|
-
/* harmony import */ var
|
|
40036
|
-
/* harmony import */ var
|
|
40037
|
-
/* harmony import */ var
|
|
40038
|
-
/* harmony import */ var
|
|
40039
|
-
/* harmony import */ var
|
|
40040
|
-
/* harmony import */ var
|
|
40041
|
-
/* harmony import */ var
|
|
40042
|
-
/* harmony import */ var
|
|
40043
|
-
/* harmony import */ var
|
|
40044
|
-
/* harmony import */ var
|
|
40045
|
-
/* harmony import */ var
|
|
40046
|
-
/* harmony import */ var
|
|
40047
|
-
/* harmony import */ var
|
|
40048
|
-
/* harmony import */ var
|
|
40049
|
-
/* harmony import */ var
|
|
40050
|
-
/* harmony import */ var
|
|
40051
|
-
/* harmony import */ var
|
|
40052
|
-
/* harmony import */ var
|
|
40053
|
-
/* harmony import */ var
|
|
40054
|
-
/* harmony import */ var
|
|
40055
|
-
/* harmony import */ var
|
|
40056
|
-
/* harmony import */ var
|
|
40123
|
+
/* harmony import */ var _fi_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(67385);
|
|
40124
|
+
/* harmony import */ var _fi_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_fi_js__WEBPACK_IMPORTED_MODULE_5__);
|
|
40125
|
+
/* harmony import */ var _fr_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(27021);
|
|
40126
|
+
/* harmony import */ var _fr_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_fr_js__WEBPACK_IMPORTED_MODULE_6__);
|
|
40127
|
+
/* harmony import */ var _he_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(25112);
|
|
40128
|
+
/* harmony import */ var _he_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_he_js__WEBPACK_IMPORTED_MODULE_7__);
|
|
40129
|
+
/* harmony import */ var _hu_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(49274);
|
|
40130
|
+
/* harmony import */ var _hu_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_hu_js__WEBPACK_IMPORTED_MODULE_8__);
|
|
40131
|
+
/* harmony import */ var _id_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(23442);
|
|
40132
|
+
/* harmony import */ var _id_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_id_js__WEBPACK_IMPORTED_MODULE_9__);
|
|
40133
|
+
/* harmony import */ var _it_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(13603);
|
|
40134
|
+
/* harmony import */ var _it_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_it_js__WEBPACK_IMPORTED_MODULE_10__);
|
|
40135
|
+
/* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(33209);
|
|
40136
|
+
/* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_ja_js__WEBPACK_IMPORTED_MODULE_11__);
|
|
40137
|
+
/* harmony import */ var _ko_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(19509);
|
|
40138
|
+
/* harmony import */ var _ko_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_ko_js__WEBPACK_IMPORTED_MODULE_12__);
|
|
40139
|
+
/* harmony import */ var _mn_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(35992);
|
|
40140
|
+
/* harmony import */ var _mn_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_mn_js__WEBPACK_IMPORTED_MODULE_13__);
|
|
40141
|
+
/* harmony import */ var _nl_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(74290);
|
|
40142
|
+
/* harmony import */ var _nl_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_nl_js__WEBPACK_IMPORTED_MODULE_14__);
|
|
40143
|
+
/* harmony import */ var _pl_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(33197);
|
|
40144
|
+
/* harmony import */ var _pl_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_pl_js__WEBPACK_IMPORTED_MODULE_15__);
|
|
40145
|
+
/* harmony import */ var _pt_br_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(52583);
|
|
40146
|
+
/* harmony import */ var _pt_br_js__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_pt_br_js__WEBPACK_IMPORTED_MODULE_16__);
|
|
40147
|
+
/* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(28290);
|
|
40148
|
+
/* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(_ru_js__WEBPACK_IMPORTED_MODULE_17__);
|
|
40149
|
+
/* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(49629);
|
|
40150
|
+
/* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(_tr_js__WEBPACK_IMPORTED_MODULE_18__);
|
|
40151
|
+
/* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(59693);
|
|
40152
|
+
/* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(_zh_cn_js__WEBPACK_IMPORTED_MODULE_19__);
|
|
40153
|
+
/* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(92086);
|
|
40154
|
+
/* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(_zh_tw_js__WEBPACK_IMPORTED_MODULE_20__);
|
|
40057
40155
|
/*!
|
|
40058
40156
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
40059
40157
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -40080,6 +40178,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
40080
40178
|
|
|
40081
40179
|
|
|
40082
40180
|
|
|
40181
|
+
|
|
40083
40182
|
|
|
40084
40183
|
|
|
40085
40184
|
/***/ }),
|
|
@@ -40647,6 +40746,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .pw.add('tab',
|
|
|
40647
40746
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9162);
|
|
40648
40747
|
/* harmony import */ var jodit_modules_table_table__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(45979);
|
|
40649
40748
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(79102);
|
|
40749
|
+
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(76974);
|
|
40650
40750
|
/*!
|
|
40651
40751
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
40652
40752
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -40656,111 +40756,108 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .pw.add('tab',
|
|
|
40656
40756
|
|
|
40657
40757
|
|
|
40658
40758
|
|
|
40759
|
+
|
|
40760
|
+
const WORK_KEYS = new Set([
|
|
40761
|
+
jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_TAB,
|
|
40762
|
+
jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_LEFT,
|
|
40763
|
+
jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_RIGHT,
|
|
40764
|
+
jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_UP,
|
|
40765
|
+
jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN
|
|
40766
|
+
]);
|
|
40659
40767
|
/**
|
|
40660
|
-
* Process
|
|
40768
|
+
* Process navigates key pressing in table cell
|
|
40661
40769
|
*/
|
|
40662
40770
|
function tableKeyboardNavigation(editor) {
|
|
40663
40771
|
editor.e
|
|
40664
40772
|
.off('.tableKeyboardNavigation')
|
|
40665
40773
|
.on('keydown.tableKeyboardNavigation', (event) => {
|
|
40666
|
-
|
|
40667
|
-
if (
|
|
40668
|
-
|
|
40669
|
-
event.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_RIGHT ||
|
|
40670
|
-
event.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_UP ||
|
|
40671
|
-
event.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN) {
|
|
40672
|
-
current = editor.s.current();
|
|
40673
|
-
block = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.up(current, jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.isCell, editor.editor);
|
|
40674
|
-
if (!block) {
|
|
40675
|
-
return;
|
|
40676
|
-
}
|
|
40677
|
-
const range = editor.s.range;
|
|
40678
|
-
if (event.key !== jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_TAB && current !== block) {
|
|
40679
|
-
if (((event.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_LEFT ||
|
|
40680
|
-
event.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_UP) &&
|
|
40681
|
-
(jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.prev(current, (elm) => event.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_UP
|
|
40682
|
-
? jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.isTag(elm, 'br')
|
|
40683
|
-
: Boolean(elm), block) ||
|
|
40684
|
-
(event.key !== jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_UP &&
|
|
40685
|
-
jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.isText(current) &&
|
|
40686
|
-
range.startOffset !== 0))) ||
|
|
40687
|
-
((event.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_RIGHT ||
|
|
40688
|
-
event.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN) &&
|
|
40689
|
-
(jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.next(current, (elm) => event.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN
|
|
40690
|
-
? jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.isTag(elm, 'br')
|
|
40691
|
-
: Boolean(elm), block) ||
|
|
40692
|
-
(event.key !== jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN &&
|
|
40693
|
-
jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.isText(current) &&
|
|
40694
|
-
current.nodeValue &&
|
|
40695
|
-
range.startOffset !==
|
|
40696
|
-
current.nodeValue.length)))) {
|
|
40697
|
-
return;
|
|
40698
|
-
}
|
|
40699
|
-
}
|
|
40774
|
+
const { key } = event;
|
|
40775
|
+
if (!WORK_KEYS.has(key)) {
|
|
40776
|
+
return;
|
|
40700
40777
|
}
|
|
40701
|
-
|
|
40778
|
+
const current = editor.s.current();
|
|
40779
|
+
if (!current) {
|
|
40702
40780
|
return;
|
|
40703
40781
|
}
|
|
40704
|
-
const
|
|
40705
|
-
|
|
40782
|
+
const cell = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.up(current, jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.isCell, editor.editor);
|
|
40783
|
+
if (!cell) {
|
|
40784
|
+
return;
|
|
40785
|
+
}
|
|
40786
|
+
const { range } = editor.s;
|
|
40787
|
+
if (key !== jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_TAB && current !== cell) {
|
|
40788
|
+
const isNextDirection = key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_RIGHT || key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN;
|
|
40789
|
+
const hasNext = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.call)(!isNextDirection ? jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.prev : jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.next, current, elm => key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_UP || key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN
|
|
40790
|
+
? jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.isTag(elm, 'br')
|
|
40791
|
+
: Boolean(elm), cell);
|
|
40792
|
+
if ((!isNextDirection &&
|
|
40793
|
+
(hasNext ||
|
|
40794
|
+
(key !== jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_UP &&
|
|
40795
|
+
jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.isText(current) &&
|
|
40796
|
+
range.startOffset !== 0))) ||
|
|
40797
|
+
(isNextDirection &&
|
|
40798
|
+
(hasNext ||
|
|
40799
|
+
(key !== jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN &&
|
|
40800
|
+
jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.isText(current) &&
|
|
40801
|
+
current.nodeValue &&
|
|
40802
|
+
range.startOffset !==
|
|
40803
|
+
current.nodeValue.length)))) {
|
|
40804
|
+
return;
|
|
40805
|
+
}
|
|
40806
|
+
}
|
|
40807
|
+
const tableModule = editor.getInstance(jodit_modules_table_table__WEBPACK_IMPORTED_MODULE_2__/* .Table */ .i, editor.o);
|
|
40808
|
+
const table = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.closest(cell, 'table', editor.editor);
|
|
40706
40809
|
let next = null;
|
|
40707
|
-
|
|
40810
|
+
const isPrev = key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_LEFT || event.shiftKey;
|
|
40811
|
+
const getNextCell = () => (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.call)(isPrev ? jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.prev : jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.next, cell, jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.isCell, table);
|
|
40812
|
+
switch (key) {
|
|
40708
40813
|
case jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_TAB:
|
|
40709
|
-
// case consts.KEY_RIGHT:
|
|
40710
40814
|
case jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_LEFT: {
|
|
40711
|
-
|
|
40712
|
-
? 'prev'
|
|
40713
|
-
: 'next';
|
|
40714
|
-
next = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i[sibling](block, (elm) => elm &&
|
|
40715
|
-
/^td|th$/i.test(elm.tagName), table);
|
|
40815
|
+
next = getNextCell();
|
|
40716
40816
|
if (!next) {
|
|
40717
|
-
tableModule.appendRow(table,
|
|
40817
|
+
tableModule.appendRow(table, !isPrev
|
|
40718
40818
|
? false
|
|
40719
|
-
: table.querySelector('tr'),
|
|
40720
|
-
next =
|
|
40819
|
+
: table.querySelector('tr'), !isPrev);
|
|
40820
|
+
next = getNextCell();
|
|
40721
40821
|
}
|
|
40722
40822
|
break;
|
|
40723
40823
|
}
|
|
40724
40824
|
case jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_UP:
|
|
40725
40825
|
case jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN:
|
|
40726
40826
|
{
|
|
40727
|
-
|
|
40728
|
-
const
|
|
40729
|
-
|
|
40730
|
-
|
|
40731
|
-
|
|
40732
|
-
}
|
|
40733
|
-
});
|
|
40734
|
-
if (event.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_UP) {
|
|
40735
|
-
if (matrix[i - 1] !== undefined) {
|
|
40736
|
-
next = matrix[i - 1][j];
|
|
40827
|
+
const matrix = tableModule.formalMatrix(table);
|
|
40828
|
+
const [row, column] = tableModule.formalCoordinate(table, cell);
|
|
40829
|
+
if (key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_UP) {
|
|
40830
|
+
if (matrix[row - 1] !== undefined) {
|
|
40831
|
+
next = matrix[row - 1][column];
|
|
40737
40832
|
}
|
|
40738
40833
|
}
|
|
40739
40834
|
else {
|
|
40740
|
-
if (matrix[
|
|
40741
|
-
next = matrix[
|
|
40835
|
+
if (matrix[row + 1] !== undefined) {
|
|
40836
|
+
next = matrix[row + 1][column];
|
|
40742
40837
|
}
|
|
40743
40838
|
}
|
|
40744
40839
|
}
|
|
40745
40840
|
break;
|
|
40746
40841
|
}
|
|
40747
|
-
if (next) {
|
|
40748
|
-
|
|
40749
|
-
|
|
40750
|
-
|
|
40751
|
-
|
|
40842
|
+
if (!next) {
|
|
40843
|
+
return;
|
|
40844
|
+
}
|
|
40845
|
+
editor.e.fire('hidePopup hideResizer');
|
|
40846
|
+
if (!next.firstChild) {
|
|
40847
|
+
const first = editor.createInside.element('br');
|
|
40848
|
+
next.appendChild(first);
|
|
40849
|
+
editor.s.setCursorBefore(first);
|
|
40850
|
+
}
|
|
40851
|
+
else {
|
|
40852
|
+
if (key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_TAB) {
|
|
40853
|
+
editor.s.select(next, true);
|
|
40752
40854
|
}
|
|
40753
40855
|
else {
|
|
40754
|
-
|
|
40755
|
-
editor.s.select(next, true);
|
|
40756
|
-
}
|
|
40757
|
-
else {
|
|
40758
|
-
editor.s.setCursorIn(next, event.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_RIGHT ||
|
|
40759
|
-
event.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN);
|
|
40760
|
-
}
|
|
40856
|
+
editor.s.setCursorIn(next, key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_RIGHT || key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN);
|
|
40761
40857
|
}
|
|
40762
|
-
return false;
|
|
40763
40858
|
}
|
|
40859
|
+
editor.synchronizeValues();
|
|
40860
|
+
return false;
|
|
40764
40861
|
});
|
|
40765
40862
|
}
|
|
40766
40863
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .pw.add('tableKeyboardNavigation', tableKeyboardNavigation);
|
|
@@ -41592,6 +41689,13 @@ module.exports["default"] = ["Escriba algo...","Acerca de Jodit","Jodit Editor",
|
|
|
41592
41689
|
|
|
41593
41690
|
/***/ }),
|
|
41594
41691
|
|
|
41692
|
+
/***/ 13148:
|
|
41693
|
+
/***/ (function(module) {
|
|
41694
|
+
|
|
41695
|
+
module.exports["default"] = ["Kirjoita jotain...","Tietoja Jodit:ista","Jodit Editor","Jodit käyttäjän ohje","sisältää tarkempaa tietoa käyttämiseen","Tietoa lisensoinnista, vieraile verkkosivuillamme:","Osta täysi versio","Copyright © XDSoft.net - Chupurnov Valeriy. Kaikki oikeudet pidätetään.","Ankkuri","Avaa uudessa välilehdessä","Avaa täysikokoisena","Poista muotoilu","Täytä värillä tai aseta tekstin väri","Tee uudelleen","Peruuta","Lihavoitu","Kursiivi","Lisää järjestämätön lista","Lisää järjestetty lista","Asemoi keskelle","Asemoi tasavälein","Asemoi vasemmalle","Asemoi oikealle","Lisää vaakasuuntainen viiva","Lisää kuva","Lisää tiedosto","Lisää Youtube-/vimeo- video","Lisää linkki","Kirjasimen koko","Kirjasimen nimi","Lisää muotoilualue","Normaali","Otsikko 1","Otsikko 2","Otsikko 3","Otsikko 4","Lainaus","Koodi","Lisää","Lisää taulukko","Pienennä sisennystä","Lisää sisennystä","Valitse erikoismerkki","Lisää erikoismerkki","Maalaa muotoilu","Vaihda tilaa","Marginaalit","ylös","oikealle","alas","vasemmalle","CSS-tyylit","CSS-luokat","Asemointi","Oikea","Keskellä","Vasen","--Ei asetettu--","Fuente","Otsikko","Vaihtoehtoinen teksti","Linkki","Avaa uudessa välilehdessä","Kuva","Tiedosto","Avanzado","Kuvan ominaisuudet","Peruuta","Ok","Tiedostoselain","Virhe listan latauksessa","Virhe kansioiden latauksessa","Oletko varma?","Syötä hakemiston nimi","Luo hakemisto","Syötä nimi","Pudota kuva","Pudota tiedosto","tai klikkaa","Vaihtoehtoinen teksti","Lataa","Selaa","Tausta","Teksti","Ylös","Keskelle","Alas","Lisää sarake ennen","Lisää sarake jälkeen","Lisää rivi ylös","Lisää rivi alle","Poista taulukko","Poista rivi","Poista sarake","Tyhjennä solu","Merkit: %d","Sanat: %d","Yliviivaus","Alleviivaus","yläviite","alaviite","Leikkaa valinta","Valitse kaikki","Vaihto","Etsi arvoa","Korvaa arvolla","Korvaa","Liitä","Valitse liitettävä sisältö","HTML","lihavoitu","kursiivi","sivellin","linkki","peruuta","tee uudelleen","taulukko","kuva","pyyhekumi","kappale","tekstin koko","video","kirjasin","tietoja","tulosta","alleviivaa","yliviivaa","sisennä","pienennä sisennystä","täysikokoinen","pienennä","vaakaviiva","järjestetty lista","järjestämätön lista","leikkaa","valitse kaikki","Sisällytä koodi","Avaa linkki","Muokkaa linkkiä","Älä seuraa","Pura linkki","Päivitä","Muokkaa","Ver","URL","Muokkaa","Vaaka-asemointi","Suodatin","Järjestä muuttuneilla","Järjestä nimellä","Järjestä koolla","Lisää kansio","Nollaa","Tallenna","Tallenna nimellä ...","Muuta kokoa","Rajaa","Leveys","Korkeus","Säilytä kuvasuhde","Kyllä","Ei","Poista","Valitse","Valitse: %s","Pystyasemointi","Jaa","Yhdistä","Lisää sarake","Lisää rivi",null,"Poista","Jaa pystysuuntaisesti","Jaa vaakasuuntaisesti","Reuna","Koodi on HTML:n tapaista. Säilytetäänkö HTML?","Liitä HTML:nä?","Säilytä","Lisää tekstinä","Lisää vain teksti","Voit muokata vain omia kuvia. Lataa tämä kuva palvelimelle?","Kuva on onnistuneesti ladattu palvelimelle!","paletti","Tiedostoja ei ole","Nimeä uudelleen","Syötä uusi nimi","esikatselu","Lataa","Liitä leikepöydältä","Selaimesi ei tue suoraa pääsyä leikepöydälle.","Kopioi valinta","kopioi","Reunan pyöristys","Näytä kaikki","Käytä","Täytä tämä kenttä","Annan web-osoite","Oletus","Ympyrä","Piste","Neliö","Hae","Hae edellinen","Hae seuraava","Liitetty sisältö tulee Microsoft Word-/Excel- tiedostosta. Haluatko säilyttää muotoilun vai poistaa sen?","Word liittäminen havaittu","Tyhjennä","Lisää luokkanimi","Paina Alt muokattuun koon muuttamiseen"]
|
|
41696
|
+
|
|
41697
|
+
/***/ }),
|
|
41698
|
+
|
|
41595
41699
|
/***/ 12414:
|
|
41596
41700
|
/***/ (function(module) {
|
|
41597
41701
|
|