jodit-pro 2.0.0-beta.55 → 2.0.0-beta.57
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/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +45 -17
- package/es2015/jodit.min.js +2 -2
- package/es2015/plugins/autocomplete/autocomplete.js +1 -1
- package/es2015/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2015/plugins/backup/backup.css +1 -1
- package/es2015/plugins/backup/backup.js +1 -1
- package/es2015/plugins/backup/backup.min.js +1 -1
- package/es2015/plugins/button-generator/button-generator.css +1 -1
- package/es2015/plugins/button-generator/button-generator.js +1 -1
- package/es2015/plugins/button-generator/button-generator.min.js +1 -1
- package/es2015/plugins/change-case/change-case.js +1 -1
- package/es2015/plugins/change-case/change-case.min.js +1 -1
- package/es2015/plugins/color-picker/color-picker.css +1 -1
- package/es2015/plugins/color-picker/color-picker.js +1 -1
- package/es2015/plugins/color-picker/color-picker.min.js +1 -1
- package/es2015/plugins/emoji/emoji.css +1 -1
- package/es2015/plugins/emoji/emoji.js +1 -1
- package/es2015/plugins/emoji/emoji.min.js +1 -1
- package/es2015/plugins/export-docs/export-docs.js +1 -1
- package/es2015/plugins/export-docs/export-docs.min.js +1 -1
- package/es2015/plugins/finder/finder.css +1 -1
- package/es2015/plugins/finder/finder.js +1 -1
- package/es2015/plugins/finder/finder.min.js +1 -1
- package/es2015/plugins/google-maps/google-maps.css +1 -1
- package/es2015/plugins/google-maps/google-maps.js +1 -1
- package/es2015/plugins/google-maps/google-maps.min.js +1 -1
- package/es2015/plugins/google-search/google-search.js +1 -1
- package/es2015/plugins/google-search/google-search.min.js +1 -1
- package/es2015/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es2015/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2015/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2015/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es2015/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2015/plugins/keyboard/keyboard.css +1 -1
- package/es2015/plugins/keyboard/keyboard.js +1 -1
- package/es2015/plugins/keyboard/keyboard.min.js +1 -1
- package/es2015/plugins/mobile-view/mobile-view.js +1 -1
- package/es2015/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2015/plugins/page-break/page-break.js +1 -1
- package/es2015/plugins/page-break/page-break.min.js +1 -1
- package/es2015/plugins/paste-code/paste-code.css +1 -1
- package/es2015/plugins/paste-code/paste-code.js +1 -1
- package/es2015/plugins/paste-code/paste-code.min.js +1 -1
- package/es2015/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2015/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2015/plugins/show-blocks/show-blocks.js +1 -1
- package/es2015/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2015/plugins/todo-list/todo-list.css +1 -1
- package/es2015/plugins/todo-list/todo-list.js +1 -1
- package/es2015/plugins/todo-list/todo-list.min.js +1 -1
- package/es2015/plugins/translate/translate.css +1 -1
- package/es2015/plugins/translate/translate.js +1 -1
- package/es2015/plugins/translate/translate.min.js +1 -1
- package/es2015/plugins/tune-block/tune-block.css +1 -1
- package/es2015/plugins/tune-block/tune-block.js +1 -1
- package/es2015/plugins/tune-block/tune-block.min.js +1 -1
- package/es2018/jodit.css +1 -1
- package/es2018/jodit.fat.min.js +2 -2
- package/es2018/jodit.js +45 -17
- package/es2018/jodit.min.js +2 -2
- package/es2018/plugins/autocomplete/autocomplete.js +1 -1
- package/es2018/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2018/plugins/backup/backup.css +1 -1
- package/es2018/plugins/backup/backup.js +1 -1
- package/es2018/plugins/backup/backup.min.js +1 -1
- package/es2018/plugins/button-generator/button-generator.css +1 -1
- package/es2018/plugins/button-generator/button-generator.js +1 -1
- package/es2018/plugins/button-generator/button-generator.min.js +1 -1
- package/es2018/plugins/change-case/change-case.js +1 -1
- package/es2018/plugins/change-case/change-case.min.js +1 -1
- package/es2018/plugins/color-picker/color-picker.css +1 -1
- package/es2018/plugins/color-picker/color-picker.js +1 -1
- package/es2018/plugins/color-picker/color-picker.min.js +1 -1
- package/es2018/plugins/emoji/emoji.css +1 -1
- package/es2018/plugins/emoji/emoji.js +1 -1
- package/es2018/plugins/emoji/emoji.min.js +1 -1
- package/es2018/plugins/export-docs/export-docs.js +1 -1
- package/es2018/plugins/export-docs/export-docs.min.js +1 -1
- package/es2018/plugins/finder/finder.css +1 -1
- package/es2018/plugins/finder/finder.js +1 -1
- package/es2018/plugins/finder/finder.min.js +1 -1
- package/es2018/plugins/google-maps/google-maps.css +1 -1
- package/es2018/plugins/google-maps/google-maps.js +1 -1
- package/es2018/plugins/google-maps/google-maps.min.js +1 -1
- package/es2018/plugins/google-search/google-search.js +1 -1
- package/es2018/plugins/google-search/google-search.min.js +1 -1
- package/es2018/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es2018/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2018/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2018/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es2018/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2018/plugins/keyboard/keyboard.css +1 -1
- package/es2018/plugins/keyboard/keyboard.js +1 -1
- package/es2018/plugins/keyboard/keyboard.min.js +1 -1
- package/es2018/plugins/mobile-view/mobile-view.js +1 -1
- package/es2018/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2018/plugins/page-break/page-break.js +1 -1
- package/es2018/plugins/page-break/page-break.min.js +1 -1
- package/es2018/plugins/paste-code/paste-code.css +1 -1
- package/es2018/plugins/paste-code/paste-code.js +1 -1
- package/es2018/plugins/paste-code/paste-code.min.js +1 -1
- package/es2018/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2018/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2018/plugins/show-blocks/show-blocks.js +1 -1
- package/es2018/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2018/plugins/todo-list/todo-list.css +1 -1
- package/es2018/plugins/todo-list/todo-list.js +1 -1
- package/es2018/plugins/todo-list/todo-list.min.js +1 -1
- package/es2018/plugins/translate/translate.css +1 -1
- package/es2018/plugins/translate/translate.js +1 -1
- package/es2018/plugins/translate/translate.min.js +1 -1
- package/es2018/plugins/tune-block/tune-block.css +1 -1
- package/es2018/plugins/tune-block/tune-block.js +1 -1
- package/es2018/plugins/tune-block/tune-block.min.js +1 -1
- package/es2021/jodit.css +1 -1
- package/es2021/jodit.fat.min.js +2 -2
- package/es2021/jodit.js +45 -17
- package/es2021/jodit.min.js +2 -2
- package/es2021/plugins/autocomplete/autocomplete.js +1 -1
- package/es2021/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2021/plugins/backup/backup.css +1 -1
- package/es2021/plugins/backup/backup.js +1 -1
- package/es2021/plugins/backup/backup.min.js +1 -1
- package/es2021/plugins/button-generator/button-generator.css +1 -1
- package/es2021/plugins/button-generator/button-generator.js +1 -1
- package/es2021/plugins/button-generator/button-generator.min.js +1 -1
- package/es2021/plugins/change-case/change-case.js +1 -1
- package/es2021/plugins/change-case/change-case.min.js +1 -1
- package/es2021/plugins/color-picker/color-picker.css +1 -1
- package/es2021/plugins/color-picker/color-picker.js +1 -1
- package/es2021/plugins/color-picker/color-picker.min.js +1 -1
- package/es2021/plugins/emoji/emoji.css +1 -1
- package/es2021/plugins/emoji/emoji.js +1 -1
- package/es2021/plugins/emoji/emoji.min.js +1 -1
- package/es2021/plugins/export-docs/export-docs.js +1 -1
- package/es2021/plugins/export-docs/export-docs.min.js +1 -1
- package/es2021/plugins/finder/finder.css +1 -1
- package/es2021/plugins/finder/finder.js +1 -1
- package/es2021/plugins/finder/finder.min.js +1 -1
- package/es2021/plugins/google-maps/google-maps.css +1 -1
- package/es2021/plugins/google-maps/google-maps.js +1 -1
- package/es2021/plugins/google-maps/google-maps.min.js +1 -1
- package/es2021/plugins/google-search/google-search.js +1 -1
- package/es2021/plugins/google-search/google-search.min.js +1 -1
- package/es2021/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es2021/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2021/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2021/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es2021/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2021/plugins/keyboard/keyboard.css +1 -1
- package/es2021/plugins/keyboard/keyboard.js +1 -1
- package/es2021/plugins/keyboard/keyboard.min.js +1 -1
- package/es2021/plugins/mobile-view/mobile-view.js +1 -1
- package/es2021/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2021/plugins/page-break/page-break.js +1 -1
- package/es2021/plugins/page-break/page-break.min.js +1 -1
- package/es2021/plugins/paste-code/paste-code.css +1 -1
- package/es2021/plugins/paste-code/paste-code.js +1 -1
- package/es2021/plugins/paste-code/paste-code.min.js +1 -1
- package/es2021/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2021/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2021/plugins/show-blocks/show-blocks.js +1 -1
- package/es2021/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2021/plugins/todo-list/todo-list.css +1 -1
- package/es2021/plugins/todo-list/todo-list.js +1 -1
- package/es2021/plugins/todo-list/todo-list.min.js +1 -1
- package/es2021/plugins/translate/translate.css +1 -1
- package/es2021/plugins/translate/translate.js +1 -1
- package/es2021/plugins/translate/translate.min.js +1 -1
- package/es2021/plugins/tune-block/tune-block.css +1 -1
- package/es2021/plugins/tune-block/tune-block.js +1 -1
- package/es2021/plugins/tune-block/tune-block.min.js +1 -1
- package/es2021.en/jodit.css +1 -1
- package/es2021.en/jodit.fat.min.js +2 -2
- package/es2021.en/jodit.js +45 -17
- package/es2021.en/jodit.min.js +2 -2
- package/es2021.en/plugins/autocomplete/autocomplete.js +1 -1
- package/es2021.en/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2021.en/plugins/backup/backup.css +1 -1
- package/es2021.en/plugins/backup/backup.js +1 -1
- package/es2021.en/plugins/backup/backup.min.js +1 -1
- package/es2021.en/plugins/button-generator/button-generator.css +1 -1
- package/es2021.en/plugins/button-generator/button-generator.js +1 -1
- package/es2021.en/plugins/button-generator/button-generator.min.js +1 -1
- package/es2021.en/plugins/change-case/change-case.js +1 -1
- package/es2021.en/plugins/change-case/change-case.min.js +1 -1
- package/es2021.en/plugins/color-picker/color-picker.css +1 -1
- package/es2021.en/plugins/color-picker/color-picker.js +1 -1
- package/es2021.en/plugins/color-picker/color-picker.min.js +1 -1
- package/es2021.en/plugins/emoji/emoji.css +1 -1
- package/es2021.en/plugins/emoji/emoji.js +1 -1
- package/es2021.en/plugins/emoji/emoji.min.js +1 -1
- package/es2021.en/plugins/export-docs/export-docs.js +1 -1
- package/es2021.en/plugins/export-docs/export-docs.min.js +1 -1
- package/es2021.en/plugins/finder/finder.css +1 -1
- package/es2021.en/plugins/finder/finder.js +1 -1
- package/es2021.en/plugins/finder/finder.min.js +1 -1
- package/es2021.en/plugins/google-maps/google-maps.css +1 -1
- package/es2021.en/plugins/google-maps/google-maps.js +1 -1
- package/es2021.en/plugins/google-maps/google-maps.min.js +1 -1
- package/es2021.en/plugins/google-search/google-search.js +1 -1
- package/es2021.en/plugins/google-search/google-search.min.js +1 -1
- package/es2021.en/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es2021.en/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2021.en/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2021.en/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es2021.en/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2021.en/plugins/keyboard/keyboard.css +1 -1
- package/es2021.en/plugins/keyboard/keyboard.js +1 -1
- package/es2021.en/plugins/keyboard/keyboard.min.js +1 -1
- package/es2021.en/plugins/mobile-view/mobile-view.js +1 -1
- package/es2021.en/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2021.en/plugins/page-break/page-break.js +1 -1
- package/es2021.en/plugins/page-break/page-break.min.js +1 -1
- package/es2021.en/plugins/paste-code/paste-code.css +1 -1
- package/es2021.en/plugins/paste-code/paste-code.js +1 -1
- package/es2021.en/plugins/paste-code/paste-code.min.js +1 -1
- package/es2021.en/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2021.en/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2021.en/plugins/show-blocks/show-blocks.js +1 -1
- package/es2021.en/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2021.en/plugins/todo-list/todo-list.css +1 -1
- package/es2021.en/plugins/todo-list/todo-list.js +1 -1
- package/es2021.en/plugins/todo-list/todo-list.min.js +1 -1
- package/es2021.en/plugins/translate/translate.css +1 -1
- package/es2021.en/plugins/translate/translate.js +1 -1
- package/es2021.en/plugins/translate/translate.min.js +1 -1
- package/es2021.en/plugins/tune-block/tune-block.css +1 -1
- package/es2021.en/plugins/tune-block/tune-block.js +1 -1
- package/es2021.en/plugins/tune-block/tune-block.min.js +1 -1
- package/es5/jodit.css +2 -2
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +68 -23
- package/es5/jodit.min.css +2 -2
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/autocomplete/autocomplete.js +1 -1
- package/es5/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es5/plugins/backup/backup.css +1 -1
- package/es5/plugins/backup/backup.js +1 -1
- package/es5/plugins/backup/backup.min.js +1 -1
- package/es5/plugins/button-generator/button-generator.css +1 -1
- package/es5/plugins/button-generator/button-generator.js +1 -1
- package/es5/plugins/button-generator/button-generator.min.js +1 -1
- package/es5/plugins/change-case/change-case.js +1 -1
- package/es5/plugins/change-case/change-case.min.js +1 -1
- package/es5/plugins/color-picker/color-picker.css +1 -1
- package/es5/plugins/color-picker/color-picker.js +1 -1
- package/es5/plugins/color-picker/color-picker.min.js +1 -1
- package/es5/plugins/emoji/emoji.css +1 -1
- package/es5/plugins/emoji/emoji.js +1 -1
- package/es5/plugins/emoji/emoji.min.js +1 -1
- package/es5/plugins/export-docs/export-docs.js +1 -1
- package/es5/plugins/export-docs/export-docs.min.js +1 -1
- package/es5/plugins/finder/finder.css +1 -1
- package/es5/plugins/finder/finder.js +1 -1
- package/es5/plugins/finder/finder.min.js +1 -1
- package/es5/plugins/google-maps/google-maps.css +1 -1
- package/es5/plugins/google-maps/google-maps.js +1 -1
- package/es5/plugins/google-maps/google-maps.min.js +1 -1
- package/es5/plugins/google-search/google-search.js +1 -1
- package/es5/plugins/google-search/google-search.min.js +1 -1
- package/es5/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es5/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es5/plugins/keyboard/keyboard.css +1 -1
- package/es5/plugins/keyboard/keyboard.js +1 -1
- package/es5/plugins/keyboard/keyboard.min.js +1 -1
- package/es5/plugins/mobile-view/mobile-view.js +1 -1
- package/es5/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es5/plugins/page-break/page-break.js +1 -1
- package/es5/plugins/page-break/page-break.min.js +1 -1
- package/es5/plugins/paste-code/paste-code.css +1 -1
- package/es5/plugins/paste-code/paste-code.js +1 -1
- package/es5/plugins/paste-code/paste-code.min.js +1 -1
- package/es5/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es5/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es5/plugins/show-blocks/show-blocks.js +1 -1
- package/es5/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es5/plugins/todo-list/todo-list.css +1 -1
- package/es5/plugins/todo-list/todo-list.js +1 -1
- package/es5/plugins/todo-list/todo-list.min.js +1 -1
- package/es5/plugins/translate/translate.css +1 -1
- package/es5/plugins/translate/translate.js +1 -1
- package/es5/plugins/translate/translate.min.js +1 -1
- package/es5/plugins/tune-block/tune-block.css +1 -1
- package/es5/plugins/tune-block/tune-block.js +1 -1
- package/es5/plugins/tune-block/tune-block.min.js +1 -1
- package/package.json +1 -1
package/es2018/jodit.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valeriy <chupurnov@gmail.com>
|
|
4
|
-
* Version: v2.0.0-beta.
|
|
4
|
+
* Version: v2.0.0-beta.57
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -2406,7 +2406,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2406
2406
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
2407
2407
|
* Copyright (c) 2013-2023 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
2408
2408
|
*/
|
|
2409
|
-
const APP_VERSION = "2.0.0-beta.
|
|
2409
|
+
const APP_VERSION = "2.0.0-beta.57";
|
|
2410
2410
|
// prettier-ignore
|
|
2411
2411
|
const ES = "es2018";
|
|
2412
2412
|
const IS_ES_MODERN = true;
|
|
@@ -14385,6 +14385,7 @@ UIForm = (0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .gn)([
|
|
|
14385
14385
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14386
14386
|
/* harmony export */ Cj: function() { return /* reexport safe */ _inputs__WEBPACK_IMPORTED_MODULE_1__.Cj; },
|
|
14387
14387
|
/* harmony export */ GJ: function() { return /* reexport safe */ _inputs__WEBPACK_IMPORTED_MODULE_1__.GJ; },
|
|
14388
|
+
/* harmony export */ Z: function() { return /* reexport safe */ _inputs__WEBPACK_IMPORTED_MODULE_1__.Z; },
|
|
14388
14389
|
/* harmony export */ eC: function() { return /* reexport safe */ _block_block__WEBPACK_IMPORTED_MODULE_2__.e; },
|
|
14389
14390
|
/* harmony export */ mA: function() { return /* reexport safe */ _inputs__WEBPACK_IMPORTED_MODULE_1__.mA; },
|
|
14390
14391
|
/* harmony export */ u3: function() { return /* reexport safe */ _inputs__WEBPACK_IMPORTED_MODULE_1__.u3; },
|
|
@@ -14415,9 +14416,10 @@ UIForm = (0,tslib__WEBPACK_IMPORTED_MODULE_5__/* .__decorate */ .gn)([
|
|
|
14415
14416
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14416
14417
|
/* harmony export */ G: function() { return /* binding */ UITextArea; }
|
|
14417
14418
|
/* harmony export */ });
|
|
14418
|
-
/* harmony import */ var
|
|
14419
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(97582);
|
|
14419
14420
|
/* harmony import */ var jodit_core_ui_form_inputs_input_input__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(77902);
|
|
14420
|
-
/* harmony import */ var
|
|
14421
|
+
/* harmony import */ var jodit_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(94707);
|
|
14422
|
+
/* harmony import */ var jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(50526);
|
|
14421
14423
|
/*!
|
|
14422
14424
|
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
14423
14425
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
@@ -14431,21 +14433,29 @@ var UITextArea_1;
|
|
|
14431
14433
|
|
|
14432
14434
|
|
|
14433
14435
|
|
|
14436
|
+
|
|
14434
14437
|
let UITextArea = UITextArea_1 = class UITextArea extends jodit_core_ui_form_inputs_input_input__WEBPACK_IMPORTED_MODULE_0__/* .UIInput */ .u {
|
|
14435
14438
|
/** @override */
|
|
14436
14439
|
className() {
|
|
14437
14440
|
return 'UITextArea';
|
|
14438
14441
|
}
|
|
14442
|
+
createNativeInput(options) {
|
|
14443
|
+
return this.j.create.element('textarea');
|
|
14444
|
+
}
|
|
14439
14445
|
constructor(jodit, state) {
|
|
14440
14446
|
super(jodit, state);
|
|
14441
14447
|
/** @override */
|
|
14442
14448
|
this.state = { ...UITextArea_1.defaultState };
|
|
14443
|
-
this.nativeInput = this.j.create.element('textarea');
|
|
14444
14449
|
Object.assign(this.state, state);
|
|
14445
14450
|
if (this.state.resizable === false) {
|
|
14446
14451
|
this.nativeInput.style.resize = 'none';
|
|
14447
14452
|
}
|
|
14448
14453
|
}
|
|
14454
|
+
onChangeStateSize() {
|
|
14455
|
+
const { size, resizable } = this.state;
|
|
14456
|
+
this.nativeInput.style.resize = resizable ? 'auto' : 'none';
|
|
14457
|
+
this.nativeInput.rows = size !== null && size !== void 0 ? size : 5;
|
|
14458
|
+
}
|
|
14449
14459
|
};
|
|
14450
14460
|
/** @override */
|
|
14451
14461
|
UITextArea.defaultState = {
|
|
@@ -14453,8 +14463,11 @@ UITextArea.defaultState = {
|
|
|
14453
14463
|
size: 5,
|
|
14454
14464
|
resizable: true
|
|
14455
14465
|
};
|
|
14456
|
-
|
|
14457
|
-
|
|
14466
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_2__/* .__decorate */ .gn)([
|
|
14467
|
+
(0,jodit_core_decorators__WEBPACK_IMPORTED_MODULE_1__.watch)(['state.size', 'state.resizable'])
|
|
14468
|
+
], UITextArea.prototype, "onChangeStateSize", null);
|
|
14469
|
+
UITextArea = UITextArea_1 = (0,tslib__WEBPACK_IMPORTED_MODULE_2__/* .__decorate */ .gn)([
|
|
14470
|
+
jodit_core_decorators_component_component__WEBPACK_IMPORTED_MODULE_3__/* .component */ .w
|
|
14458
14471
|
], UITextArea);
|
|
14459
14472
|
|
|
14460
14473
|
|
|
@@ -14632,6 +14645,7 @@ UIFileInput = (0,tslib__WEBPACK_IMPORTED_MODULE_2__/* .__decorate */ .gn)([
|
|
|
14632
14645
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
14633
14646
|
/* harmony export */ Cj: function() { return /* reexport safe */ _select_select__WEBPACK_IMPORTED_MODULE_3__.C; },
|
|
14634
14647
|
/* harmony export */ GJ: function() { return /* reexport safe */ _area_area__WEBPACK_IMPORTED_MODULE_1__.G; },
|
|
14648
|
+
/* harmony export */ Z: function() { return /* reexport safe */ _file_file__WEBPACK_IMPORTED_MODULE_4__.Z; },
|
|
14635
14649
|
/* harmony export */ mA: function() { return /* reexport safe */ _checkbox_checkbox__WEBPACK_IMPORTED_MODULE_2__.m; },
|
|
14636
14650
|
/* harmony export */ u3: function() { return /* reexport safe */ _input_input__WEBPACK_IMPORTED_MODULE_0__.u; }
|
|
14637
14651
|
/* harmony export */ });
|
|
@@ -15248,6 +15262,7 @@ UIGroup = UIGroup_1 = (0,tslib__WEBPACK_IMPORTED_MODULE_6__/* .__decorate */ .gn
|
|
|
15248
15262
|
|
|
15249
15263
|
"use strict";
|
|
15250
15264
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15265
|
+
/* harmony export */ WT: function() { return /* reexport safe */ _spacer__WEBPACK_IMPORTED_MODULE_3__.W; },
|
|
15251
15266
|
/* harmony export */ bz: function() { return /* reexport safe */ _list__WEBPACK_IMPORTED_MODULE_1__.b; },
|
|
15252
15267
|
/* harmony export */ lU: function() { return /* reexport safe */ _separator__WEBPACK_IMPORTED_MODULE_2__.l; },
|
|
15253
15268
|
/* harmony export */ qe: function() { return /* reexport safe */ _group__WEBPACK_IMPORTED_MODULE_0__.q; }
|
|
@@ -15789,6 +15804,9 @@ Icon.__cache = new Map();
|
|
|
15789
15804
|
/* harmony export */ GJ: function() { return /* reexport safe */ _form__WEBPACK_IMPORTED_MODULE_4__.GJ; },
|
|
15790
15805
|
/* harmony export */ JO: function() { return /* reexport safe */ _icon__WEBPACK_IMPORTED_MODULE_5__.J; },
|
|
15791
15806
|
/* harmony export */ Ne: function() { return /* reexport safe */ _button__WEBPACK_IMPORTED_MODULE_1__.Ne; },
|
|
15807
|
+
/* harmony export */ WT: function() { return /* reexport safe */ _group__WEBPACK_IMPORTED_MODULE_3__.WT; },
|
|
15808
|
+
/* harmony export */ Yc: function() { return /* reexport safe */ _button__WEBPACK_IMPORTED_MODULE_1__.Yc; },
|
|
15809
|
+
/* harmony export */ Z: function() { return /* reexport safe */ _form__WEBPACK_IMPORTED_MODULE_4__.Z; },
|
|
15792
15810
|
/* harmony export */ bz: function() { return /* reexport safe */ _group__WEBPACK_IMPORTED_MODULE_3__.bz; },
|
|
15793
15811
|
/* harmony export */ eC: function() { return /* reexport safe */ _form__WEBPACK_IMPORTED_MODULE_4__.eC; },
|
|
15794
15812
|
/* harmony export */ ko: function() { return /* reexport safe */ _progress_bar_progress_bar__WEBPACK_IMPORTED_MODULE_6__.k; },
|
|
@@ -22427,6 +22445,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
22427
22445
|
/* harmony export */ Ajax: function() { return /* reexport safe */ jodit_core_request__WEBPACK_IMPORTED_MODULE_2__.t; },
|
|
22428
22446
|
/* harmony export */ Alert: function() { return /* reexport safe */ _dialog___WEBPACK_IMPORTED_MODULE_5__.bZ; },
|
|
22429
22447
|
/* harmony export */ Async: function() { return /* reexport safe */ jodit_core_async__WEBPACK_IMPORTED_MODULE_1__.e; },
|
|
22448
|
+
/* harmony export */ Button: function() { return /* reexport safe */ jodit_core_ui__WEBPACK_IMPORTED_MODULE_9__.zx; },
|
|
22430
22449
|
/* harmony export */ CommitStyle: function() { return /* reexport safe */ jodit_core_selection__WEBPACK_IMPORTED_MODULE_17__.RP; },
|
|
22431
22450
|
/* harmony export */ Component: function() { return /* reexport safe */ jodit_core_component__WEBPACK_IMPORTED_MODULE_3__.wA; },
|
|
22432
22451
|
/* harmony export */ Confirm: function() { return /* reexport safe */ _dialog___WEBPACK_IMPORTED_MODULE_5__.I4; },
|
|
@@ -22461,15 +22480,21 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
22461
22480
|
/* harmony export */ ToolbarSelect: function() { return /* reexport safe */ _toolbar_button__WEBPACK_IMPORTED_MODULE_22__.vT; },
|
|
22462
22481
|
/* harmony export */ UIBlock: function() { return /* reexport safe */ jodit_core_ui__WEBPACK_IMPORTED_MODULE_9__.eC; },
|
|
22463
22482
|
/* harmony export */ UIButton: function() { return /* reexport safe */ jodit_core_ui__WEBPACK_IMPORTED_MODULE_9__.y3; },
|
|
22483
|
+
/* harmony export */ UIButtonGroup: function() { return /* reexport safe */ jodit_core_ui__WEBPACK_IMPORTED_MODULE_9__.BO; },
|
|
22484
|
+
/* harmony export */ UIButtonState: function() { return /* reexport safe */ jodit_core_ui__WEBPACK_IMPORTED_MODULE_9__.Yc; },
|
|
22464
22485
|
/* harmony export */ UICheckbox: function() { return /* reexport safe */ jodit_core_ui__WEBPACK_IMPORTED_MODULE_9__.mA; },
|
|
22465
22486
|
/* harmony export */ UIElement: function() { return /* reexport safe */ jodit_core_ui__WEBPACK_IMPORTED_MODULE_9__.u1; },
|
|
22487
|
+
/* harmony export */ UIFileInput: function() { return /* reexport safe */ jodit_core_ui__WEBPACK_IMPORTED_MODULE_9__.Z; },
|
|
22466
22488
|
/* harmony export */ UIForm: function() { return /* reexport safe */ jodit_core_ui__WEBPACK_IMPORTED_MODULE_9__.x4; },
|
|
22467
22489
|
/* harmony export */ UIGroup: function() { return /* reexport safe */ jodit_core_ui__WEBPACK_IMPORTED_MODULE_9__.qe; },
|
|
22468
22490
|
/* harmony export */ UIInput: function() { return /* reexport safe */ jodit_core_ui__WEBPACK_IMPORTED_MODULE_9__.u3; },
|
|
22469
22491
|
/* harmony export */ UIList: function() { return /* reexport safe */ jodit_core_ui__WEBPACK_IMPORTED_MODULE_9__.bz; },
|
|
22470
22492
|
/* harmony export */ UIMessages: function() { return /* reexport safe */ _messages_messages__WEBPACK_IMPORTED_MODULE_24__.D; },
|
|
22493
|
+
/* harmony export */ UISelect: function() { return /* reexport safe */ jodit_core_ui__WEBPACK_IMPORTED_MODULE_9__.Cj; },
|
|
22471
22494
|
/* harmony export */ UISeparator: function() { return /* reexport safe */ jodit_core_ui__WEBPACK_IMPORTED_MODULE_9__.lU; },
|
|
22495
|
+
/* harmony export */ UISpacer: function() { return /* reexport safe */ jodit_core_ui__WEBPACK_IMPORTED_MODULE_9__.WT; },
|
|
22472
22496
|
/* harmony export */ UITextArea: function() { return /* reexport safe */ jodit_core_ui__WEBPACK_IMPORTED_MODULE_9__.GJ; },
|
|
22497
|
+
/* harmony export */ UITooltip: function() { return /* reexport safe */ jodit_core_ui__WEBPACK_IMPORTED_MODULE_9__.Ne; },
|
|
22473
22498
|
/* harmony export */ Uploader: function() { return /* reexport safe */ _uploader_uploader__WEBPACK_IMPORTED_MODULE_23__.Q; },
|
|
22474
22499
|
/* harmony export */ View: function() { return /* reexport safe */ jodit_core_view_view__WEBPACK_IMPORTED_MODULE_10__.G; },
|
|
22475
22500
|
/* harmony export */ ViewComponent: function() { return /* reexport safe */ jodit_core_component__WEBPACK_IMPORTED_MODULE_3__.Hr; },
|
|
@@ -35097,6 +35122,7 @@ jodit_core_global__WEBPACK_IMPORTED_MODULE_5__/* .pluginSystem */ .pw.add('paste
|
|
|
35097
35122
|
jodit_config__WEBPACK_IMPORTED_MODULE_1__.Config.prototype.askBeforePasteHTML = true;
|
|
35098
35123
|
jodit_config__WEBPACK_IMPORTED_MODULE_1__.Config.prototype.processPasteHTML = true;
|
|
35099
35124
|
jodit_config__WEBPACK_IMPORTED_MODULE_1__.Config.prototype.scrollToPastedContent = true;
|
|
35125
|
+
jodit_config__WEBPACK_IMPORTED_MODULE_1__.Config.prototype.pasteExcludeStripTags = ['br', 'hr'];
|
|
35100
35126
|
jodit_config__WEBPACK_IMPORTED_MODULE_1__.Config.prototype.pasteHTMLActionList = [
|
|
35101
35127
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_AS_HTML, text: 'Keep' },
|
|
35102
35128
|
{ value: jodit_core_constants__WEBPACK_IMPORTED_MODULE_0__.INSERT_AS_TEXT, text: 'Insert as Text' },
|
|
@@ -35371,16 +35397,18 @@ class paste extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_0__/* .Plu
|
|
|
35371
35397
|
if (!this.j.o.processPasteHTML) {
|
|
35372
35398
|
return;
|
|
35373
35399
|
}
|
|
35374
|
-
const dt = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.getDataTransfer)(e), texts =
|
|
35375
|
-
|
|
35376
|
-
|
|
35377
|
-
|
|
35378
|
-
|
|
35379
|
-
|
|
35380
|
-
for (key in texts) {
|
|
35381
|
-
const value = texts[key];
|
|
35400
|
+
const dt = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.getDataTransfer)(e), texts = [
|
|
35401
|
+
dt === null || dt === void 0 ? void 0 : dt.getData(jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.TEXT_PLAIN),
|
|
35402
|
+
dt === null || dt === void 0 ? void 0 : dt.getData(jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.TEXT_HTML),
|
|
35403
|
+
dt === null || dt === void 0 ? void 0 : dt.getData(jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.TEXT_RTF)
|
|
35404
|
+
];
|
|
35405
|
+
for (const value of texts) {
|
|
35382
35406
|
if ((0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.isHTML)(value) &&
|
|
35383
|
-
(this.j.e.fire('processHTML', e, value,
|
|
35407
|
+
(this.j.e.fire('processHTML', e, value, {
|
|
35408
|
+
plain: texts[0],
|
|
35409
|
+
html: texts[1],
|
|
35410
|
+
rtf: texts[2]
|
|
35411
|
+
}) ||
|
|
35384
35412
|
this.processHTML(e, value))) {
|
|
35385
35413
|
return false;
|
|
35386
35414
|
}
|
|
@@ -35445,7 +35473,7 @@ class paste extends jodit_core_plugin_plugin__WEBPACK_IMPORTED_MODULE_0__/* .Plu
|
|
|
35445
35473
|
html = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.cleanFromWord)(html);
|
|
35446
35474
|
break;
|
|
35447
35475
|
case jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.INSERT_ONLY_TEXT:
|
|
35448
|
-
html = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.stripTags)(html);
|
|
35476
|
+
html = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.stripTags)(html, this.j.ed, new Set(this.j.o.pasteExcludeStripTags));
|
|
35449
35477
|
break;
|
|
35450
35478
|
case jodit_core_constants__WEBPACK_IMPORTED_MODULE_1__.INSERT_AS_TEXT:
|
|
35451
35479
|
html = (0,jodit_core_helpers__WEBPACK_IMPORTED_MODULE_4__.htmlspecialchars)(html);
|