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/es2018/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
|
}, (_a = options === null || options === void 0 ? void 0 : options.timeout) !== null && _a !== void 0 ? _a : 1);
|
|
1039
1039
|
});
|
|
1040
|
-
this.
|
|
1040
|
+
this.__cancelIdleCallbackNative = (_e = (_d = window['cancelIdleCallback']) === null || _d === void 0 ? void 0 : _d.bind(window)) !== null && _e !== void 0 ? _e : ((request) => {
|
|
1041
1041
|
this.clearTimeout(request);
|
|
1042
1042
|
});
|
|
1043
1043
|
this.isDestructed = false;
|
|
@@ -1262,7 +1262,7 @@ class Async {
|
|
|
1262
1262
|
}
|
|
1263
1263
|
cancelIdleCallback(request) {
|
|
1264
1264
|
this.requestsIdle.delete(request);
|
|
1265
|
-
return this.
|
|
1265
|
+
return this.__cancelIdleCallbackNative(request);
|
|
1266
1266
|
}
|
|
1267
1267
|
requestAnimationFrame(callback) {
|
|
1268
1268
|
const request = requestAnimationFrame(callback);
|
|
@@ -1691,7 +1691,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1691
1691
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
1692
1692
|
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
1693
1693
|
*/
|
|
1694
|
-
const APP_VERSION = "4.0.
|
|
1694
|
+
const APP_VERSION = "4.0.13";
|
|
1695
1695
|
// prettier-ignore
|
|
1696
1696
|
const ES = "es2018";
|
|
1697
1697
|
const IS_ES_MODERN = true;
|
|
@@ -7162,12 +7162,10 @@ function alignElement(command, box) {
|
|
|
7162
7162
|
/* harmony export */ GX: function() { return /* binding */ loadNextStyle; },
|
|
7163
7163
|
/* harmony export */ JL: function() { return /* binding */ appendScriptAsync; },
|
|
7164
7164
|
/* harmony export */ Nf: function() { return /* binding */ appendStyleAsync; },
|
|
7165
|
-
/* harmony export */ uR: function() { return /* binding */ appendScript; },
|
|
7166
7165
|
/* harmony export */ wY: function() { return /* binding */ loadNext; }
|
|
7167
7166
|
/* harmony export */ });
|
|
7168
|
-
/* harmony import */ var
|
|
7169
|
-
/* harmony import */ var
|
|
7170
|
-
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(2926);
|
|
7167
|
+
/* harmony import */ var _complete_url__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55313);
|
|
7168
|
+
/* harmony import */ var jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2926);
|
|
7171
7169
|
/*!
|
|
7172
7170
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
7173
7171
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -7175,7 +7173,6 @@ function alignElement(command, box) {
|
|
|
7175
7173
|
*/
|
|
7176
7174
|
|
|
7177
7175
|
|
|
7178
|
-
|
|
7179
7176
|
const alreadyLoadedList = new Map();
|
|
7180
7177
|
const cacheLoaders = (loader) => {
|
|
7181
7178
|
return async (jodit, url) => {
|
|
@@ -7187,44 +7184,30 @@ const cacheLoaders = (loader) => {
|
|
|
7187
7184
|
return promise;
|
|
7188
7185
|
};
|
|
7189
7186
|
};
|
|
7190
|
-
/**
|
|
7191
|
-
* Append script in document and call callback function after download
|
|
7192
|
-
*/
|
|
7193
|
-
const appendScript = (jodit, url, callback) => {
|
|
7194
|
-
const script = jodit.c.element('script');
|
|
7195
|
-
script.type = 'text/javascript';
|
|
7196
|
-
script.async = true;
|
|
7197
|
-
if ((0,jodit_core_helpers_checker_is_function__WEBPACK_IMPORTED_MODULE_0__/* .isFunction */ .m)(callback) && !jodit.isInDestruct) {
|
|
7198
|
-
jodit.e.on(script, 'load', callback);
|
|
7199
|
-
}
|
|
7200
|
-
if (!script.src) {
|
|
7201
|
-
script.src = (0,_complete_url__WEBPACK_IMPORTED_MODULE_1__/* .completeUrl */ .W)(url);
|
|
7202
|
-
}
|
|
7203
|
-
jodit.od.body.appendChild(script);
|
|
7204
|
-
return {
|
|
7205
|
-
callback,
|
|
7206
|
-
element: script
|
|
7207
|
-
};
|
|
7208
|
-
};
|
|
7209
7187
|
/**
|
|
7210
7188
|
* Load script and return promise
|
|
7211
7189
|
*/
|
|
7212
7190
|
const appendScriptAsync = cacheLoaders((jodit, url) => {
|
|
7213
|
-
return
|
|
7191
|
+
return jodit.async.promise((resolve, reject) => {
|
|
7214
7192
|
if (jodit.isInDestruct) {
|
|
7215
|
-
return;
|
|
7193
|
+
return reject();
|
|
7216
7194
|
}
|
|
7217
|
-
const
|
|
7218
|
-
|
|
7195
|
+
const script = jodit.c.element('script', {
|
|
7196
|
+
type: 'text/javascript',
|
|
7197
|
+
async: true,
|
|
7198
|
+
src: (0,_complete_url__WEBPACK_IMPORTED_MODULE_0__/* .completeUrl */ .W)(url)
|
|
7199
|
+
});
|
|
7200
|
+
jodit.od.body.appendChild(script);
|
|
7201
|
+
jodit.e.on(script, 'error', reject).on(script, 'load', resolve);
|
|
7219
7202
|
});
|
|
7220
7203
|
});
|
|
7221
7204
|
/**
|
|
7222
7205
|
* Download CSS style script
|
|
7223
7206
|
*/
|
|
7224
7207
|
const appendStyleAsync = cacheLoaders((jodit, url) => {
|
|
7225
|
-
return
|
|
7208
|
+
return jodit.async.promise((resolve, reject) => {
|
|
7226
7209
|
if (jodit.isInDestruct) {
|
|
7227
|
-
return;
|
|
7210
|
+
return reject();
|
|
7228
7211
|
}
|
|
7229
7212
|
const link = jodit.c.element('link');
|
|
7230
7213
|
link.rel = 'stylesheet';
|
|
@@ -7233,7 +7216,7 @@ const appendStyleAsync = cacheLoaders((jodit, url) => {
|
|
|
7233
7216
|
const callback = () => resolve(link);
|
|
7234
7217
|
!jodit.isInDestruct &&
|
|
7235
7218
|
jodit.e.on(link, 'load', callback).on(link, 'error', reject);
|
|
7236
|
-
link.href = (0,
|
|
7219
|
+
link.href = (0,_complete_url__WEBPACK_IMPORTED_MODULE_0__/* .completeUrl */ .W)(url);
|
|
7237
7220
|
if (jodit.o.shadowRoot) {
|
|
7238
7221
|
jodit.o.shadowRoot.appendChild(link);
|
|
7239
7222
|
}
|
|
@@ -7242,14 +7225,14 @@ const appendStyleAsync = cacheLoaders((jodit, url) => {
|
|
|
7242
7225
|
}
|
|
7243
7226
|
});
|
|
7244
7227
|
});
|
|
7245
|
-
|
|
7246
|
-
if (!(0,
|
|
7228
|
+
function loadNext(jodit, urls, i = 0) {
|
|
7229
|
+
if (!(0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .H)(urls[i])) {
|
|
7247
7230
|
return Promise.resolve();
|
|
7248
7231
|
}
|
|
7249
7232
|
return appendScriptAsync(jodit, urls[i]).then(() => loadNext(jodit, urls, i + 1));
|
|
7250
|
-
}
|
|
7233
|
+
}
|
|
7251
7234
|
function loadNextStyle(jodit, urls, i = 0) {
|
|
7252
|
-
if (!(0,
|
|
7235
|
+
if (!(0,jodit_core_helpers_checker_is_string__WEBPACK_IMPORTED_MODULE_1__/* .isString */ .H)(urls[i])) {
|
|
7253
7236
|
return Promise.resolve();
|
|
7254
7237
|
}
|
|
7255
7238
|
return appendStyleAsync(jodit, urls[i]).then(() => loadNextStyle(jodit, urls, i + 1));
|
|
@@ -8173,7 +8156,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8173
8156
|
/* harmony export */ OptionsError: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_13__.tW; },
|
|
8174
8157
|
/* harmony export */ abort: function() { return /* reexport safe */ _error__WEBPACK_IMPORTED_MODULE_13__.JG; },
|
|
8175
8158
|
/* harmony export */ alignElement: function() { return /* reexport safe */ _align__WEBPACK_IMPORTED_MODULE_0__.E3; },
|
|
8176
|
-
/* harmony export */ appendScript: function() { return /* reexport safe */ _append_script__WEBPACK_IMPORTED_MODULE_2__.uR; },
|
|
8177
8159
|
/* harmony export */ appendScriptAsync: function() { return /* reexport safe */ _append_script__WEBPACK_IMPORTED_MODULE_2__.JL; },
|
|
8178
8160
|
/* harmony export */ appendStyleAsync: function() { return /* reexport safe */ _append_script__WEBPACK_IMPORTED_MODULE_2__.Nf; },
|
|
8179
8161
|
/* harmony export */ attr: function() { return /* reexport safe */ _attr__WEBPACK_IMPORTED_MODULE_1__.L; },
|
|
@@ -8227,7 +8209,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8227
8209
|
/* harmony import */ var _assert__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(52378);
|
|
8228
8210
|
/* harmony import */ var _assert__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_assert__WEBPACK_IMPORTED_MODULE_3__);
|
|
8229
8211
|
/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
|
|
8230
|
-
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _assert__WEBPACK_IMPORTED_MODULE_3__) if(["default","alignElement","clearAlign","hAlignElement","attr","
|
|
8212
|
+
/* 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__)
|
|
8231
8213
|
/* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
|
|
8232
8214
|
/* harmony import */ var _browser__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(67600);
|
|
8233
8215
|
/* harmony import */ var _build_query__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(36990);
|
|
@@ -9108,9 +9090,9 @@ function getFullUrl(jodit, name, js) {
|
|
|
9108
9090
|
/**
|
|
9109
9091
|
* @private
|
|
9110
9092
|
*/
|
|
9111
|
-
function loadExtras(items, jodit,
|
|
9093
|
+
function loadExtras(items, jodit, extraList, callback) {
|
|
9112
9094
|
try {
|
|
9113
|
-
const needLoadExtras =
|
|
9095
|
+
const needLoadExtras = extraList.filter(extra => !items.has((0,jodit_core_plugin_helpers_utils__WEBPACK_IMPORTED_MODULE_3__/* .normalizeName */ .B)(extra.name)));
|
|
9114
9096
|
if (needLoadExtras.length) {
|
|
9115
9097
|
load(jodit, needLoadExtras, callback);
|
|
9116
9098
|
}
|
|
@@ -9308,7 +9290,7 @@ class PluginSystem {
|
|
|
9308
9290
|
* Public method for async init all plugins
|
|
9309
9291
|
*/
|
|
9310
9292
|
__init(jodit) {
|
|
9311
|
-
const {
|
|
9293
|
+
const { extraList, disableList, filter } = getSpecialLists(jodit);
|
|
9312
9294
|
const doneList = new Map();
|
|
9313
9295
|
const pluginsMap = {};
|
|
9314
9296
|
const waitingList = new Set();
|
|
@@ -9347,8 +9329,8 @@ class PluginSystem {
|
|
|
9347
9329
|
initPlugins();
|
|
9348
9330
|
}
|
|
9349
9331
|
};
|
|
9350
|
-
if (
|
|
9351
|
-
(0,jodit_core_plugin_helpers_load__WEBPACK_IMPORTED_MODULE_3__/* .loadExtras */ .z)(this.__items, jodit,
|
|
9332
|
+
if (extraList && extraList.length) {
|
|
9333
|
+
(0,jodit_core_plugin_helpers_load__WEBPACK_IMPORTED_MODULE_3__/* .loadExtras */ .z)(this.__items, jodit, extraList, initPlugins);
|
|
9352
9334
|
}
|
|
9353
9335
|
initPlugins();
|
|
9354
9336
|
bindOnBeforeDestruct(jodit, pluginsMap);
|
|
@@ -9388,10 +9370,10 @@ function bindOnBeforeDestruct(jodit, plugins) {
|
|
|
9388
9370
|
});
|
|
9389
9371
|
}
|
|
9390
9372
|
function getSpecialLists(jodit) {
|
|
9391
|
-
const
|
|
9373
|
+
const extraList = jodit.o.extraPlugins.map(s => (0,jodit_core_helpers_checker__WEBPACK_IMPORTED_MODULE_0__/* .isString */ .HD)(s) ? { name: s } : s);
|
|
9392
9374
|
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));
|
|
9393
9375
|
const filter = jodit.o.safeMode ? new Set(jodit.o.safePluginsList) : null;
|
|
9394
|
-
return {
|
|
9376
|
+
return { extraList, disableList, filter };
|
|
9395
9377
|
}
|
|
9396
9378
|
|
|
9397
9379
|
|
|
@@ -9450,7 +9432,11 @@ class Plugin extends jodit_core_component__WEBPACK_IMPORTED_MODULE_0__/* .ViewCo
|
|
|
9450
9432
|
this.afterInit(this.jodit);
|
|
9451
9433
|
}
|
|
9452
9434
|
init(jodit) {
|
|
9453
|
-
|
|
9435
|
+
if (this.jodit.isReady) {
|
|
9436
|
+
this.afterInit(this.jodit);
|
|
9437
|
+
this.__afterPluginSystemInit();
|
|
9438
|
+
this.jodit.e.fire('rebuildToolbar');
|
|
9439
|
+
}
|
|
9454
9440
|
}
|
|
9455
9441
|
__beforeDestruct() {
|
|
9456
9442
|
var _a;
|
|
@@ -15306,6 +15292,7 @@ class Popup extends jodit_core_ui_group_group__WEBPACK_IMPORTED_MODULE_3__/* .UI
|
|
|
15306
15292
|
*/
|
|
15307
15293
|
open(getBound, keepPosition = false, parentContainer) {
|
|
15308
15294
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.markOwner)(this.jodit, this.container);
|
|
15295
|
+
this.container.classList.add(`jodit_theme_${this.jodit.o.theme}`);
|
|
15309
15296
|
this.__calculateZIndex();
|
|
15310
15297
|
this.isOpened = true;
|
|
15311
15298
|
this.__addGlobalListeners();
|
|
@@ -15786,6 +15773,9 @@ class ViewWithToolbar extends jodit_core_view_view__WEBPACK_IMPORTED_MODULE_0__/
|
|
|
15786
15773
|
super.destruct();
|
|
15787
15774
|
}
|
|
15788
15775
|
}
|
|
15776
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
15777
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.watch)(':rebuildToolbar')
|
|
15778
|
+
], ViewWithToolbar.prototype, "buildToolbar", null);
|
|
15789
15779
|
(0,tslib__WEBPACK_IMPORTED_MODULE_9__/* .__decorate */ .gn)([
|
|
15790
15780
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_7__.autobind
|
|
15791
15781
|
], ViewWithToolbar.prototype, "beforeToolbarBuild", null);
|
|
@@ -17378,28 +17368,29 @@ function addClassNames(className, elm) {
|
|
|
17378
17368
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
17379
17369
|
|
|
17380
17370
|
"use strict";
|
|
17381
|
-
/* harmony import */ var
|
|
17371
|
+
/* harmony import */ var jodit_core_helpers_checker_is_array__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(63738);
|
|
17382
17372
|
/* harmony import */ var jodit_langs_en__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(90544);
|
|
17383
17373
|
/* harmony import */ var jodit_langs_ar__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91928);
|
|
17384
17374
|
/* harmony import */ var jodit_langs_cs_cz__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(81958);
|
|
17385
17375
|
/* harmony import */ var jodit_langs_de__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(77143);
|
|
17386
17376
|
/* harmony import */ var jodit_langs_es__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(88347);
|
|
17387
|
-
/* harmony import */ var
|
|
17388
|
-
/* harmony import */ var
|
|
17389
|
-
/* harmony import */ var
|
|
17390
|
-
/* harmony import */ var
|
|
17391
|
-
/* harmony import */ var
|
|
17392
|
-
/* harmony import */ var
|
|
17393
|
-
/* harmony import */ var
|
|
17394
|
-
/* harmony import */ var
|
|
17395
|
-
/* harmony import */ var
|
|
17396
|
-
/* harmony import */ var
|
|
17397
|
-
/* harmony import */ var
|
|
17398
|
-
/* harmony import */ var
|
|
17399
|
-
/* harmony import */ var
|
|
17400
|
-
/* harmony import */ var
|
|
17401
|
-
/* harmony import */ var
|
|
17402
|
-
/* harmony import */ var
|
|
17377
|
+
/* harmony import */ var jodit_langs_fi__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(13148);
|
|
17378
|
+
/* harmony import */ var jodit_langs_fr__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(12414);
|
|
17379
|
+
/* harmony import */ var jodit_langs_he__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(65681);
|
|
17380
|
+
/* harmony import */ var jodit_langs_hu__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(23664);
|
|
17381
|
+
/* harmony import */ var jodit_langs_id__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(80009);
|
|
17382
|
+
/* harmony import */ var jodit_langs_it__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(94174);
|
|
17383
|
+
/* harmony import */ var jodit_langs_ja__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(39356);
|
|
17384
|
+
/* harmony import */ var jodit_langs_ko__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(52347);
|
|
17385
|
+
/* harmony import */ var jodit_langs_mn__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(8172);
|
|
17386
|
+
/* harmony import */ var jodit_langs_nl__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(66604);
|
|
17387
|
+
/* harmony import */ var jodit_langs_pl__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(79940);
|
|
17388
|
+
/* harmony import */ var jodit_langs_pt_br__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(6412);
|
|
17389
|
+
/* harmony import */ var jodit_langs_ru__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(54439);
|
|
17390
|
+
/* harmony import */ var jodit_langs_tr__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(51344);
|
|
17391
|
+
/* harmony import */ var jodit_langs_zh_cn__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(2308);
|
|
17392
|
+
/* harmony import */ var jodit_langs_zh_tw__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(51597);
|
|
17393
|
+
/* harmony import */ var jodit_langs_keys__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(75125);
|
|
17403
17394
|
/*!
|
|
17404
17395
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
17405
17396
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -17425,6 +17416,7 @@ function addClassNames(className, elm) {
|
|
|
17425
17416
|
|
|
17426
17417
|
|
|
17427
17418
|
|
|
17419
|
+
|
|
17428
17420
|
|
|
17429
17421
|
|
|
17430
17422
|
let exp = {};
|
|
@@ -17434,32 +17426,33 @@ exp = {
|
|
|
17434
17426
|
de: jodit_langs_de__WEBPACK_IMPORTED_MODULE_3__,
|
|
17435
17427
|
en: jodit_langs_en__WEBPACK_IMPORTED_MODULE_0__,
|
|
17436
17428
|
es: jodit_langs_es__WEBPACK_IMPORTED_MODULE_4__,
|
|
17437
|
-
|
|
17438
|
-
|
|
17439
|
-
|
|
17440
|
-
|
|
17441
|
-
|
|
17442
|
-
|
|
17443
|
-
|
|
17444
|
-
|
|
17445
|
-
|
|
17446
|
-
|
|
17447
|
-
|
|
17448
|
-
|
|
17449
|
-
|
|
17450
|
-
|
|
17451
|
-
|
|
17429
|
+
fi: jodit_langs_fi__WEBPACK_IMPORTED_MODULE_5__,
|
|
17430
|
+
fr: jodit_langs_fr__WEBPACK_IMPORTED_MODULE_6__,
|
|
17431
|
+
he: jodit_langs_he__WEBPACK_IMPORTED_MODULE_7__,
|
|
17432
|
+
hu: jodit_langs_hu__WEBPACK_IMPORTED_MODULE_8__,
|
|
17433
|
+
id: jodit_langs_id__WEBPACK_IMPORTED_MODULE_9__,
|
|
17434
|
+
it: jodit_langs_it__WEBPACK_IMPORTED_MODULE_10__,
|
|
17435
|
+
ja: jodit_langs_ja__WEBPACK_IMPORTED_MODULE_11__,
|
|
17436
|
+
ko: jodit_langs_ko__WEBPACK_IMPORTED_MODULE_12__,
|
|
17437
|
+
mn: jodit_langs_mn__WEBPACK_IMPORTED_MODULE_13__,
|
|
17438
|
+
nl: jodit_langs_nl__WEBPACK_IMPORTED_MODULE_14__,
|
|
17439
|
+
pl: jodit_langs_pl__WEBPACK_IMPORTED_MODULE_15__,
|
|
17440
|
+
pt_br: jodit_langs_pt_br__WEBPACK_IMPORTED_MODULE_16__,
|
|
17441
|
+
ru: jodit_langs_ru__WEBPACK_IMPORTED_MODULE_17__,
|
|
17442
|
+
tr: jodit_langs_tr__WEBPACK_IMPORTED_MODULE_18__,
|
|
17443
|
+
zh_cn: jodit_langs_zh_cn__WEBPACK_IMPORTED_MODULE_19__,
|
|
17444
|
+
zh_tw: jodit_langs_zh_tw__WEBPACK_IMPORTED_MODULE_20__
|
|
17452
17445
|
};
|
|
17453
17446
|
/* Unpack array to hash */
|
|
17454
17447
|
const get = (value) => value ? value.default || value : {}, hashLang = {};
|
|
17455
|
-
if ((0,
|
|
17456
|
-
get(
|
|
17448
|
+
if ((0,jodit_core_helpers_checker_is_array__WEBPACK_IMPORTED_MODULE_22__/* .isArray */ .k)(get(jodit_langs_keys__WEBPACK_IMPORTED_MODULE_21__))) {
|
|
17449
|
+
get(jodit_langs_keys__WEBPACK_IMPORTED_MODULE_21__).forEach((key, index) => {
|
|
17457
17450
|
hashLang[index] = key;
|
|
17458
17451
|
});
|
|
17459
17452
|
}
|
|
17460
17453
|
Object.keys(exp).forEach((lang) => {
|
|
17461
17454
|
const list = get(exp[lang]);
|
|
17462
|
-
if ((0,
|
|
17455
|
+
if ((0,jodit_core_helpers_checker_is_array__WEBPACK_IMPORTED_MODULE_22__/* .isArray */ .k)(list)) {
|
|
17463
17456
|
exp[lang] = {};
|
|
17464
17457
|
list.forEach((value, index) => {
|
|
17465
17458
|
exp[lang][hashLang[index]] = value;
|
|
@@ -24931,36 +24924,38 @@ const ns = 'addnewline';
|
|
|
24931
24924
|
class addNewLine extends jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Plugin {
|
|
24932
24925
|
constructor() {
|
|
24933
24926
|
super(...arguments);
|
|
24934
|
-
this.
|
|
24935
|
-
this.
|
|
24927
|
+
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>`);
|
|
24928
|
+
this.__isMatchedTag = (node) => Boolean(node &&
|
|
24936
24929
|
this.j.o.addNewLineTagsTriggers.includes(node.nodeName.toLowerCase()));
|
|
24937
|
-
this.
|
|
24938
|
-
this.
|
|
24939
|
-
this.
|
|
24940
|
-
this.
|
|
24941
|
-
if (!this.
|
|
24930
|
+
this.__isBeforeContent = false;
|
|
24931
|
+
this.__lineInFocus = false;
|
|
24932
|
+
this.__isShown = false;
|
|
24933
|
+
this.__hideForce = () => {
|
|
24934
|
+
if (!this.__isShown) {
|
|
24942
24935
|
return;
|
|
24943
24936
|
}
|
|
24944
|
-
this.
|
|
24945
|
-
this.j.async.clearTimeout(this.
|
|
24946
|
-
this.
|
|
24947
|
-
jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Dom.safeRemove(this.
|
|
24948
|
-
this.
|
|
24937
|
+
this.__isShown = false;
|
|
24938
|
+
this.j.async.clearTimeout(this.__timeout);
|
|
24939
|
+
this.__lineInFocus = false;
|
|
24940
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Dom.safeRemove(this.__line);
|
|
24941
|
+
this.__line.style.setProperty('--jd-anl-handle-offset', '0');
|
|
24949
24942
|
};
|
|
24950
|
-
this.
|
|
24943
|
+
this.__canGetFocus = (elm) => {
|
|
24951
24944
|
return (elm != null &&
|
|
24952
24945
|
jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Dom.isBlock(elm) &&
|
|
24953
24946
|
!/^(img|table|iframe|hr)$/i.test(elm.nodeName));
|
|
24954
24947
|
};
|
|
24955
|
-
this.
|
|
24948
|
+
this.__onClickLine = (e) => {
|
|
24956
24949
|
const editor = this.j;
|
|
24957
24950
|
const p = editor.createInside.element(editor.o.enter);
|
|
24958
|
-
if (this.
|
|
24959
|
-
|
|
24951
|
+
if (this.__isBeforeContent &&
|
|
24952
|
+
this.__current &&
|
|
24953
|
+
this.__current.parentNode) {
|
|
24954
|
+
if (this.__current === editor.editor) {
|
|
24960
24955
|
jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Dom.prepend(editor.editor, p);
|
|
24961
24956
|
}
|
|
24962
24957
|
else {
|
|
24963
|
-
this.
|
|
24958
|
+
this.__current.parentNode.insertBefore(p, this.__current);
|
|
24964
24959
|
}
|
|
24965
24960
|
}
|
|
24966
24961
|
else {
|
|
@@ -24969,30 +24964,32 @@ class addNewLine extends jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Plugin {
|
|
|
24969
24964
|
editor.s.setCursorIn(p);
|
|
24970
24965
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_1__.scrollIntoViewIfNeeded)(p, editor.editor, editor.ed);
|
|
24971
24966
|
editor.synchronizeValues();
|
|
24972
|
-
this.
|
|
24967
|
+
this.__hideForce();
|
|
24973
24968
|
e.preventDefault();
|
|
24974
24969
|
};
|
|
24975
24970
|
}
|
|
24976
|
-
|
|
24977
|
-
if (this.
|
|
24971
|
+
__show() {
|
|
24972
|
+
if (this.j.o.readonly || this.j.isLocked) {
|
|
24978
24973
|
return;
|
|
24979
24974
|
}
|
|
24980
|
-
this.
|
|
24981
|
-
|
|
24982
|
-
|
|
24983
|
-
|
|
24984
|
-
this.
|
|
24975
|
+
this.j.async.clearTimeout(this.__timeout);
|
|
24976
|
+
if (this.__isShown) {
|
|
24977
|
+
return;
|
|
24978
|
+
}
|
|
24979
|
+
this.__isShown = true;
|
|
24980
|
+
this.j.container.appendChild(this.__line);
|
|
24981
|
+
this.__line.style.width = this.j.container.clientWidth + 'px';
|
|
24985
24982
|
}
|
|
24986
24983
|
onLock(isLocked) {
|
|
24987
|
-
if (isLocked && this.
|
|
24988
|
-
this.
|
|
24984
|
+
if (isLocked && this.__isShown) {
|
|
24985
|
+
this.__hideForce();
|
|
24989
24986
|
}
|
|
24990
24987
|
}
|
|
24991
|
-
|
|
24992
|
-
if (!this.
|
|
24988
|
+
__hide() {
|
|
24989
|
+
if (!this.__isShown || this.__lineInFocus) {
|
|
24993
24990
|
return;
|
|
24994
24991
|
}
|
|
24995
|
-
this.
|
|
24992
|
+
this.__timeout = this.j.async.setTimeout(this.__hideForce, {
|
|
24996
24993
|
timeout: 500,
|
|
24997
24994
|
label: 'add-new-line-hide'
|
|
24998
24995
|
});
|
|
@@ -25002,30 +24999,30 @@ class addNewLine extends jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Plugin {
|
|
|
25002
24999
|
return;
|
|
25003
25000
|
}
|
|
25004
25001
|
editor.e
|
|
25005
|
-
.on(this.
|
|
25002
|
+
.on(this.__line, 'mousemove', (e) => {
|
|
25006
25003
|
e.stopPropagation();
|
|
25007
25004
|
})
|
|
25008
|
-
.on(this.
|
|
25009
|
-
.on('change', this.
|
|
25010
|
-
.on(this.
|
|
25011
|
-
this.j.async.clearTimeout(this.
|
|
25012
|
-
this.
|
|
25005
|
+
.on(this.__line, 'mousedown touchstart', this.__onClickLine)
|
|
25006
|
+
.on('change', this.__hideForce)
|
|
25007
|
+
.on(this.__line, 'mouseenter', () => {
|
|
25008
|
+
this.j.async.clearTimeout(this.__timeout);
|
|
25009
|
+
this.__lineInFocus = true;
|
|
25013
25010
|
})
|
|
25014
|
-
.on(this.
|
|
25015
|
-
this.
|
|
25011
|
+
.on(this.__line, 'mouseleave', () => {
|
|
25012
|
+
this.__lineInFocus = false;
|
|
25016
25013
|
})
|
|
25017
|
-
.on('changePlace', this.
|
|
25018
|
-
this.
|
|
25014
|
+
.on('changePlace', this.__addEventListeners.bind(this));
|
|
25015
|
+
this.__addEventListeners();
|
|
25019
25016
|
}
|
|
25020
|
-
|
|
25017
|
+
__addEventListeners() {
|
|
25021
25018
|
const editor = this.j;
|
|
25022
25019
|
editor.e
|
|
25023
25020
|
.off(editor.editor, '.' + ns)
|
|
25024
25021
|
.off(editor.container, '.' + ns)
|
|
25025
|
-
.on([editor.ow, editor.ew, editor.editor], 'scroll' + '.' + ns, this.
|
|
25026
|
-
.on(editor.editor, 'click' + '.' + ns, this.
|
|
25027
|
-
.on(editor.container, 'mouseleave' + '.' + ns, this.
|
|
25028
|
-
.on(editor.editor, 'mousemove' + '.' + ns, this.
|
|
25022
|
+
.on([editor.ow, editor.ew, editor.editor], 'scroll' + '.' + ns, this.__hideForce)
|
|
25023
|
+
.on(editor.editor, 'click' + '.' + ns, this.__hide)
|
|
25024
|
+
.on(editor.container, 'mouseleave' + '.' + ns, this.__hide)
|
|
25025
|
+
.on(editor.editor, 'mousemove' + '.' + ns, this.__onMouseMove);
|
|
25029
25026
|
}
|
|
25030
25027
|
onDblClickEditor(e) {
|
|
25031
25028
|
const editor = this.j;
|
|
@@ -25046,29 +25043,26 @@ class addNewLine extends jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Plugin {
|
|
|
25046
25043
|
}
|
|
25047
25044
|
editor.s.setCursorIn(p);
|
|
25048
25045
|
editor.synchronizeValues();
|
|
25049
|
-
this.
|
|
25046
|
+
this.__hideForce();
|
|
25050
25047
|
e.preventDefault();
|
|
25051
25048
|
}
|
|
25052
25049
|
}
|
|
25053
|
-
|
|
25050
|
+
__onMouseMove(e) {
|
|
25054
25051
|
const editor = this.j;
|
|
25055
25052
|
let currentElement = editor.ed.elementFromPoint(e.clientX, e.clientY);
|
|
25056
25053
|
if (!jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Dom.isHTMLElement(currentElement) ||
|
|
25057
|
-
jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Dom.isOrContains(
|
|
25058
|
-
return;
|
|
25059
|
-
}
|
|
25060
|
-
if (!jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Dom.isOrContains(editor.editor, currentElement)) {
|
|
25054
|
+
!jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Dom.isOrContains(editor.editor, currentElement)) {
|
|
25061
25055
|
return;
|
|
25062
25056
|
}
|
|
25063
25057
|
if (editor.editor !== currentElement &&
|
|
25064
|
-
!this.
|
|
25065
|
-
currentElement = jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Dom.closest(currentElement, this.
|
|
25058
|
+
!this.__isMatchedTag(currentElement)) {
|
|
25059
|
+
currentElement = jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Dom.closest(currentElement, this.__isMatchedTag, editor.editor);
|
|
25066
25060
|
}
|
|
25067
25061
|
if (!currentElement) {
|
|
25068
|
-
this.
|
|
25062
|
+
this.__hide();
|
|
25069
25063
|
return;
|
|
25070
25064
|
}
|
|
25071
|
-
if (this.
|
|
25065
|
+
if (this.__isMatchedTag(currentElement)) {
|
|
25072
25066
|
const parentBox = jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Dom.up(currentElement, jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Dom.isBlock, editor.editor);
|
|
25073
25067
|
if (parentBox && parentBox !== editor.editor) {
|
|
25074
25068
|
currentElement = parentBox;
|
|
@@ -25085,30 +25079,32 @@ class addNewLine extends jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Plugin {
|
|
|
25085
25079
|
const delta = this.j.o.addNewLineDeltaShow;
|
|
25086
25080
|
if (Math.abs(clientY - pos.top) <= delta) {
|
|
25087
25081
|
top = pos.top;
|
|
25088
|
-
this.
|
|
25082
|
+
this.__isBeforeContent = true;
|
|
25089
25083
|
}
|
|
25090
|
-
if (Math.abs(clientY - (pos.top + pos.height)) <= delta) {
|
|
25084
|
+
else if (Math.abs(clientY - (pos.top + pos.height)) <= delta) {
|
|
25091
25085
|
top = pos.top + pos.height;
|
|
25092
|
-
this.
|
|
25086
|
+
this.__isBeforeContent = false;
|
|
25093
25087
|
}
|
|
25088
|
+
const isEditor = editor.editor === currentElement;
|
|
25094
25089
|
if (top !== false &&
|
|
25095
|
-
((
|
|
25096
|
-
!
|
|
25097
|
-
|
|
25098
|
-
this.
|
|
25099
|
-
this.
|
|
25100
|
-
this.
|
|
25090
|
+
((isEditor && !this.__isBeforeContent) ||
|
|
25091
|
+
(!isEditor &&
|
|
25092
|
+
!(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)))) {
|
|
25093
|
+
this.__line.style.top = top + 'px';
|
|
25094
|
+
this.__current = currentElement;
|
|
25095
|
+
this.__show();
|
|
25096
|
+
this.__line.style.setProperty('--jd-anl-handle-offset', clientX - pos.left - 10 + 'px');
|
|
25101
25097
|
}
|
|
25102
25098
|
else {
|
|
25103
|
-
this.
|
|
25104
|
-
this.
|
|
25099
|
+
this.__current = false;
|
|
25100
|
+
this.__hide();
|
|
25105
25101
|
}
|
|
25106
25102
|
}
|
|
25107
25103
|
/** @override */
|
|
25108
25104
|
beforeDestruct() {
|
|
25109
|
-
this.j.async.clearTimeout(this.
|
|
25110
|
-
this.j.e.off(this.
|
|
25111
|
-
jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Dom.safeRemove(this.
|
|
25105
|
+
this.j.async.clearTimeout(this.__timeout);
|
|
25106
|
+
this.j.e.off(this.__line).off('changePlace', this.__addEventListeners);
|
|
25107
|
+
jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Dom.safeRemove(this.__line);
|
|
25112
25108
|
this.j.e
|
|
25113
25109
|
.off([this.j.ow, this.j.ew, this.j.editor], '.' + ns)
|
|
25114
25110
|
.off(this.j.container, '.' + ns);
|
|
@@ -25119,13 +25115,13 @@ class addNewLine extends jodit_modules__WEBPACK_IMPORTED_MODULE_0__.Plugin {
|
|
|
25119
25115
|
], addNewLine.prototype, "onLock", null);
|
|
25120
25116
|
(0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .gn)([
|
|
25121
25117
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.autobind
|
|
25122
|
-
], addNewLine.prototype, "
|
|
25118
|
+
], addNewLine.prototype, "__hide", null);
|
|
25123
25119
|
(0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .gn)([
|
|
25124
25120
|
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.watch)(':dblclick')
|
|
25125
25121
|
], addNewLine.prototype, "onDblClickEditor", null);
|
|
25126
25122
|
(0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .gn)([
|
|
25127
|
-
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.
|
|
25128
|
-
], addNewLine.prototype, "
|
|
25123
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_2__.throttle)(ctx => ctx.defaultTimeout)
|
|
25124
|
+
], addNewLine.prototype, "__onMouseMove", null);
|
|
25129
25125
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .pw.add('addNewLine', addNewLine);
|
|
25130
25126
|
|
|
25131
25127
|
|
|
@@ -27623,6 +27619,23 @@ module.exports = {
|
|
|
27623
27619
|
};
|
|
27624
27620
|
|
|
27625
27621
|
|
|
27622
|
+
/***/ }),
|
|
27623
|
+
|
|
27624
|
+
/***/ 29709:
|
|
27625
|
+
/***/ (function(module) {
|
|
27626
|
+
|
|
27627
|
+
"use strict";
|
|
27628
|
+
|
|
27629
|
+
/*!
|
|
27630
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27631
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
27632
|
+
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
27633
|
+
*/
|
|
27634
|
+
module.exports = {
|
|
27635
|
+
'copy-format': 'Kopioi muotoilu'
|
|
27636
|
+
};
|
|
27637
|
+
|
|
27638
|
+
|
|
27626
27639
|
/***/ }),
|
|
27627
27640
|
|
|
27628
27641
|
/***/ 67888:
|
|
@@ -27704,21 +27717,22 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27704
27717
|
/* harmony export */ de: function() { return /* reexport default from dynamic */ _de_js__WEBPACK_IMPORTED_MODULE_2___default.a; },
|
|
27705
27718
|
/* harmony export */ es: function() { return /* reexport default from dynamic */ _es_js__WEBPACK_IMPORTED_MODULE_3___default.a; },
|
|
27706
27719
|
/* harmony export */ fa: function() { return /* reexport default from dynamic */ _fa_js__WEBPACK_IMPORTED_MODULE_4___default.a; },
|
|
27707
|
-
/* harmony export */
|
|
27708
|
-
/* harmony export */
|
|
27709
|
-
/* harmony export */
|
|
27710
|
-
/* harmony export */
|
|
27711
|
-
/* harmony export */
|
|
27712
|
-
/* harmony export */
|
|
27713
|
-
/* harmony export */
|
|
27714
|
-
/* harmony export */
|
|
27715
|
-
/* harmony export */
|
|
27716
|
-
/* harmony export */
|
|
27717
|
-
/* harmony export */
|
|
27718
|
-
/* harmony export */
|
|
27719
|
-
/* harmony export */
|
|
27720
|
-
/* harmony export */
|
|
27721
|
-
/* harmony export */
|
|
27720
|
+
/* harmony export */ fi: function() { return /* reexport default from dynamic */ _fi_js__WEBPACK_IMPORTED_MODULE_5___default.a; },
|
|
27721
|
+
/* harmony export */ fr: function() { return /* reexport default from dynamic */ _fr_js__WEBPACK_IMPORTED_MODULE_6___default.a; },
|
|
27722
|
+
/* harmony export */ he: function() { return /* reexport default from dynamic */ _he_js__WEBPACK_IMPORTED_MODULE_7___default.a; },
|
|
27723
|
+
/* harmony export */ hu: function() { return /* reexport default from dynamic */ _hu_js__WEBPACK_IMPORTED_MODULE_8___default.a; },
|
|
27724
|
+
/* harmony export */ id: function() { return /* reexport default from dynamic */ _id_js__WEBPACK_IMPORTED_MODULE_9___default.a; },
|
|
27725
|
+
/* harmony export */ it: function() { return /* reexport default from dynamic */ _it_js__WEBPACK_IMPORTED_MODULE_10___default.a; },
|
|
27726
|
+
/* harmony export */ ja: function() { return /* reexport default from dynamic */ _ja_js__WEBPACK_IMPORTED_MODULE_11___default.a; },
|
|
27727
|
+
/* harmony export */ ko: function() { return /* reexport default from dynamic */ _ko_js__WEBPACK_IMPORTED_MODULE_12___default.a; },
|
|
27728
|
+
/* harmony export */ mn: function() { return /* reexport default from dynamic */ _mn_js__WEBPACK_IMPORTED_MODULE_13___default.a; },
|
|
27729
|
+
/* harmony export */ nl: function() { return /* reexport default from dynamic */ _nl_js__WEBPACK_IMPORTED_MODULE_14___default.a; },
|
|
27730
|
+
/* harmony export */ pl: function() { return /* reexport default from dynamic */ _pl_js__WEBPACK_IMPORTED_MODULE_15___default.a; },
|
|
27731
|
+
/* harmony export */ pt_br: function() { return /* reexport default from dynamic */ _pt_br_js__WEBPACK_IMPORTED_MODULE_16___default.a; },
|
|
27732
|
+
/* harmony export */ ru: function() { return /* reexport default from dynamic */ _ru_js__WEBPACK_IMPORTED_MODULE_17___default.a; },
|
|
27733
|
+
/* harmony export */ tr: function() { return /* reexport default from dynamic */ _tr_js__WEBPACK_IMPORTED_MODULE_18___default.a; },
|
|
27734
|
+
/* harmony export */ zh_cn: function() { return /* reexport default from dynamic */ _zh_cn_js__WEBPACK_IMPORTED_MODULE_19___default.a; },
|
|
27735
|
+
/* harmony export */ zh_tw: function() { return /* reexport default from dynamic */ _zh_tw_js__WEBPACK_IMPORTED_MODULE_20___default.a; }
|
|
27722
27736
|
/* harmony export */ });
|
|
27723
27737
|
/* harmony import */ var _ar_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(35395);
|
|
27724
27738
|
/* harmony import */ var _ar_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_ar_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -27730,36 +27744,38 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27730
27744
|
/* harmony import */ var _es_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_es_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
27731
27745
|
/* harmony import */ var _fa_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(26160);
|
|
27732
27746
|
/* harmony import */ var _fa_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_fa_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
27733
|
-
/* harmony import */ var
|
|
27734
|
-
/* harmony import */ var
|
|
27735
|
-
/* harmony import */ var
|
|
27736
|
-
/* harmony import */ var
|
|
27737
|
-
/* harmony import */ var
|
|
27738
|
-
/* harmony import */ var
|
|
27739
|
-
/* harmony import */ var
|
|
27740
|
-
/* harmony import */ var
|
|
27741
|
-
/* harmony import */ var
|
|
27742
|
-
/* harmony import */ var
|
|
27743
|
-
/* harmony import */ var
|
|
27744
|
-
/* harmony import */ var
|
|
27745
|
-
/* harmony import */ var
|
|
27746
|
-
/* harmony import */ var
|
|
27747
|
-
/* harmony import */ var
|
|
27748
|
-
/* harmony import */ var
|
|
27749
|
-
/* harmony import */ var
|
|
27750
|
-
/* harmony import */ var
|
|
27751
|
-
/* harmony import */ var
|
|
27752
|
-
/* harmony import */ var
|
|
27753
|
-
/* harmony import */ var
|
|
27754
|
-
/* harmony import */ var
|
|
27755
|
-
/* harmony import */ var
|
|
27756
|
-
/* harmony import */ var
|
|
27757
|
-
/* harmony import */ var
|
|
27758
|
-
/* harmony import */ var
|
|
27759
|
-
/* harmony import */ var
|
|
27760
|
-
/* harmony import */ var
|
|
27761
|
-
/* harmony import */ var
|
|
27762
|
-
/* harmony import */ var
|
|
27747
|
+
/* harmony import */ var _fi_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(29709);
|
|
27748
|
+
/* harmony import */ var _fi_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_fi_js__WEBPACK_IMPORTED_MODULE_5__);
|
|
27749
|
+
/* harmony import */ var _fr_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(67888);
|
|
27750
|
+
/* harmony import */ var _fr_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_fr_js__WEBPACK_IMPORTED_MODULE_6__);
|
|
27751
|
+
/* harmony import */ var _he_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(15437);
|
|
27752
|
+
/* harmony import */ var _he_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_he_js__WEBPACK_IMPORTED_MODULE_7__);
|
|
27753
|
+
/* harmony import */ var _hu_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(71316);
|
|
27754
|
+
/* harmony import */ var _hu_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_hu_js__WEBPACK_IMPORTED_MODULE_8__);
|
|
27755
|
+
/* harmony import */ var _id_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(49137);
|
|
27756
|
+
/* harmony import */ var _id_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_id_js__WEBPACK_IMPORTED_MODULE_9__);
|
|
27757
|
+
/* harmony import */ var _it_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(87229);
|
|
27758
|
+
/* harmony import */ var _it_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_it_js__WEBPACK_IMPORTED_MODULE_10__);
|
|
27759
|
+
/* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(74235);
|
|
27760
|
+
/* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_ja_js__WEBPACK_IMPORTED_MODULE_11__);
|
|
27761
|
+
/* harmony import */ var _ko_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(98440);
|
|
27762
|
+
/* harmony import */ var _ko_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_ko_js__WEBPACK_IMPORTED_MODULE_12__);
|
|
27763
|
+
/* harmony import */ var _mn_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(5468);
|
|
27764
|
+
/* harmony import */ var _mn_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_mn_js__WEBPACK_IMPORTED_MODULE_13__);
|
|
27765
|
+
/* harmony import */ var _nl_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(21276);
|
|
27766
|
+
/* harmony import */ var _nl_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_nl_js__WEBPACK_IMPORTED_MODULE_14__);
|
|
27767
|
+
/* harmony import */ var _pl_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(76216);
|
|
27768
|
+
/* harmony import */ var _pl_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_pl_js__WEBPACK_IMPORTED_MODULE_15__);
|
|
27769
|
+
/* harmony import */ var _pt_br_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(30088);
|
|
27770
|
+
/* harmony import */ var _pt_br_js__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_pt_br_js__WEBPACK_IMPORTED_MODULE_16__);
|
|
27771
|
+
/* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(66950);
|
|
27772
|
+
/* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(_ru_js__WEBPACK_IMPORTED_MODULE_17__);
|
|
27773
|
+
/* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(21263);
|
|
27774
|
+
/* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(_tr_js__WEBPACK_IMPORTED_MODULE_18__);
|
|
27775
|
+
/* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(79511);
|
|
27776
|
+
/* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(_zh_cn_js__WEBPACK_IMPORTED_MODULE_19__);
|
|
27777
|
+
/* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(12027);
|
|
27778
|
+
/* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(_zh_tw_js__WEBPACK_IMPORTED_MODULE_20__);
|
|
27763
27779
|
/*!
|
|
27764
27780
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
27765
27781
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -27786,6 +27802,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27786
27802
|
|
|
27787
27803
|
|
|
27788
27804
|
|
|
27805
|
+
|
|
27789
27806
|
|
|
27790
27807
|
|
|
27791
27808
|
/***/ }),
|
|
@@ -32844,6 +32861,23 @@ module.exports = {
|
|
|
32844
32861
|
};
|
|
32845
32862
|
|
|
32846
32863
|
|
|
32864
|
+
/***/ }),
|
|
32865
|
+
|
|
32866
|
+
/***/ 6833:
|
|
32867
|
+
/***/ (function(module) {
|
|
32868
|
+
|
|
32869
|
+
"use strict";
|
|
32870
|
+
|
|
32871
|
+
/*!
|
|
32872
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
32873
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
32874
|
+
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
32875
|
+
*/
|
|
32876
|
+
module.exports = {
|
|
32877
|
+
'Line height': 'Rivin korkeus'
|
|
32878
|
+
};
|
|
32879
|
+
|
|
32880
|
+
|
|
32847
32881
|
/***/ }),
|
|
32848
32882
|
|
|
32849
32883
|
/***/ 75916:
|
|
@@ -32925,21 +32959,22 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
32925
32959
|
/* harmony export */ de: function() { return /* reexport module object */ _de_js__WEBPACK_IMPORTED_MODULE_2__; },
|
|
32926
32960
|
/* harmony export */ es: function() { return /* reexport module object */ _es_js__WEBPACK_IMPORTED_MODULE_3__; },
|
|
32927
32961
|
/* harmony export */ fa: function() { return /* reexport module object */ _fa_js__WEBPACK_IMPORTED_MODULE_4__; },
|
|
32928
|
-
/* harmony export */
|
|
32929
|
-
/* harmony export */
|
|
32930
|
-
/* harmony export */
|
|
32931
|
-
/* harmony export */
|
|
32932
|
-
/* harmony export */
|
|
32933
|
-
/* harmony export */
|
|
32934
|
-
/* harmony export */
|
|
32935
|
-
/* harmony export */
|
|
32936
|
-
/* harmony export */
|
|
32937
|
-
/* harmony export */
|
|
32938
|
-
/* harmony export */
|
|
32939
|
-
/* harmony export */
|
|
32940
|
-
/* harmony export */
|
|
32941
|
-
/* harmony export */
|
|
32942
|
-
/* harmony export */
|
|
32962
|
+
/* harmony export */ fi: function() { return /* reexport module object */ _fi_js__WEBPACK_IMPORTED_MODULE_5__; },
|
|
32963
|
+
/* harmony export */ fr: function() { return /* reexport module object */ _fr_js__WEBPACK_IMPORTED_MODULE_6__; },
|
|
32964
|
+
/* harmony export */ he: function() { return /* reexport module object */ _he_js__WEBPACK_IMPORTED_MODULE_7__; },
|
|
32965
|
+
/* harmony export */ hu: function() { return /* reexport module object */ _hu_js__WEBPACK_IMPORTED_MODULE_8__; },
|
|
32966
|
+
/* harmony export */ id: function() { return /* reexport module object */ _id_js__WEBPACK_IMPORTED_MODULE_9__; },
|
|
32967
|
+
/* harmony export */ it: function() { return /* reexport module object */ _it_js__WEBPACK_IMPORTED_MODULE_10__; },
|
|
32968
|
+
/* harmony export */ ja: function() { return /* reexport module object */ _ja_js__WEBPACK_IMPORTED_MODULE_11__; },
|
|
32969
|
+
/* harmony export */ ko: function() { return /* reexport module object */ _ko_js__WEBPACK_IMPORTED_MODULE_12__; },
|
|
32970
|
+
/* harmony export */ mn: function() { return /* reexport module object */ _mn_js__WEBPACK_IMPORTED_MODULE_13__; },
|
|
32971
|
+
/* harmony export */ nl: function() { return /* reexport module object */ _nl_js__WEBPACK_IMPORTED_MODULE_14__; },
|
|
32972
|
+
/* harmony export */ pl: function() { return /* reexport module object */ _pl_js__WEBPACK_IMPORTED_MODULE_15__; },
|
|
32973
|
+
/* harmony export */ pt_br: function() { return /* reexport module object */ _pt_br_js__WEBPACK_IMPORTED_MODULE_16__; },
|
|
32974
|
+
/* harmony export */ ru: function() { return /* reexport module object */ _ru_js__WEBPACK_IMPORTED_MODULE_17__; },
|
|
32975
|
+
/* harmony export */ tr: function() { return /* reexport module object */ _tr_js__WEBPACK_IMPORTED_MODULE_18__; },
|
|
32976
|
+
/* harmony export */ zh_cn: function() { return /* reexport module object */ _zh_cn_js__WEBPACK_IMPORTED_MODULE_19__; },
|
|
32977
|
+
/* harmony export */ zh_tw: function() { return /* reexport module object */ _zh_tw_js__WEBPACK_IMPORTED_MODULE_20__; }
|
|
32943
32978
|
/* harmony export */ });
|
|
32944
32979
|
/* harmony import */ var _ar_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(24511);
|
|
32945
32980
|
/* harmony import */ var _ar_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_ar_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -32951,36 +32986,38 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
32951
32986
|
/* harmony import */ var _es_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_es_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
32952
32987
|
/* harmony import */ var _fa_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(44170);
|
|
32953
32988
|
/* harmony import */ var _fa_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_fa_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
32954
|
-
/* harmony import */ var
|
|
32955
|
-
/* harmony import */ var
|
|
32956
|
-
/* harmony import */ var
|
|
32957
|
-
/* harmony import */ var
|
|
32958
|
-
/* harmony import */ var
|
|
32959
|
-
/* harmony import */ var
|
|
32960
|
-
/* harmony import */ var
|
|
32961
|
-
/* harmony import */ var
|
|
32962
|
-
/* harmony import */ var
|
|
32963
|
-
/* harmony import */ var
|
|
32964
|
-
/* harmony import */ var
|
|
32965
|
-
/* harmony import */ var
|
|
32966
|
-
/* harmony import */ var
|
|
32967
|
-
/* harmony import */ var
|
|
32968
|
-
/* harmony import */ var
|
|
32969
|
-
/* harmony import */ var
|
|
32970
|
-
/* harmony import */ var
|
|
32971
|
-
/* harmony import */ var
|
|
32972
|
-
/* harmony import */ var
|
|
32973
|
-
/* harmony import */ var
|
|
32974
|
-
/* harmony import */ var
|
|
32975
|
-
/* harmony import */ var
|
|
32976
|
-
/* harmony import */ var
|
|
32977
|
-
/* harmony import */ var
|
|
32978
|
-
/* harmony import */ var
|
|
32979
|
-
/* harmony import */ var
|
|
32980
|
-
/* harmony import */ var
|
|
32981
|
-
/* harmony import */ var
|
|
32982
|
-
/* harmony import */ var
|
|
32983
|
-
/* harmony import */ var
|
|
32989
|
+
/* harmony import */ var _fi_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(6833);
|
|
32990
|
+
/* harmony import */ var _fi_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_fi_js__WEBPACK_IMPORTED_MODULE_5__);
|
|
32991
|
+
/* harmony import */ var _fr_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(75916);
|
|
32992
|
+
/* harmony import */ var _fr_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_fr_js__WEBPACK_IMPORTED_MODULE_6__);
|
|
32993
|
+
/* harmony import */ var _he_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(43353);
|
|
32994
|
+
/* harmony import */ var _he_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_he_js__WEBPACK_IMPORTED_MODULE_7__);
|
|
32995
|
+
/* harmony import */ var _hu_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(36668);
|
|
32996
|
+
/* harmony import */ var _hu_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_hu_js__WEBPACK_IMPORTED_MODULE_8__);
|
|
32997
|
+
/* harmony import */ var _id_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(74881);
|
|
32998
|
+
/* harmony import */ var _id_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_id_js__WEBPACK_IMPORTED_MODULE_9__);
|
|
32999
|
+
/* harmony import */ var _it_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(62585);
|
|
33000
|
+
/* harmony import */ var _it_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_it_js__WEBPACK_IMPORTED_MODULE_10__);
|
|
33001
|
+
/* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(42150);
|
|
33002
|
+
/* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_ja_js__WEBPACK_IMPORTED_MODULE_11__);
|
|
33003
|
+
/* harmony import */ var _ko_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(15449);
|
|
33004
|
+
/* harmony import */ var _ko_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_ko_js__WEBPACK_IMPORTED_MODULE_12__);
|
|
33005
|
+
/* harmony import */ var _mn_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(16717);
|
|
33006
|
+
/* harmony import */ var _mn_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_mn_js__WEBPACK_IMPORTED_MODULE_13__);
|
|
33007
|
+
/* harmony import */ var _nl_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(45424);
|
|
33008
|
+
/* harmony import */ var _nl_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_nl_js__WEBPACK_IMPORTED_MODULE_14__);
|
|
33009
|
+
/* harmony import */ var _pl_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(11146);
|
|
33010
|
+
/* harmony import */ var _pl_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_pl_js__WEBPACK_IMPORTED_MODULE_15__);
|
|
33011
|
+
/* harmony import */ var _pt_br_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(36477);
|
|
33012
|
+
/* harmony import */ var _pt_br_js__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_pt_br_js__WEBPACK_IMPORTED_MODULE_16__);
|
|
33013
|
+
/* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(94675);
|
|
33014
|
+
/* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(_ru_js__WEBPACK_IMPORTED_MODULE_17__);
|
|
33015
|
+
/* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(26129);
|
|
33016
|
+
/* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(_tr_js__WEBPACK_IMPORTED_MODULE_18__);
|
|
33017
|
+
/* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(1692);
|
|
33018
|
+
/* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(_zh_cn_js__WEBPACK_IMPORTED_MODULE_19__);
|
|
33019
|
+
/* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(1566);
|
|
33020
|
+
/* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(_zh_tw_js__WEBPACK_IMPORTED_MODULE_20__);
|
|
32984
33021
|
/*!
|
|
32985
33022
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
32986
33023
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -33007,6 +33044,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
33007
33044
|
|
|
33008
33045
|
|
|
33009
33046
|
|
|
33047
|
+
|
|
33010
33048
|
|
|
33011
33049
|
|
|
33012
33050
|
/***/ }),
|
|
@@ -36120,11 +36158,9 @@ class resizer extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_3__/* .P
|
|
|
36120
36158
|
if (rgx.test(data.value)) {
|
|
36121
36159
|
data.value = data.value.replace(rgx, '$1');
|
|
36122
36160
|
}
|
|
36123
|
-
})
|
|
36124
|
-
.on('hideResizer', this.hide)
|
|
36125
|
-
.on('change afterInit afterSetMode', this.onChangeEditor);
|
|
36161
|
+
});
|
|
36126
36162
|
this.addEventListeners();
|
|
36127
|
-
this.
|
|
36163
|
+
this.__onChangeEditor();
|
|
36128
36164
|
}
|
|
36129
36165
|
/**
|
|
36130
36166
|
* Click in the editor area
|
|
@@ -36134,7 +36170,7 @@ class resizer extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_3__/* .P
|
|
|
36134
36170
|
const { editor, options: { allowResizeTags } } = this.j;
|
|
36135
36171
|
while (node && node !== editor) {
|
|
36136
36172
|
if (jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.isTag(node, allowResizeTags)) {
|
|
36137
|
-
this.
|
|
36173
|
+
this.__bind(node);
|
|
36138
36174
|
this.onClickElement(node);
|
|
36139
36175
|
return;
|
|
36140
36176
|
}
|
|
@@ -36308,7 +36344,7 @@ class resizer extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_3__/* .P
|
|
|
36308
36344
|
e.preventDefault();
|
|
36309
36345
|
}
|
|
36310
36346
|
}
|
|
36311
|
-
|
|
36347
|
+
__onChangeEditor() {
|
|
36312
36348
|
if (this.isShown) {
|
|
36313
36349
|
if (!this.element || !this.element.parentNode) {
|
|
36314
36350
|
this.hide();
|
|
@@ -36317,13 +36353,13 @@ class resizer extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_3__/* .P
|
|
|
36317
36353
|
this.updateSize();
|
|
36318
36354
|
}
|
|
36319
36355
|
}
|
|
36320
|
-
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.$$)('iframe', this.j.editor).forEach(this.
|
|
36356
|
+
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.$$)('iframe', this.j.editor).forEach(this.__bind);
|
|
36321
36357
|
}
|
|
36322
36358
|
/**
|
|
36323
36359
|
* Bind an edit element to element
|
|
36324
36360
|
* @param element - The element that you want to add a function to resize
|
|
36325
36361
|
*/
|
|
36326
|
-
|
|
36362
|
+
__bind(element) {
|
|
36327
36363
|
if (!jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.isHTMLElement(element) ||
|
|
36328
36364
|
!this.j.o.allowResizeTags.has(element.tagName.toLowerCase()) ||
|
|
36329
36365
|
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_2__.dataBind)(element, keyBInd)) {
|
|
@@ -36455,13 +36491,14 @@ class resizer extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_3__/* .P
|
|
|
36455
36491
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_5__.autobind
|
|
36456
36492
|
], resizer.prototype, "onClickOutside", null);
|
|
36457
36493
|
(0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .gn)([
|
|
36458
|
-
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_5__.
|
|
36459
|
-
], resizer.prototype, "
|
|
36494
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_5__.watch)(':change')
|
|
36495
|
+
], resizer.prototype, "__onChangeEditor", null);
|
|
36460
36496
|
(0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .gn)([
|
|
36461
36497
|
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_5__.autobind
|
|
36462
|
-
], resizer.prototype, "
|
|
36498
|
+
], resizer.prototype, "__bind", null);
|
|
36463
36499
|
(0,tslib__WEBPACK_IMPORTED_MODULE_7__/* .__decorate */ .gn)([
|
|
36464
|
-
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_5__.autobind
|
|
36500
|
+
jodit_core_decorators__WEBPACK_IMPORTED_MODULE_5__.autobind,
|
|
36501
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_5__.watch)(':hideResizer')
|
|
36465
36502
|
], resizer.prototype, "hide", null);
|
|
36466
36503
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_4__/* .pluginSystem */ .pw.add('resizer', resizer);
|
|
36467
36504
|
|
|
@@ -36487,7 +36524,9 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_4__/* .pluginSystem */ .pw.add('resiz
|
|
|
36487
36524
|
|
|
36488
36525
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .D.prototype.useSearch = true;
|
|
36489
36526
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .D.prototype.search = {
|
|
36490
|
-
lazyIdleTimeout: 0
|
|
36527
|
+
lazyIdleTimeout: 0,
|
|
36528
|
+
// @ts-ignore Because Highlight is not defined in the types TS 5.3.3
|
|
36529
|
+
useCustomHighlightAPI: typeof window.Highlight !== 'undefined'
|
|
36491
36530
|
};
|
|
36492
36531
|
jodit_core_ui_icon__WEBPACK_IMPORTED_MODULE_1__/* .Icon */ .J.set('search', (_search_svg__WEBPACK_IMPORTED_MODULE_2___default()));
|
|
36493
36532
|
jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .D.prototype.controls.find = {
|
|
@@ -36521,114 +36560,14 @@ jodit_config__WEBPACK_IMPORTED_MODULE_0__/* .Config */ .D.prototype.controls.fin
|
|
|
36521
36560
|
|
|
36522
36561
|
/***/ }),
|
|
36523
36562
|
|
|
36524
|
-
/***/
|
|
36525
|
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
36526
|
-
|
|
36527
|
-
"use strict";
|
|
36528
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
36529
|
-
/* harmony export */ Al: function() { return /* reexport safe */ _sentence_finder__WEBPACK_IMPORTED_MODULE_0__.A; },
|
|
36530
|
-
/* harmony export */ Fb: function() { return /* reexport safe */ _wrap_ranges_texts_in_tmp_span__WEBPACK_IMPORTED_MODULE_1__.Fb; },
|
|
36531
|
-
/* harmony export */ TW: function() { return /* reexport safe */ _wrap_ranges_texts_in_tmp_span__WEBPACK_IMPORTED_MODULE_1__.TW; },
|
|
36532
|
-
/* harmony export */ e: function() { return /* reexport safe */ _wrap_ranges_texts_in_tmp_span__WEBPACK_IMPORTED_MODULE_1__.e; },
|
|
36533
|
-
/* harmony export */ sG: function() { return /* reexport safe */ _wrap_ranges_texts_in_tmp_span__WEBPACK_IMPORTED_MODULE_1__.sG; }
|
|
36534
|
-
/* harmony export */ });
|
|
36535
|
-
/* harmony import */ var _sentence_finder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(135);
|
|
36536
|
-
/* harmony import */ var _wrap_ranges_texts_in_tmp_span__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(89883);
|
|
36537
|
-
/*!
|
|
36538
|
-
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
36539
|
-
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
36540
|
-
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
36541
|
-
*/
|
|
36542
|
-
/**
|
|
36543
|
-
* @module plugins/search
|
|
36544
|
-
*/
|
|
36545
|
-
|
|
36546
|
-
|
|
36547
|
-
|
|
36548
|
-
|
|
36549
|
-
/***/ }),
|
|
36550
|
-
|
|
36551
|
-
/***/ 135:
|
|
36552
|
-
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
36553
|
-
|
|
36554
|
-
"use strict";
|
|
36555
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
36556
|
-
/* harmony export */ A: function() { return /* binding */ SentenceFinder; }
|
|
36557
|
-
/* harmony export */ });
|
|
36558
|
-
/* harmony import */ var jodit_core_helpers_string_fuzzy_search_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(29133);
|
|
36559
|
-
/*!
|
|
36560
|
-
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
36561
|
-
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
36562
|
-
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
36563
|
-
*/
|
|
36564
|
-
|
|
36565
|
-
class SentenceFinder {
|
|
36566
|
-
constructor(searchIndex = jodit_core_helpers_string_fuzzy_search_index__WEBPACK_IMPORTED_MODULE_0__/* .fuzzySearchIndex */ .Q) {
|
|
36567
|
-
this.searchIndex = searchIndex;
|
|
36568
|
-
this.queue = [];
|
|
36569
|
-
this.value = '';
|
|
36570
|
-
}
|
|
36571
|
-
add(node) {
|
|
36572
|
-
var _a;
|
|
36573
|
-
const value = ((_a = node.nodeValue) !== null && _a !== void 0 ? _a : '').toLowerCase();
|
|
36574
|
-
if (!value.length) {
|
|
36575
|
-
return;
|
|
36576
|
-
}
|
|
36577
|
-
const index = this.value.length;
|
|
36578
|
-
this.queue.push({
|
|
36579
|
-
startIndex: index,
|
|
36580
|
-
endIndex: index + value.length,
|
|
36581
|
-
node
|
|
36582
|
-
});
|
|
36583
|
-
this.value += value;
|
|
36584
|
-
}
|
|
36585
|
-
ranges(needle, position = 0) {
|
|
36586
|
-
const results = [];
|
|
36587
|
-
let index = position, len = 0, startQueueIndex = 0;
|
|
36588
|
-
// Find all ranges in substring
|
|
36589
|
-
do {
|
|
36590
|
-
[index, len] = this.searchIndex(needle, this.value, index);
|
|
36591
|
-
if (index !== -1) {
|
|
36592
|
-
let startContainer, startOffset = 0, endContainer, endOffset = 0;
|
|
36593
|
-
for (let i = startQueueIndex; i < this.queue.length; i += 1) {
|
|
36594
|
-
if (!startContainer && this.queue[i].endIndex > index) {
|
|
36595
|
-
startContainer = this.queue[i].node;
|
|
36596
|
-
startOffset = index - this.queue[i].startIndex;
|
|
36597
|
-
}
|
|
36598
|
-
if (startContainer &&
|
|
36599
|
-
this.queue[i].endIndex >= index + len) {
|
|
36600
|
-
endContainer = this.queue[i].node;
|
|
36601
|
-
endOffset = index + len - this.queue[i].startIndex;
|
|
36602
|
-
startQueueIndex = i;
|
|
36603
|
-
break;
|
|
36604
|
-
}
|
|
36605
|
-
}
|
|
36606
|
-
if (startContainer && endContainer) {
|
|
36607
|
-
results.push({
|
|
36608
|
-
startContainer,
|
|
36609
|
-
startOffset,
|
|
36610
|
-
endContainer,
|
|
36611
|
-
endOffset
|
|
36612
|
-
});
|
|
36613
|
-
}
|
|
36614
|
-
index += len;
|
|
36615
|
-
}
|
|
36616
|
-
} while (index !== -1);
|
|
36617
|
-
return results.length === 0 ? null : results;
|
|
36618
|
-
}
|
|
36619
|
-
}
|
|
36620
|
-
|
|
36621
|
-
|
|
36622
|
-
/***/ }),
|
|
36623
|
-
|
|
36624
|
-
/***/ 89883:
|
|
36563
|
+
/***/ 73893:
|
|
36625
36564
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
36626
36565
|
|
|
36627
36566
|
"use strict";
|
|
36628
36567
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
36568
|
+
/* harmony export */ AG: function() { return /* binding */ highlightTextRanges; },
|
|
36629
36569
|
/* harmony export */ Fb: function() { return /* binding */ clearSelectionWrappersFromHTML; },
|
|
36630
36570
|
/* harmony export */ TW: function() { return /* binding */ getSelectionWrappers; },
|
|
36631
|
-
/* harmony export */ e: function() { return /* binding */ wrapRangesTextsInTmpSpan; },
|
|
36632
36571
|
/* harmony export */ sG: function() { return /* binding */ clearSelectionWrappers; }
|
|
36633
36572
|
/* harmony export */ });
|
|
36634
36573
|
/* unused harmony export isSelectionWrapper */
|
|
@@ -36648,11 +36587,29 @@ const TMP_ATTR = 'jd-tmp-selection';
|
|
|
36648
36587
|
/**
|
|
36649
36588
|
* @private
|
|
36650
36589
|
*/
|
|
36651
|
-
function
|
|
36590
|
+
function highlightTextRanges(jodit, rng, restRanges, ci, root) {
|
|
36652
36591
|
if (rng.startContainer.nodeValue == null ||
|
|
36653
36592
|
rng.endContainer.nodeValue == null) {
|
|
36654
36593
|
return;
|
|
36655
36594
|
}
|
|
36595
|
+
if (jodit.o.search.useCustomHighlightAPI &&
|
|
36596
|
+
// @ts-ignore Because Highlight is not defined in the types TS 5.3.3
|
|
36597
|
+
typeof window.Highlight !== 'undefined') {
|
|
36598
|
+
const ranges = [rng, ...restRanges].map(rng => {
|
|
36599
|
+
const range = jodit.selection.createRange();
|
|
36600
|
+
range.setStart(rng.startContainer, rng.startOffset);
|
|
36601
|
+
range.setEnd(rng.endContainer, rng.endOffset);
|
|
36602
|
+
return range;
|
|
36603
|
+
});
|
|
36604
|
+
// @ts-ignore Because Highlight is not defined in the types TS 5.3.3
|
|
36605
|
+
const searchHighlight = new Highlight(...ranges);
|
|
36606
|
+
// @ts-ignore
|
|
36607
|
+
CSS.highlights.clear();
|
|
36608
|
+
// @ts-ignore
|
|
36609
|
+
CSS.highlights.set('jodit-search-result', searchHighlight);
|
|
36610
|
+
restRanges.length = 0;
|
|
36611
|
+
return;
|
|
36612
|
+
}
|
|
36656
36613
|
const span = ci.element('span', {
|
|
36657
36614
|
[TMP_ATTR]: true
|
|
36658
36615
|
});
|
|
@@ -36736,6 +36693,106 @@ function isSelectionWrapper(node) {
|
|
|
36736
36693
|
}
|
|
36737
36694
|
|
|
36738
36695
|
|
|
36696
|
+
/***/ }),
|
|
36697
|
+
|
|
36698
|
+
/***/ 8521:
|
|
36699
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
36700
|
+
|
|
36701
|
+
"use strict";
|
|
36702
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
36703
|
+
/* harmony export */ AG: function() { return /* reexport safe */ _highlight_text_ranges__WEBPACK_IMPORTED_MODULE_1__.AG; },
|
|
36704
|
+
/* harmony export */ Al: function() { return /* reexport safe */ _sentence_finder__WEBPACK_IMPORTED_MODULE_0__.A; },
|
|
36705
|
+
/* harmony export */ Fb: function() { return /* reexport safe */ _highlight_text_ranges__WEBPACK_IMPORTED_MODULE_1__.Fb; },
|
|
36706
|
+
/* harmony export */ TW: function() { return /* reexport safe */ _highlight_text_ranges__WEBPACK_IMPORTED_MODULE_1__.TW; },
|
|
36707
|
+
/* harmony export */ sG: function() { return /* reexport safe */ _highlight_text_ranges__WEBPACK_IMPORTED_MODULE_1__.sG; }
|
|
36708
|
+
/* harmony export */ });
|
|
36709
|
+
/* harmony import */ var _sentence_finder__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(135);
|
|
36710
|
+
/* harmony import */ var _highlight_text_ranges__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(73893);
|
|
36711
|
+
/*!
|
|
36712
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
36713
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
36714
|
+
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
36715
|
+
*/
|
|
36716
|
+
/**
|
|
36717
|
+
* @module plugins/search
|
|
36718
|
+
*/
|
|
36719
|
+
|
|
36720
|
+
|
|
36721
|
+
|
|
36722
|
+
|
|
36723
|
+
/***/ }),
|
|
36724
|
+
|
|
36725
|
+
/***/ 135:
|
|
36726
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
36727
|
+
|
|
36728
|
+
"use strict";
|
|
36729
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
36730
|
+
/* harmony export */ A: function() { return /* binding */ SentenceFinder; }
|
|
36731
|
+
/* harmony export */ });
|
|
36732
|
+
/* harmony import */ var jodit_core_helpers_string_fuzzy_search_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(29133);
|
|
36733
|
+
/*!
|
|
36734
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
36735
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
36736
|
+
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
36737
|
+
*/
|
|
36738
|
+
|
|
36739
|
+
class SentenceFinder {
|
|
36740
|
+
constructor(searchIndex = jodit_core_helpers_string_fuzzy_search_index__WEBPACK_IMPORTED_MODULE_0__/* .fuzzySearchIndex */ .Q) {
|
|
36741
|
+
this.searchIndex = searchIndex;
|
|
36742
|
+
this.queue = [];
|
|
36743
|
+
this.value = '';
|
|
36744
|
+
}
|
|
36745
|
+
add(node) {
|
|
36746
|
+
var _a;
|
|
36747
|
+
const value = ((_a = node.nodeValue) !== null && _a !== void 0 ? _a : '').toLowerCase();
|
|
36748
|
+
if (!value.length) {
|
|
36749
|
+
return;
|
|
36750
|
+
}
|
|
36751
|
+
const index = this.value.length;
|
|
36752
|
+
this.queue.push({
|
|
36753
|
+
startIndex: index,
|
|
36754
|
+
endIndex: index + value.length,
|
|
36755
|
+
node
|
|
36756
|
+
});
|
|
36757
|
+
this.value += value;
|
|
36758
|
+
}
|
|
36759
|
+
ranges(needle, position = 0) {
|
|
36760
|
+
const results = [];
|
|
36761
|
+
let index = position, len = 0, startQueueIndex = 0;
|
|
36762
|
+
// Find all ranges in substring
|
|
36763
|
+
do {
|
|
36764
|
+
[index, len] = this.searchIndex(needle, this.value, index);
|
|
36765
|
+
if (index !== -1) {
|
|
36766
|
+
let startContainer, startOffset = 0, endContainer, endOffset = 0;
|
|
36767
|
+
for (let i = startQueueIndex; i < this.queue.length; i += 1) {
|
|
36768
|
+
if (!startContainer && this.queue[i].endIndex > index) {
|
|
36769
|
+
startContainer = this.queue[i].node;
|
|
36770
|
+
startOffset = index - this.queue[i].startIndex;
|
|
36771
|
+
}
|
|
36772
|
+
if (startContainer &&
|
|
36773
|
+
this.queue[i].endIndex >= index + len) {
|
|
36774
|
+
endContainer = this.queue[i].node;
|
|
36775
|
+
endOffset = index + len - this.queue[i].startIndex;
|
|
36776
|
+
startQueueIndex = i;
|
|
36777
|
+
break;
|
|
36778
|
+
}
|
|
36779
|
+
}
|
|
36780
|
+
if (startContainer && endContainer) {
|
|
36781
|
+
results.push({
|
|
36782
|
+
startContainer,
|
|
36783
|
+
startOffset,
|
|
36784
|
+
endContainer,
|
|
36785
|
+
endOffset
|
|
36786
|
+
});
|
|
36787
|
+
}
|
|
36788
|
+
index += len;
|
|
36789
|
+
}
|
|
36790
|
+
} while (index !== -1);
|
|
36791
|
+
return results.length === 0 ? null : results;
|
|
36792
|
+
}
|
|
36793
|
+
}
|
|
36794
|
+
|
|
36795
|
+
|
|
36739
36796
|
/***/ }),
|
|
36740
36797
|
|
|
36741
36798
|
/***/ 78014:
|
|
@@ -36886,7 +36943,7 @@ class search extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_1__/* .Plugin */
|
|
|
36886
36943
|
(_a = this.drawPromise) === null || _a === void 0 ? void 0 : _a.rejectCallback();
|
|
36887
36944
|
this.j.async.cancelAnimationFrame(this.wrapFrameRequest);
|
|
36888
36945
|
(0,_helpers__WEBPACK_IMPORTED_MODULE_6__/* .clearSelectionWrappers */ .sG)(this.j.editor);
|
|
36889
|
-
this.drawPromise = this.
|
|
36946
|
+
this.drawPromise = this.__drawSelectionRanges(bounds);
|
|
36890
36947
|
}
|
|
36891
36948
|
this.previousQuery = query;
|
|
36892
36949
|
let currentIndex = this.ui.currentIndex - 1;
|
|
@@ -36965,7 +37022,7 @@ class search extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_1__/* .Plugin */
|
|
|
36965
37022
|
});
|
|
36966
37023
|
return this.cache[query];
|
|
36967
37024
|
}
|
|
36968
|
-
|
|
37025
|
+
__drawSelectionRanges(ranges) {
|
|
36969
37026
|
const { async, createInside: ci, editor } = this.j;
|
|
36970
37027
|
async.cancelAnimationFrame(this.wrapFrameRequest);
|
|
36971
37028
|
const parts = [...ranges];
|
|
@@ -36975,7 +37032,7 @@ class search extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_1__/* .Plugin */
|
|
|
36975
37032
|
do {
|
|
36976
37033
|
sRange = parts.shift();
|
|
36977
37034
|
if (sRange) {
|
|
36978
|
-
(0,_helpers__WEBPACK_IMPORTED_MODULE_6__/* .
|
|
37035
|
+
(0,_helpers__WEBPACK_IMPORTED_MODULE_6__/* .highlightTextRanges */ .AG)(this.j, sRange, parts, ci, editor);
|
|
36979
37036
|
}
|
|
36980
37037
|
total += 1;
|
|
36981
37038
|
} while (sRange && total <= 5);
|
|
@@ -38849,7 +38906,7 @@ class source extends jodit_core_plugin__WEBPACK_IMPORTED_MODULE_1__/* .Plugin */
|
|
|
38849
38906
|
return false;
|
|
38850
38907
|
};
|
|
38851
38908
|
if (!addEventListener()) {
|
|
38852
|
-
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.loadNext)(editor, editor.o.beautifyHTMLCDNUrlsJS).then(addEventListener);
|
|
38909
|
+
(0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_3__.loadNext)(editor, editor.o.beautifyHTMLCDNUrlsJS).then(addEventListener, () => null);
|
|
38853
38910
|
}
|
|
38854
38911
|
}
|
|
38855
38912
|
this.syncValueFromWYSIWYG(true);
|
|
@@ -39040,6 +39097,23 @@ module.exports = {
|
|
|
39040
39097
|
};
|
|
39041
39098
|
|
|
39042
39099
|
|
|
39100
|
+
/***/ }),
|
|
39101
|
+
|
|
39102
|
+
/***/ 42096:
|
|
39103
|
+
/***/ (function(module) {
|
|
39104
|
+
|
|
39105
|
+
"use strict";
|
|
39106
|
+
|
|
39107
|
+
/*!
|
|
39108
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
39109
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
39110
|
+
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
39111
|
+
*/
|
|
39112
|
+
module.exports = {
|
|
39113
|
+
Spellcheck: 'Oikeinkirjoituksen tarkistus'
|
|
39114
|
+
};
|
|
39115
|
+
|
|
39116
|
+
|
|
39043
39117
|
/***/ }),
|
|
39044
39118
|
|
|
39045
39119
|
/***/ 53866:
|
|
@@ -39121,21 +39195,22 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
39121
39195
|
/* harmony export */ de: function() { return /* reexport module object */ _de_js__WEBPACK_IMPORTED_MODULE_2__; },
|
|
39122
39196
|
/* harmony export */ es: function() { return /* reexport module object */ _es_js__WEBPACK_IMPORTED_MODULE_3__; },
|
|
39123
39197
|
/* harmony export */ fa: function() { return /* reexport module object */ _fa_js__WEBPACK_IMPORTED_MODULE_4__; },
|
|
39124
|
-
/* harmony export */
|
|
39125
|
-
/* harmony export */
|
|
39126
|
-
/* harmony export */
|
|
39127
|
-
/* harmony export */
|
|
39128
|
-
/* harmony export */
|
|
39129
|
-
/* harmony export */
|
|
39130
|
-
/* harmony export */
|
|
39131
|
-
/* harmony export */
|
|
39132
|
-
/* harmony export */
|
|
39133
|
-
/* harmony export */
|
|
39134
|
-
/* harmony export */
|
|
39135
|
-
/* harmony export */
|
|
39136
|
-
/* harmony export */
|
|
39137
|
-
/* harmony export */
|
|
39138
|
-
/* harmony export */
|
|
39198
|
+
/* harmony export */ fi: function() { return /* reexport module object */ _fi_js__WEBPACK_IMPORTED_MODULE_5__; },
|
|
39199
|
+
/* harmony export */ fr: function() { return /* reexport module object */ _fr_js__WEBPACK_IMPORTED_MODULE_6__; },
|
|
39200
|
+
/* harmony export */ he: function() { return /* reexport module object */ _he_js__WEBPACK_IMPORTED_MODULE_7__; },
|
|
39201
|
+
/* harmony export */ hu: function() { return /* reexport module object */ _hu_js__WEBPACK_IMPORTED_MODULE_8__; },
|
|
39202
|
+
/* harmony export */ id: function() { return /* reexport module object */ _id_js__WEBPACK_IMPORTED_MODULE_9__; },
|
|
39203
|
+
/* harmony export */ it: function() { return /* reexport module object */ _it_js__WEBPACK_IMPORTED_MODULE_10__; },
|
|
39204
|
+
/* harmony export */ ja: function() { return /* reexport module object */ _ja_js__WEBPACK_IMPORTED_MODULE_11__; },
|
|
39205
|
+
/* harmony export */ ko: function() { return /* reexport module object */ _ko_js__WEBPACK_IMPORTED_MODULE_12__; },
|
|
39206
|
+
/* harmony export */ mn: function() { return /* reexport module object */ _mn_js__WEBPACK_IMPORTED_MODULE_13__; },
|
|
39207
|
+
/* harmony export */ nl: function() { return /* reexport module object */ _nl_js__WEBPACK_IMPORTED_MODULE_14__; },
|
|
39208
|
+
/* harmony export */ pl: function() { return /* reexport module object */ _pl_js__WEBPACK_IMPORTED_MODULE_15__; },
|
|
39209
|
+
/* harmony export */ pt_br: function() { return /* reexport module object */ _pt_br_js__WEBPACK_IMPORTED_MODULE_16__; },
|
|
39210
|
+
/* harmony export */ ru: function() { return /* reexport module object */ _ru_js__WEBPACK_IMPORTED_MODULE_17__; },
|
|
39211
|
+
/* harmony export */ tr: function() { return /* reexport module object */ _tr_js__WEBPACK_IMPORTED_MODULE_18__; },
|
|
39212
|
+
/* harmony export */ zh_cn: function() { return /* reexport module object */ _zh_cn_js__WEBPACK_IMPORTED_MODULE_19__; },
|
|
39213
|
+
/* harmony export */ zh_tw: function() { return /* reexport module object */ _zh_tw_js__WEBPACK_IMPORTED_MODULE_20__; }
|
|
39139
39214
|
/* harmony export */ });
|
|
39140
39215
|
/* harmony import */ var _ar_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(25394);
|
|
39141
39216
|
/* harmony import */ var _ar_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_ar_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -39147,36 +39222,38 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
39147
39222
|
/* harmony import */ var _es_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_es_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
39148
39223
|
/* harmony import */ var _fa_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(39850);
|
|
39149
39224
|
/* harmony import */ var _fa_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_fa_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
39150
|
-
/* harmony import */ var
|
|
39151
|
-
/* harmony import */ var
|
|
39152
|
-
/* harmony import */ var
|
|
39153
|
-
/* harmony import */ var
|
|
39154
|
-
/* harmony import */ var
|
|
39155
|
-
/* harmony import */ var
|
|
39156
|
-
/* harmony import */ var
|
|
39157
|
-
/* harmony import */ var
|
|
39158
|
-
/* harmony import */ var
|
|
39159
|
-
/* harmony import */ var
|
|
39160
|
-
/* harmony import */ var
|
|
39161
|
-
/* harmony import */ var
|
|
39162
|
-
/* harmony import */ var
|
|
39163
|
-
/* harmony import */ var
|
|
39164
|
-
/* harmony import */ var
|
|
39165
|
-
/* harmony import */ var
|
|
39166
|
-
/* harmony import */ var
|
|
39167
|
-
/* harmony import */ var
|
|
39168
|
-
/* harmony import */ var
|
|
39169
|
-
/* harmony import */ var
|
|
39170
|
-
/* harmony import */ var
|
|
39171
|
-
/* harmony import */ var
|
|
39172
|
-
/* harmony import */ var
|
|
39173
|
-
/* harmony import */ var
|
|
39174
|
-
/* harmony import */ var
|
|
39175
|
-
/* harmony import */ var
|
|
39176
|
-
/* harmony import */ var
|
|
39177
|
-
/* harmony import */ var
|
|
39178
|
-
/* harmony import */ var
|
|
39179
|
-
/* harmony import */ var
|
|
39225
|
+
/* harmony import */ var _fi_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(42096);
|
|
39226
|
+
/* harmony import */ var _fi_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_fi_js__WEBPACK_IMPORTED_MODULE_5__);
|
|
39227
|
+
/* harmony import */ var _fr_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(53866);
|
|
39228
|
+
/* harmony import */ var _fr_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_fr_js__WEBPACK_IMPORTED_MODULE_6__);
|
|
39229
|
+
/* harmony import */ var _he_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(68103);
|
|
39230
|
+
/* harmony import */ var _he_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_he_js__WEBPACK_IMPORTED_MODULE_7__);
|
|
39231
|
+
/* harmony import */ var _hu_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(59717);
|
|
39232
|
+
/* harmony import */ var _hu_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_hu_js__WEBPACK_IMPORTED_MODULE_8__);
|
|
39233
|
+
/* harmony import */ var _id_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(43703);
|
|
39234
|
+
/* harmony import */ var _id_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_id_js__WEBPACK_IMPORTED_MODULE_9__);
|
|
39235
|
+
/* harmony import */ var _it_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(15825);
|
|
39236
|
+
/* harmony import */ var _it_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_it_js__WEBPACK_IMPORTED_MODULE_10__);
|
|
39237
|
+
/* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(693);
|
|
39238
|
+
/* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_ja_js__WEBPACK_IMPORTED_MODULE_11__);
|
|
39239
|
+
/* harmony import */ var _ko_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(66389);
|
|
39240
|
+
/* harmony import */ var _ko_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_ko_js__WEBPACK_IMPORTED_MODULE_12__);
|
|
39241
|
+
/* harmony import */ var _mn_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(90239);
|
|
39242
|
+
/* harmony import */ var _mn_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_mn_js__WEBPACK_IMPORTED_MODULE_13__);
|
|
39243
|
+
/* harmony import */ var _nl_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(64914);
|
|
39244
|
+
/* harmony import */ var _nl_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_nl_js__WEBPACK_IMPORTED_MODULE_14__);
|
|
39245
|
+
/* harmony import */ var _pl_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(95177);
|
|
39246
|
+
/* harmony import */ var _pl_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_pl_js__WEBPACK_IMPORTED_MODULE_15__);
|
|
39247
|
+
/* harmony import */ var _pt_br_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(66174);
|
|
39248
|
+
/* harmony import */ var _pt_br_js__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_pt_br_js__WEBPACK_IMPORTED_MODULE_16__);
|
|
39249
|
+
/* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(14004);
|
|
39250
|
+
/* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(_ru_js__WEBPACK_IMPORTED_MODULE_17__);
|
|
39251
|
+
/* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(54002);
|
|
39252
|
+
/* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(_tr_js__WEBPACK_IMPORTED_MODULE_18__);
|
|
39253
|
+
/* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(61338);
|
|
39254
|
+
/* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(_zh_cn_js__WEBPACK_IMPORTED_MODULE_19__);
|
|
39255
|
+
/* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(58013);
|
|
39256
|
+
/* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(_zh_tw_js__WEBPACK_IMPORTED_MODULE_20__);
|
|
39180
39257
|
/*!
|
|
39181
39258
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
39182
39259
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -39203,6 +39280,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
39203
39280
|
|
|
39204
39281
|
|
|
39205
39282
|
|
|
39283
|
+
|
|
39206
39284
|
|
|
39207
39285
|
|
|
39208
39286
|
/***/ }),
|
|
@@ -40042,6 +40120,23 @@ module.exports = {
|
|
|
40042
40120
|
};
|
|
40043
40121
|
|
|
40044
40122
|
|
|
40123
|
+
/***/ }),
|
|
40124
|
+
|
|
40125
|
+
/***/ 67385:
|
|
40126
|
+
/***/ (function(module) {
|
|
40127
|
+
|
|
40128
|
+
"use strict";
|
|
40129
|
+
|
|
40130
|
+
/*!
|
|
40131
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
40132
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
40133
|
+
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
40134
|
+
*/
|
|
40135
|
+
module.exports = {
|
|
40136
|
+
symbols: 'Symbolit'
|
|
40137
|
+
};
|
|
40138
|
+
|
|
40139
|
+
|
|
40045
40140
|
/***/ }),
|
|
40046
40141
|
|
|
40047
40142
|
/***/ 27021:
|
|
@@ -40123,21 +40218,22 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
40123
40218
|
/* harmony export */ de: function() { return /* reexport module object */ _de_js__WEBPACK_IMPORTED_MODULE_2__; },
|
|
40124
40219
|
/* harmony export */ es: function() { return /* reexport module object */ _es_js__WEBPACK_IMPORTED_MODULE_3__; },
|
|
40125
40220
|
/* harmony export */ fa: function() { return /* reexport module object */ _fa_js__WEBPACK_IMPORTED_MODULE_4__; },
|
|
40126
|
-
/* harmony export */
|
|
40127
|
-
/* harmony export */
|
|
40128
|
-
/* harmony export */
|
|
40129
|
-
/* harmony export */
|
|
40130
|
-
/* harmony export */
|
|
40131
|
-
/* harmony export */
|
|
40132
|
-
/* harmony export */
|
|
40133
|
-
/* harmony export */
|
|
40134
|
-
/* harmony export */
|
|
40135
|
-
/* harmony export */
|
|
40136
|
-
/* harmony export */
|
|
40137
|
-
/* harmony export */
|
|
40138
|
-
/* harmony export */
|
|
40139
|
-
/* harmony export */
|
|
40140
|
-
/* harmony export */
|
|
40221
|
+
/* harmony export */ fi: function() { return /* reexport module object */ _fi_js__WEBPACK_IMPORTED_MODULE_5__; },
|
|
40222
|
+
/* harmony export */ fr: function() { return /* reexport module object */ _fr_js__WEBPACK_IMPORTED_MODULE_6__; },
|
|
40223
|
+
/* harmony export */ he: function() { return /* reexport module object */ _he_js__WEBPACK_IMPORTED_MODULE_7__; },
|
|
40224
|
+
/* harmony export */ hu: function() { return /* reexport module object */ _hu_js__WEBPACK_IMPORTED_MODULE_8__; },
|
|
40225
|
+
/* harmony export */ id: function() { return /* reexport module object */ _id_js__WEBPACK_IMPORTED_MODULE_9__; },
|
|
40226
|
+
/* harmony export */ it: function() { return /* reexport module object */ _it_js__WEBPACK_IMPORTED_MODULE_10__; },
|
|
40227
|
+
/* harmony export */ ja: function() { return /* reexport module object */ _ja_js__WEBPACK_IMPORTED_MODULE_11__; },
|
|
40228
|
+
/* harmony export */ ko: function() { return /* reexport module object */ _ko_js__WEBPACK_IMPORTED_MODULE_12__; },
|
|
40229
|
+
/* harmony export */ mn: function() { return /* reexport module object */ _mn_js__WEBPACK_IMPORTED_MODULE_13__; },
|
|
40230
|
+
/* harmony export */ nl: function() { return /* reexport module object */ _nl_js__WEBPACK_IMPORTED_MODULE_14__; },
|
|
40231
|
+
/* harmony export */ pl: function() { return /* reexport module object */ _pl_js__WEBPACK_IMPORTED_MODULE_15__; },
|
|
40232
|
+
/* harmony export */ pt_br: function() { return /* reexport module object */ _pt_br_js__WEBPACK_IMPORTED_MODULE_16__; },
|
|
40233
|
+
/* harmony export */ ru: function() { return /* reexport module object */ _ru_js__WEBPACK_IMPORTED_MODULE_17__; },
|
|
40234
|
+
/* harmony export */ tr: function() { return /* reexport module object */ _tr_js__WEBPACK_IMPORTED_MODULE_18__; },
|
|
40235
|
+
/* harmony export */ zh_cn: function() { return /* reexport module object */ _zh_cn_js__WEBPACK_IMPORTED_MODULE_19__; },
|
|
40236
|
+
/* harmony export */ zh_tw: function() { return /* reexport module object */ _zh_tw_js__WEBPACK_IMPORTED_MODULE_20__; }
|
|
40141
40237
|
/* harmony export */ });
|
|
40142
40238
|
/* harmony import */ var _ar_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(59891);
|
|
40143
40239
|
/* harmony import */ var _ar_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_ar_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
@@ -40149,36 +40245,38 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
40149
40245
|
/* harmony import */ var _es_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_es_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
40150
40246
|
/* harmony import */ var _fa_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(38927);
|
|
40151
40247
|
/* harmony import */ var _fa_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_fa_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
40152
|
-
/* harmony import */ var
|
|
40153
|
-
/* harmony import */ var
|
|
40154
|
-
/* harmony import */ var
|
|
40155
|
-
/* harmony import */ var
|
|
40156
|
-
/* harmony import */ var
|
|
40157
|
-
/* harmony import */ var
|
|
40158
|
-
/* harmony import */ var
|
|
40159
|
-
/* harmony import */ var
|
|
40160
|
-
/* harmony import */ var
|
|
40161
|
-
/* harmony import */ var
|
|
40162
|
-
/* harmony import */ var
|
|
40163
|
-
/* harmony import */ var
|
|
40164
|
-
/* harmony import */ var
|
|
40165
|
-
/* harmony import */ var
|
|
40166
|
-
/* harmony import */ var
|
|
40167
|
-
/* harmony import */ var
|
|
40168
|
-
/* harmony import */ var
|
|
40169
|
-
/* harmony import */ var
|
|
40170
|
-
/* harmony import */ var
|
|
40171
|
-
/* harmony import */ var
|
|
40172
|
-
/* harmony import */ var
|
|
40173
|
-
/* harmony import */ var
|
|
40174
|
-
/* harmony import */ var
|
|
40175
|
-
/* harmony import */ var
|
|
40176
|
-
/* harmony import */ var
|
|
40177
|
-
/* harmony import */ var
|
|
40178
|
-
/* harmony import */ var
|
|
40179
|
-
/* harmony import */ var
|
|
40180
|
-
/* harmony import */ var
|
|
40181
|
-
/* harmony import */ var
|
|
40248
|
+
/* harmony import */ var _fi_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(67385);
|
|
40249
|
+
/* harmony import */ var _fi_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_fi_js__WEBPACK_IMPORTED_MODULE_5__);
|
|
40250
|
+
/* harmony import */ var _fr_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(27021);
|
|
40251
|
+
/* harmony import */ var _fr_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_fr_js__WEBPACK_IMPORTED_MODULE_6__);
|
|
40252
|
+
/* harmony import */ var _he_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(25112);
|
|
40253
|
+
/* harmony import */ var _he_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_he_js__WEBPACK_IMPORTED_MODULE_7__);
|
|
40254
|
+
/* harmony import */ var _hu_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(49274);
|
|
40255
|
+
/* harmony import */ var _hu_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_hu_js__WEBPACK_IMPORTED_MODULE_8__);
|
|
40256
|
+
/* harmony import */ var _id_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(23442);
|
|
40257
|
+
/* harmony import */ var _id_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_id_js__WEBPACK_IMPORTED_MODULE_9__);
|
|
40258
|
+
/* harmony import */ var _it_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(13603);
|
|
40259
|
+
/* harmony import */ var _it_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_it_js__WEBPACK_IMPORTED_MODULE_10__);
|
|
40260
|
+
/* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(33209);
|
|
40261
|
+
/* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_ja_js__WEBPACK_IMPORTED_MODULE_11__);
|
|
40262
|
+
/* harmony import */ var _ko_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(19509);
|
|
40263
|
+
/* harmony import */ var _ko_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_ko_js__WEBPACK_IMPORTED_MODULE_12__);
|
|
40264
|
+
/* harmony import */ var _mn_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(35992);
|
|
40265
|
+
/* harmony import */ var _mn_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_mn_js__WEBPACK_IMPORTED_MODULE_13__);
|
|
40266
|
+
/* harmony import */ var _nl_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(74290);
|
|
40267
|
+
/* harmony import */ var _nl_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_nl_js__WEBPACK_IMPORTED_MODULE_14__);
|
|
40268
|
+
/* harmony import */ var _pl_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(33197);
|
|
40269
|
+
/* harmony import */ var _pl_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_pl_js__WEBPACK_IMPORTED_MODULE_15__);
|
|
40270
|
+
/* harmony import */ var _pt_br_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(52583);
|
|
40271
|
+
/* harmony import */ var _pt_br_js__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_pt_br_js__WEBPACK_IMPORTED_MODULE_16__);
|
|
40272
|
+
/* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(28290);
|
|
40273
|
+
/* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(_ru_js__WEBPACK_IMPORTED_MODULE_17__);
|
|
40274
|
+
/* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(49629);
|
|
40275
|
+
/* harmony import */ var _tr_js__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(_tr_js__WEBPACK_IMPORTED_MODULE_18__);
|
|
40276
|
+
/* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(59693);
|
|
40277
|
+
/* harmony import */ var _zh_cn_js__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(_zh_cn_js__WEBPACK_IMPORTED_MODULE_19__);
|
|
40278
|
+
/* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(92086);
|
|
40279
|
+
/* harmony import */ var _zh_tw_js__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(_zh_tw_js__WEBPACK_IMPORTED_MODULE_20__);
|
|
40182
40280
|
/*!
|
|
40183
40281
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
40184
40282
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -40205,6 +40303,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
40205
40303
|
|
|
40206
40304
|
|
|
40207
40305
|
|
|
40306
|
+
|
|
40208
40307
|
|
|
40209
40308
|
|
|
40210
40309
|
/***/ }),
|
|
@@ -40772,6 +40871,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .pw.add('tab',
|
|
|
40772
40871
|
/* harmony import */ var jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9162);
|
|
40773
40872
|
/* harmony import */ var jodit_modules_table_table__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(45979);
|
|
40774
40873
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(79102);
|
|
40874
|
+
/* harmony import */ var jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(76974);
|
|
40775
40875
|
/*!
|
|
40776
40876
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
40777
40877
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -40781,111 +40881,108 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .pw.add('tab',
|
|
|
40781
40881
|
|
|
40782
40882
|
|
|
40783
40883
|
|
|
40884
|
+
|
|
40885
|
+
const WORK_KEYS = new Set([
|
|
40886
|
+
jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_TAB,
|
|
40887
|
+
jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_LEFT,
|
|
40888
|
+
jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_RIGHT,
|
|
40889
|
+
jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_UP,
|
|
40890
|
+
jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN
|
|
40891
|
+
]);
|
|
40784
40892
|
/**
|
|
40785
|
-
* Process
|
|
40893
|
+
* Process navigates key pressing in table cell
|
|
40786
40894
|
*/
|
|
40787
40895
|
function tableKeyboardNavigation(editor) {
|
|
40788
40896
|
editor.e
|
|
40789
40897
|
.off('.tableKeyboardNavigation')
|
|
40790
40898
|
.on('keydown.tableKeyboardNavigation', (event) => {
|
|
40791
|
-
|
|
40792
|
-
if (
|
|
40793
|
-
|
|
40794
|
-
event.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_RIGHT ||
|
|
40795
|
-
event.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_UP ||
|
|
40796
|
-
event.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN) {
|
|
40797
|
-
current = editor.s.current();
|
|
40798
|
-
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);
|
|
40799
|
-
if (!block) {
|
|
40800
|
-
return;
|
|
40801
|
-
}
|
|
40802
|
-
const range = editor.s.range;
|
|
40803
|
-
if (event.key !== jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_TAB && current !== block) {
|
|
40804
|
-
if (((event.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_LEFT ||
|
|
40805
|
-
event.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_UP) &&
|
|
40806
|
-
(jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.prev(current, (elm) => event.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_UP
|
|
40807
|
-
? jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.isTag(elm, 'br')
|
|
40808
|
-
: Boolean(elm), block) ||
|
|
40809
|
-
(event.key !== jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_UP &&
|
|
40810
|
-
jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.isText(current) &&
|
|
40811
|
-
range.startOffset !== 0))) ||
|
|
40812
|
-
((event.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_RIGHT ||
|
|
40813
|
-
event.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN) &&
|
|
40814
|
-
(jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.next(current, (elm) => event.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN
|
|
40815
|
-
? jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.isTag(elm, 'br')
|
|
40816
|
-
: Boolean(elm), block) ||
|
|
40817
|
-
(event.key !== jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN &&
|
|
40818
|
-
jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.isText(current) &&
|
|
40819
|
-
current.nodeValue &&
|
|
40820
|
-
range.startOffset !==
|
|
40821
|
-
current.nodeValue.length)))) {
|
|
40822
|
-
return;
|
|
40823
|
-
}
|
|
40824
|
-
}
|
|
40899
|
+
const { key } = event;
|
|
40900
|
+
if (!WORK_KEYS.has(key)) {
|
|
40901
|
+
return;
|
|
40825
40902
|
}
|
|
40826
|
-
|
|
40903
|
+
const current = editor.s.current();
|
|
40904
|
+
if (!current) {
|
|
40827
40905
|
return;
|
|
40828
40906
|
}
|
|
40829
|
-
const
|
|
40830
|
-
|
|
40907
|
+
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);
|
|
40908
|
+
if (!cell) {
|
|
40909
|
+
return;
|
|
40910
|
+
}
|
|
40911
|
+
const { range } = editor.s;
|
|
40912
|
+
if (key !== jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_TAB && current !== cell) {
|
|
40913
|
+
const isNextDirection = key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_RIGHT || key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN;
|
|
40914
|
+
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
|
|
40915
|
+
? jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.isTag(elm, 'br')
|
|
40916
|
+
: Boolean(elm), cell);
|
|
40917
|
+
if ((!isNextDirection &&
|
|
40918
|
+
(hasNext ||
|
|
40919
|
+
(key !== jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_UP &&
|
|
40920
|
+
jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.isText(current) &&
|
|
40921
|
+
range.startOffset !== 0))) ||
|
|
40922
|
+
(isNextDirection &&
|
|
40923
|
+
(hasNext ||
|
|
40924
|
+
(key !== jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN &&
|
|
40925
|
+
jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.isText(current) &&
|
|
40926
|
+
current.nodeValue &&
|
|
40927
|
+
range.startOffset !==
|
|
40928
|
+
current.nodeValue.length)))) {
|
|
40929
|
+
return;
|
|
40930
|
+
}
|
|
40931
|
+
}
|
|
40932
|
+
const tableModule = editor.getInstance(jodit_modules_table_table__WEBPACK_IMPORTED_MODULE_2__/* .Table */ .i, editor.o);
|
|
40933
|
+
const table = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i.closest(cell, 'table', editor.editor);
|
|
40831
40934
|
let next = null;
|
|
40832
|
-
|
|
40935
|
+
const isPrev = key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_LEFT || event.shiftKey;
|
|
40936
|
+
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);
|
|
40937
|
+
switch (key) {
|
|
40833
40938
|
case jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_TAB:
|
|
40834
|
-
// case consts.KEY_RIGHT:
|
|
40835
40939
|
case jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_LEFT: {
|
|
40836
|
-
|
|
40837
|
-
? 'prev'
|
|
40838
|
-
: 'next';
|
|
40839
|
-
next = jodit_core_dom_dom__WEBPACK_IMPORTED_MODULE_1__/* .Dom */ .i[sibling](block, (elm) => elm &&
|
|
40840
|
-
/^td|th$/i.test(elm.tagName), table);
|
|
40940
|
+
next = getNextCell();
|
|
40841
40941
|
if (!next) {
|
|
40842
|
-
tableModule.appendRow(table,
|
|
40942
|
+
tableModule.appendRow(table, !isPrev
|
|
40843
40943
|
? false
|
|
40844
|
-
: table.querySelector('tr'),
|
|
40845
|
-
next =
|
|
40944
|
+
: table.querySelector('tr'), !isPrev);
|
|
40945
|
+
next = getNextCell();
|
|
40846
40946
|
}
|
|
40847
40947
|
break;
|
|
40848
40948
|
}
|
|
40849
40949
|
case jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_UP:
|
|
40850
40950
|
case jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN:
|
|
40851
40951
|
{
|
|
40852
|
-
|
|
40853
|
-
const
|
|
40854
|
-
|
|
40855
|
-
|
|
40856
|
-
|
|
40857
|
-
}
|
|
40858
|
-
});
|
|
40859
|
-
if (event.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_UP) {
|
|
40860
|
-
if (matrix[i - 1] !== undefined) {
|
|
40861
|
-
next = matrix[i - 1][j];
|
|
40952
|
+
const matrix = tableModule.formalMatrix(table);
|
|
40953
|
+
const [row, column] = tableModule.formalCoordinate(table, cell);
|
|
40954
|
+
if (key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_UP) {
|
|
40955
|
+
if (matrix[row - 1] !== undefined) {
|
|
40956
|
+
next = matrix[row - 1][column];
|
|
40862
40957
|
}
|
|
40863
40958
|
}
|
|
40864
40959
|
else {
|
|
40865
|
-
if (matrix[
|
|
40866
|
-
next = matrix[
|
|
40960
|
+
if (matrix[row + 1] !== undefined) {
|
|
40961
|
+
next = matrix[row + 1][column];
|
|
40867
40962
|
}
|
|
40868
40963
|
}
|
|
40869
40964
|
}
|
|
40870
40965
|
break;
|
|
40871
40966
|
}
|
|
40872
|
-
if (next) {
|
|
40873
|
-
|
|
40874
|
-
|
|
40875
|
-
|
|
40876
|
-
|
|
40967
|
+
if (!next) {
|
|
40968
|
+
return;
|
|
40969
|
+
}
|
|
40970
|
+
editor.e.fire('hidePopup hideResizer');
|
|
40971
|
+
if (!next.firstChild) {
|
|
40972
|
+
const first = editor.createInside.element('br');
|
|
40973
|
+
next.appendChild(first);
|
|
40974
|
+
editor.s.setCursorBefore(first);
|
|
40975
|
+
}
|
|
40976
|
+
else {
|
|
40977
|
+
if (key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_TAB) {
|
|
40978
|
+
editor.s.select(next, true);
|
|
40877
40979
|
}
|
|
40878
40980
|
else {
|
|
40879
|
-
|
|
40880
|
-
editor.s.select(next, true);
|
|
40881
|
-
}
|
|
40882
|
-
else {
|
|
40883
|
-
editor.s.setCursorIn(next, event.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_RIGHT ||
|
|
40884
|
-
event.key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN);
|
|
40885
|
-
}
|
|
40981
|
+
editor.s.setCursorIn(next, key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_RIGHT || key === jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.KEY_DOWN);
|
|
40886
40982
|
}
|
|
40887
|
-
return false;
|
|
40888
40983
|
}
|
|
40984
|
+
editor.synchronizeValues();
|
|
40985
|
+
return false;
|
|
40889
40986
|
});
|
|
40890
40987
|
}
|
|
40891
40988
|
jodit_core_global__WEBPACK_IMPORTED_MODULE_3__/* .pluginSystem */ .pw.add('tableKeyboardNavigation', tableKeyboardNavigation);
|
|
@@ -41720,6 +41817,13 @@ module.exports["default"] = ["Escriba algo...","Acerca de Jodit","Jodit Editor",
|
|
|
41720
41817
|
|
|
41721
41818
|
/***/ }),
|
|
41722
41819
|
|
|
41820
|
+
/***/ 13148:
|
|
41821
|
+
/***/ (function(module) {
|
|
41822
|
+
|
|
41823
|
+
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"]
|
|
41824
|
+
|
|
41825
|
+
/***/ }),
|
|
41826
|
+
|
|
41723
41827
|
/***/ 12414:
|
|
41724
41828
|
/***/ (function(module) {
|
|
41725
41829
|
|