jodit-pro 4.9.22 → 4.9.25
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 +63 -1
- package/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +43 -43
- package/es2015/jodit.js +55 -27
- package/es2015/jodit.min.js +6 -6
- package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
- package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.js +193 -161
- package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.min.js +30 -30
- 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/style/style.css +1 -1
- package/es2015/plugins/style/style.js +1 -1
- package/es2015/plugins/style/style.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.fat.min.js +28 -28
- package/es2018/jodit.min.js +6 -6
- package/es2018/plugins/ai-assistant-pro/ai-assistant-pro.min.js +20 -20
- package/es2018/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2018/plugins/backup/backup.min.js +1 -1
- package/es2018/plugins/button-generator/button-generator.min.js +1 -1
- package/es2018/plugins/change-case/change-case.min.js +1 -1
- package/es2018/plugins/color-picker/color-picker.min.js +1 -1
- package/es2018/plugins/emoji/emoji.min.js +1 -1
- package/es2018/plugins/export-docs/export-docs.min.js +1 -1
- package/es2018/plugins/finder/finder.min.js +1 -1
- package/es2018/plugins/google-maps/google-maps.min.js +1 -1
- package/es2018/plugins/google-search/google-search.min.js +1 -1
- package/es2018/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2018/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2018/plugins/keyboard/keyboard.min.js +1 -1
- package/es2018/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2018/plugins/page-break/page-break.min.js +1 -1
- package/es2018/plugins/paste-code/paste-code.min.js +1 -1
- package/es2018/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2018/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2018/plugins/style/style.min.js +1 -1
- package/es2018/plugins/todo-list/todo-list.min.js +1 -1
- package/es2018/plugins/translate/translate.min.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 +29 -29
- package/es2021/jodit.js +55 -27
- package/es2021/jodit.min.js +8 -8
- package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
- package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.js +194 -162
- package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.min.js +20 -20
- 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/style/style.css +1 -1
- package/es2021/plugins/style/style.js +1 -1
- package/es2021/plugins/style/style.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 +83 -83
- package/es2021.en/jodit.js +55 -27
- package/es2021.en/jodit.min.js +8 -8
- package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
- package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.js +194 -162
- package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.min.js +20 -20
- 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/style/style.css +1 -1
- package/es2021.en/plugins/style/style.js +1 -1
- package/es2021.en/plugins/style/style.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 +64 -27
- package/es5/jodit.min.css +2 -2
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
- package/es5/plugins/ai-assistant-pro/ai-assistant-pro.js +221 -174
- package/es5/plugins/ai-assistant-pro/ai-assistant-pro.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/style/style.css +1 -1
- package/es5/plugins/style/style.js +1 -1
- package/es5/plugins/style/style.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/es5/polyfills.fat.min.js +1 -1
- package/es5/polyfills.js +1 -1
- package/es5/polyfills.min.js +1 -1
- package/esm/plugins/ai-assistant-pro/ui/input-area/input-area.d.ts +5 -1
- package/esm/plugins/ai-assistant-pro/ui/main-panel/main-panel.d.ts +1 -1
- package/esm/plugins/ai-assistant-pro/ui/settings-button/settings-button.d.ts +7 -1
- package/esm/plugins/ai-assistant-pro/ui/settings-popup/dialog-settings.d.ts +3 -1
- package/esm/plugins/ai-assistant-pro/ui/settings-popup/global-settings.d.ts +5 -1
- package/esm/plugins/ai-assistant-pro/ui/settings-popup/settings-popup.d.ts +7 -1
- package/package.json +1 -1
- package/types/plugins/ai-assistant-pro/ui/input-area/input-area.d.ts +5 -1
- package/types/plugins/ai-assistant-pro/ui/main-panel/main-panel.d.ts +1 -1
- package/types/plugins/ai-assistant-pro/ui/settings-button/settings-button.d.ts +7 -1
- package/types/plugins/ai-assistant-pro/ui/settings-popup/dialog-settings.d.ts +3 -1
- package/types/plugins/ai-assistant-pro/ui/settings-popup/global-settings.d.ts +5 -1
- package/types/plugins/ai-assistant-pro/ui/settings-popup/settings-popup.d.ts +7 -1
package/es5/jodit.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valerii <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.9.
|
|
4
|
+
* Version: v4.9.25
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -5571,7 +5571,7 @@ function _ts_values(o) {
|
|
|
5571
5571
|
key: "temporaryList",
|
|
5572
5572
|
value: /**
|
|
5573
5573
|
* Get temporary list
|
|
5574
|
-
* @deprecated
|
|
5574
|
+
* @deprecated Just do not use it, it is not needed anymore
|
|
5575
5575
|
*/ function temporaryList(root) {
|
|
5576
5576
|
return (0,_helpers_array_to_array_js__WEBPACK_IMPORTED_MODULE_1__.toArray)(root.querySelectorAll("[".concat(_constants_js__WEBPACK_IMPORTED_MODULE_0__.TEMP_ATTR, "]")));
|
|
5577
5577
|
}
|
|
@@ -11056,7 +11056,7 @@ var UIButton = /*#__PURE__*/ function(UIElement) {
|
|
|
11056
11056
|
key: "onChangeText",
|
|
11057
11057
|
value: function onChangeText() {
|
|
11058
11058
|
this.text.textContent = this.jodit.i18n(this.state.text);
|
|
11059
|
-
this.
|
|
11059
|
+
this.updateAriaLabel();
|
|
11060
11060
|
}
|
|
11061
11061
|
},
|
|
11062
11062
|
{
|
|
@@ -11094,12 +11094,12 @@ var UIButton = /*#__PURE__*/ function(UIElement) {
|
|
|
11094
11094
|
(0,_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_8__.attr)(this.container, 'title', i8nTooltip);
|
|
11095
11095
|
}
|
|
11096
11096
|
(0,_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_8__.attr)(this.container, 'aria-label', i8nTooltip);
|
|
11097
|
-
this.
|
|
11097
|
+
this.updateAriaLabel();
|
|
11098
11098
|
}
|
|
11099
11099
|
},
|
|
11100
11100
|
{
|
|
11101
|
-
key: "
|
|
11102
|
-
value: function
|
|
11101
|
+
key: "updateAriaLabel",
|
|
11102
|
+
value: function updateAriaLabel() {
|
|
11103
11103
|
var hasText = this.state.text.trim().length > 0;
|
|
11104
11104
|
var i8nTooltip = this.state.tooltip ? this.jodit.i18n(this.state.tooltip) : null;
|
|
11105
11105
|
(0,_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_8__.attr)(this.container, 'aria-label', i8nTooltip);
|
|
@@ -11762,6 +11762,12 @@ var ToolbarCollection = /*#__PURE__*/ function(UIList) {
|
|
|
11762
11762
|
return 'ToolbarCollection';
|
|
11763
11763
|
}
|
|
11764
11764
|
},
|
|
11765
|
+
{
|
|
11766
|
+
key: "getRole",
|
|
11767
|
+
value: function getRole() {
|
|
11768
|
+
return 'toolbar';
|
|
11769
|
+
}
|
|
11770
|
+
},
|
|
11765
11771
|
{
|
|
11766
11772
|
key: "firstButton",
|
|
11767
11773
|
get: /**
|
|
@@ -20642,11 +20648,17 @@ var UIList = /*#__PURE__*/ function(UIGroup1) {
|
|
|
20642
20648
|
}
|
|
20643
20649
|
_create_class(UIList, [
|
|
20644
20650
|
{
|
|
20645
|
-
|
|
20651
|
+
key: "className",
|
|
20646
20652
|
value: function className() {
|
|
20647
20653
|
return 'UIList';
|
|
20648
20654
|
}
|
|
20649
20655
|
},
|
|
20656
|
+
{
|
|
20657
|
+
key: "getRole",
|
|
20658
|
+
value: function getRole() {
|
|
20659
|
+
return 'list';
|
|
20660
|
+
}
|
|
20661
|
+
},
|
|
20650
20662
|
{
|
|
20651
20663
|
key: "__onChangeMode",
|
|
20652
20664
|
value: function __onChangeMode() {
|
|
@@ -20657,8 +20669,10 @@ var UIList = /*#__PURE__*/ function(UIGroup1) {
|
|
|
20657
20669
|
/**
|
|
20658
20670
|
* Make new group and append it in list of elements
|
|
20659
20671
|
*/ key: "makeGroup",
|
|
20660
|
-
value: function makeGroup() {
|
|
20661
|
-
return new _group_js__WEBPACK_IMPORTED_MODULE_6__.UIGroup(this.jodit
|
|
20672
|
+
value: function makeGroup(role) {
|
|
20673
|
+
return new _group_js__WEBPACK_IMPORTED_MODULE_6__.UIGroup(this.jodit, [], role ? {
|
|
20674
|
+
role: role
|
|
20675
|
+
} : undefined);
|
|
20662
20676
|
}
|
|
20663
20677
|
},
|
|
20664
20678
|
{
|
|
@@ -20698,7 +20712,7 @@ var UIList = /*#__PURE__*/ function(UIGroup1) {
|
|
|
20698
20712
|
items = (0,_helpers_array_split_array_js__WEBPACK_IMPORTED_MODULE_4__.splitArray)(items);
|
|
20699
20713
|
this.clear();
|
|
20700
20714
|
var lastBtnSeparator = false;
|
|
20701
|
-
var line = this.makeGroup();
|
|
20715
|
+
var line = this.makeGroup('group');
|
|
20702
20716
|
this.append(line);
|
|
20703
20717
|
line.setMod('line', true);
|
|
20704
20718
|
var group;
|
|
@@ -20706,7 +20720,7 @@ var UIList = /*#__PURE__*/ function(UIGroup1) {
|
|
|
20706
20720
|
var elm = null;
|
|
20707
20721
|
switch(control.name){
|
|
20708
20722
|
case '\n':
|
|
20709
|
-
line = _this.makeGroup();
|
|
20723
|
+
line = _this.makeGroup('group');
|
|
20710
20724
|
line.setMod('line', true);
|
|
20711
20725
|
group = _this.makeGroup();
|
|
20712
20726
|
line.append(group);
|
|
@@ -30443,6 +30457,7 @@ var ToolbarEditorCollection = /*#__PURE__*/ function(ToolbarCollection) {
|
|
|
30443
30457
|
*/ key: "prependInvisibleInput",
|
|
30444
30458
|
value: function prependInvisibleInput(container) {
|
|
30445
30459
|
var input = this.j.create.element('input', {
|
|
30460
|
+
name: 'jodit-toolbar-focus-helper_' + this.j.id,
|
|
30446
30461
|
tabIndex: -1,
|
|
30447
30462
|
disabled: true,
|
|
30448
30463
|
style: 'width: 0; height:0; position: absolute; visibility: hidden;'
|
|
@@ -37007,6 +37022,7 @@ var UIElement = UIElement_1 = /*#__PURE__*/ function(ViewComponent) {
|
|
|
37007
37022
|
_this.name = '';
|
|
37008
37023
|
_this.__parentElement = null;
|
|
37009
37024
|
_this.mods = {};
|
|
37025
|
+
_this.options = options;
|
|
37010
37026
|
_this.container = _this.createContainer(options);
|
|
37011
37027
|
var role = _this.getRole();
|
|
37012
37028
|
role && (0,_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_4__.attr)(_this.container, 'role', role);
|
|
@@ -37020,7 +37036,8 @@ var UIElement = UIElement_1 = /*#__PURE__*/ function(ViewComponent) {
|
|
|
37020
37036
|
{
|
|
37021
37037
|
key: "getRole",
|
|
37022
37038
|
value: function getRole() {
|
|
37023
|
-
|
|
37039
|
+
var _a;
|
|
37040
|
+
return ((_a = this.options) === null || _a === void 0 ? void 0 : _a.role) || '';
|
|
37024
37041
|
}
|
|
37025
37042
|
},
|
|
37026
37043
|
{
|
|
@@ -47670,7 +47687,8 @@ var UIGroup = UIGroup_1 = /*#__PURE__*/ function(UIElement) {
|
|
|
47670
47687
|
{
|
|
47671
47688
|
key: "getRole",
|
|
47672
47689
|
value: function getRole() {
|
|
47673
|
-
|
|
47690
|
+
var _a;
|
|
47691
|
+
return ((_a = this.options) === null || _a === void 0 ? void 0 : _a.role) || 'list';
|
|
47674
47692
|
}
|
|
47675
47693
|
},
|
|
47676
47694
|
{
|
|
@@ -58161,6 +58179,16 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
58161
58179
|
return 'listitem';
|
|
58162
58180
|
}
|
|
58163
58181
|
},
|
|
58182
|
+
{
|
|
58183
|
+
key: "updateAriaLabel",
|
|
58184
|
+
value: function updateAriaLabel() {
|
|
58185
|
+
_get(_get_prototype_of(ToolbarButton.prototype), "updateAriaLabel", this).call(this);
|
|
58186
|
+
if (this.trigger) {
|
|
58187
|
+
var i8nTooltip = this.state.tooltip ? this.jodit.i18n(this.state.tooltip) : null;
|
|
58188
|
+
(0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_14__.attr)(this.trigger, 'aria-label', i8nTooltip);
|
|
58189
|
+
}
|
|
58190
|
+
}
|
|
58191
|
+
},
|
|
58164
58192
|
{
|
|
58165
58193
|
key: "toolbar",
|
|
58166
58194
|
get: /**
|
|
@@ -58257,7 +58285,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
58257
58285
|
value: this
|
|
58258
58286
|
});
|
|
58259
58287
|
container.appendChild(button);
|
|
58260
|
-
var trigger = this.j.c.fromHTML('<span role="
|
|
58288
|
+
var trigger = this.j.c.fromHTML('<span role="button" aria-haspopup="true" aria-expanded="false" class="'.concat(cn, '__trigger">').concat(_core_ui_icon_js__WEBPACK_IMPORTED_MODULE_18__.Icon.get('chevron'), "</span>"));
|
|
58261
58289
|
// For caching
|
|
58262
58290
|
button.appendChild(trigger);
|
|
58263
58291
|
return container;
|
|
@@ -58332,6 +58360,7 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
58332
58360
|
return;
|
|
58333
58361
|
}
|
|
58334
58362
|
var _this1 = this, ctr = _this1.control;
|
|
58363
|
+
(0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_14__.attr)(this.trigger, 'aria-expanded', true);
|
|
58335
58364
|
e.buffer = {
|
|
58336
58365
|
actionTrigger: this
|
|
58337
58366
|
};
|
|
@@ -58465,6 +58494,9 @@ var ToolbarButton = /*#__PURE__*/ function(UIButton) {
|
|
|
58465
58494
|
this.openedPopup.close();
|
|
58466
58495
|
this.openedPopup.destruct();
|
|
58467
58496
|
this.openedPopup = null;
|
|
58497
|
+
if (this.trigger) {
|
|
58498
|
+
(0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_14__.attr)(this.trigger, 'aria-expanded', false);
|
|
58499
|
+
}
|
|
58468
58500
|
}
|
|
58469
58501
|
}
|
|
58470
58502
|
},
|
|
@@ -64303,7 +64335,7 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
64303
64335
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
64304
64336
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
64305
64337
|
}
|
|
64306
|
-
var APP_VERSION = "4.9.
|
|
64338
|
+
var APP_VERSION = "4.9.25";
|
|
64307
64339
|
// prettier-ignore
|
|
64308
64340
|
var ES = "es5";
|
|
64309
64341
|
var IS_ES_MODERN = false;
|
|
@@ -65078,11 +65110,13 @@ ToolbarSelect = __decorate([
|
|
|
65078
65110
|
/* harmony import */ var _core_constants_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(82758);
|
|
65079
65111
|
/* harmony import */ var _core_dom_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(22732);
|
|
65080
65112
|
/* harmony import */ var _core_global_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(580);
|
|
65081
|
-
/* harmony import */ var
|
|
65082
|
-
/* harmony import */ var
|
|
65083
|
-
/* harmony import */ var
|
|
65084
|
-
/* harmony import */ var
|
|
65085
|
-
/* harmony import */ var
|
|
65113
|
+
/* harmony import */ var _core_helpers_string_trim_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(49055);
|
|
65114
|
+
/* harmony import */ var _core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(29960);
|
|
65115
|
+
/* harmony import */ var _core_helpers_utils_selector_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(76078);
|
|
65116
|
+
/* harmony import */ var _core_plugin_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(50911);
|
|
65117
|
+
/* harmony import */ var _modules_context_menu_context_menu_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(80870);
|
|
65118
|
+
/* harmony import */ var _modules_toolbar_factory_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(21491);
|
|
65119
|
+
/* harmony import */ var _config_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(86012);
|
|
65086
65120
|
function _assert_this_initialized(self) {
|
|
65087
65121
|
if (self === void 0) {
|
|
65088
65122
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
@@ -65242,6 +65276,8 @@ function _is_native_reflect_construct() {
|
|
|
65242
65276
|
|
|
65243
65277
|
|
|
65244
65278
|
|
|
65279
|
+
|
|
65280
|
+
|
|
65245
65281
|
/**
|
|
65246
65282
|
* Show a path to a current element in status bar
|
|
65247
65283
|
*/ var xpath = /*#__PURE__*/ function(Plugin) {
|
|
@@ -65253,7 +65289,7 @@ function _is_native_reflect_construct() {
|
|
|
65253
65289
|
_this = _call_super(this, xpath, arguments);
|
|
65254
65290
|
_this.onContext = function(bindElement, event) {
|
|
65255
65291
|
if (!_this.menu) {
|
|
65256
|
-
_this.menu = new
|
|
65292
|
+
_this.menu = new _modules_context_menu_context_menu_js__WEBPACK_IMPORTED_MODULE_7__.ContextMenu(_this.j);
|
|
65257
65293
|
}
|
|
65258
65294
|
_this.menu.show(event.clientX, event.clientY, [
|
|
65259
65295
|
{
|
|
@@ -65280,7 +65316,7 @@ function _is_native_reflect_construct() {
|
|
|
65280
65316
|
};
|
|
65281
65317
|
_this.onSelectPath = function(bindElement, event) {
|
|
65282
65318
|
_this.j.s.focus();
|
|
65283
|
-
var path = (0,
|
|
65319
|
+
var path = (0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_4__.attr)(event.target, '-path') || '/';
|
|
65284
65320
|
if (path === '/') {
|
|
65285
65321
|
_this.j.execCommand('selectall');
|
|
65286
65322
|
return false;
|
|
@@ -65296,7 +65332,7 @@ function _is_native_reflect_construct() {
|
|
|
65296
65332
|
return false;
|
|
65297
65333
|
};
|
|
65298
65334
|
_this.tpl = function(bindElement, path, name, title) {
|
|
65299
|
-
var item = _this.j.c.fromHTML('<span class="jodit-xpath__item"><a role="button" data-path="'.concat(path, '" title="').concat(title, '" tabindex="-1"\'>').concat((0,
|
|
65335
|
+
var item = _this.j.c.fromHTML('<span class="jodit-xpath__item"><a role="button" data-path="'.concat(path, '" title="').concat(title, '" tabindex="-1"\'>').concat((0,_core_helpers_string_trim_js__WEBPACK_IMPORTED_MODULE_3__.trim)(name), "</a></span>"));
|
|
65300
65336
|
var a = item.firstChild;
|
|
65301
65337
|
_this.j.e.on(a, 'click', _this.onSelectPath.bind(_this, bindElement)).on(a, 'contextmenu', _this.onContext.bind(_this, bindElement));
|
|
65302
65338
|
return item;
|
|
@@ -65309,7 +65345,7 @@ function _is_native_reflect_construct() {
|
|
|
65309
65345
|
};
|
|
65310
65346
|
_this.appendSelectAll = function() {
|
|
65311
65347
|
_this.removeSelectAll();
|
|
65312
|
-
_this.selectAllButton = (0,
|
|
65348
|
+
_this.selectAllButton = (0,_modules_toolbar_factory_js__WEBPACK_IMPORTED_MODULE_8__.makeButton)(_this.j, _object_spread({
|
|
65313
65349
|
name: 'selectall'
|
|
65314
65350
|
}, _this.j.o.controls.selectall));
|
|
65315
65351
|
_this.selectAllButton.state.size = 'tiny';
|
|
@@ -65328,7 +65364,7 @@ function _is_native_reflect_construct() {
|
|
|
65328
65364
|
_core_dom_index_js__WEBPACK_IMPORTED_MODULE_1__.Dom.up(current, function(elm) {
|
|
65329
65365
|
if (elm && _this.j.editor !== elm && !_core_dom_index_js__WEBPACK_IMPORTED_MODULE_1__.Dom.isText(elm) && !_core_dom_index_js__WEBPACK_IMPORTED_MODULE_1__.Dom.isComment(elm)) {
|
|
65330
65366
|
name = elm.nodeName.toLowerCase();
|
|
65331
|
-
xpth = (0,
|
|
65367
|
+
xpth = (0,_core_helpers_utils_selector_js__WEBPACK_IMPORTED_MODULE_5__.getXPathByElement)(elm, _this.j.editor).replace(/^\//, '');
|
|
65332
65368
|
li = _this.tpl(elm, xpth, name, _this.j.i18n('Select %s', name));
|
|
65333
65369
|
_this.container && _this.container.insertBefore(li, _this.container.firstChild);
|
|
65334
65370
|
}
|
|
@@ -65346,6 +65382,7 @@ function _is_native_reflect_construct() {
|
|
|
65346
65382
|
var _this = this;
|
|
65347
65383
|
if (this.j.o.showXPathInStatusbar) {
|
|
65348
65384
|
this.container = this.j.c.div('jodit-xpath');
|
|
65385
|
+
(0,_core_helpers_utils_attr_js__WEBPACK_IMPORTED_MODULE_4__.attr)(this.container, 'role', 'list');
|
|
65349
65386
|
var init = function init() {
|
|
65350
65387
|
if (!_this.j.o.showXPathInStatusbar || !_this.container) {
|
|
65351
65388
|
return;
|
|
@@ -65360,7 +65397,7 @@ function _is_native_reflect_construct() {
|
|
|
65360
65397
|
_this.appendSelectAll();
|
|
65361
65398
|
}
|
|
65362
65399
|
};
|
|
65363
|
-
this.j.e.off('.xpath').on('
|
|
65400
|
+
this.j.e.off('.xpath').on('pointerup.xpath change.xpath keydown.xpath changeSelection.xpath', this.calcPath).on('afterSetMode.xpath afterInit.xpath changePlace.xpath', init);
|
|
65364
65401
|
init();
|
|
65365
65402
|
this.calcPath();
|
|
65366
65403
|
}
|
|
@@ -65381,7 +65418,7 @@ function _is_native_reflect_construct() {
|
|
|
65381
65418
|
}
|
|
65382
65419
|
]);
|
|
65383
65420
|
return xpath;
|
|
65384
|
-
}(_wrap_native_super(
|
|
65421
|
+
}(_wrap_native_super(_core_plugin_index_js__WEBPACK_IMPORTED_MODULE_6__.Plugin));
|
|
65385
65422
|
_core_global_js__WEBPACK_IMPORTED_MODULE_2__.pluginSystem.add('xpath', xpath);
|
|
65386
65423
|
|
|
65387
65424
|
|
package/es5/jodit.min.css
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valerii <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.9.
|
|
4
|
+
* Version: v4.9.25
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
8
8
|
/*!
|
|
9
9
|
* jodit-pro - PRO Version of Jodit Editor
|
|
10
10
|
* Author: Chupurnov Valerii <chupurnov@gmail.com>
|
|
11
|
-
* Version: v4.9.
|
|
11
|
+
* Version: v4.9.25
|
|
12
12
|
* Url: https://xdsoft.net/jodit/pro/
|
|
13
13
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
14
14
|
*/
|