jodit-pro 4.2.51 → 4.2.54
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 +3 -122
- 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 +16 -4
- package/es2015/plugins/export-docs/export-docs.min.js +2 -2
- package/es2015/plugins/finder/finder.css +1 -1
- package/es2015/plugins/finder/finder.js +60 -2
- package/es2015/plugins/finder/finder.min.js +2 -2
- 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 +3 -122
- 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 +16 -4
- package/es2018/plugins/export-docs/export-docs.min.js +2 -2
- package/es2018/plugins/finder/finder.css +1 -1
- package/es2018/plugins/finder/finder.js +60 -2
- package/es2018/plugins/finder/finder.min.js +2 -2
- 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 +3 -122
- 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 +16 -4
- package/es2021/plugins/export-docs/export-docs.min.js +2 -2
- package/es2021/plugins/finder/finder.css +1 -1
- package/es2021/plugins/finder/finder.js +60 -2
- package/es2021/plugins/finder/finder.min.js +2 -2
- 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 +3 -122
- 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 +16 -4
- package/es2021.en/plugins/export-docs/export-docs.min.js +2 -2
- package/es2021.en/plugins/finder/finder.css +1 -1
- package/es2021.en/plugins/finder/finder.js +25 -2
- package/es2021.en/plugins/finder/finder.min.js +2 -2
- 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/292.fat.min.js +1 -1
- package/es5/292.min.js +1 -1
- package/es5/jodit.css +2 -2
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +2 -2
- 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 +17 -5
- package/es5/plugins/export-docs/export-docs.min.js +2 -2
- package/es5/plugins/finder/finder.css +1 -1
- package/es5/plugins/finder/finder.js +60 -2
- package/es5/plugins/finder/finder.min.js +2 -2
- 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/esm/plugins/export-docs/config.d.ts +1 -0
- package/esm/plugins/export-docs/config.js +1 -1
- package/esm/plugins/export-docs/export-docs.js +1 -1
- package/esm/plugins/finder/config.js +1 -1
- package/package.json +1 -1
- package/types/plugins/export-docs/config.d.ts +1 -0
- package/es2015/889.fat.min.js +0 -10
- package/es2015/889.js +0 -58
- package/es2015/889.min.js +0 -10
- package/es2018/889.fat.min.js +0 -10
- package/es2018/889.js +0 -58
- package/es2018/889.min.js +0 -10
- package/es2021/889.fat.min.js +0 -10
- package/es2021/889.js +0 -58
- package/es2021/889.min.js +0 -10
- package/es2021.en/889.fat.min.js +0 -10
- package/es2021.en/889.js +0 -24
- package/es2021.en/889.min.js +0 -10
- package/es5/889.fat.min.js +0 -10
- package/es5/889.js +0 -58
- package/es5/889.min.js +0 -10
|
@@ -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: v4.2.
|
|
4
|
+
* Version: v4.2.54
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -44,6 +44,7 @@ module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\
|
|
|
44
44
|
jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.exportDocs = {
|
|
45
45
|
css: '',
|
|
46
46
|
pdf: {
|
|
47
|
+
externalFonts: [],
|
|
47
48
|
allow: true,
|
|
48
49
|
options: {
|
|
49
50
|
defaultFont: 'courier',
|
|
@@ -111,17 +112,16 @@ var ExportDocs = /** @class */ (function (_super) {
|
|
|
111
112
|
ExportDocs.prototype.afterInit = function (jodit) {
|
|
112
113
|
var _this = this;
|
|
113
114
|
jodit.registerCommand('exportToPDF', function () { return (0,tslib__WEBPACK_IMPORTED_MODULE_8__/* .__awaiter */ .sH)(_this, void 0, void 0, function () {
|
|
114
|
-
var
|
|
115
|
+
var ajax, resp, buffer, link, filename, e_1;
|
|
115
116
|
var _a;
|
|
116
117
|
return (0,tslib__WEBPACK_IMPORTED_MODULE_8__/* .__generator */ .YH)(this, function (_b) {
|
|
117
118
|
switch (_b.label) {
|
|
118
119
|
case 0:
|
|
119
|
-
css = (0,jodit_plugins_print_lib_generate_critical_css__WEBPACK_IMPORTED_MODULE_6__/* .generateCriticalCSS */ .Y)(jodit);
|
|
120
120
|
ajax = new jodit_core_request_ajax__WEBPACK_IMPORTED_MODULE_4__/* .Ajax */ .d((0,tslib__WEBPACK_IMPORTED_MODULE_8__/* .__assign */ .Cl)((0,tslib__WEBPACK_IMPORTED_MODULE_8__/* .__assign */ .Cl)({}, ((_a = jodit.o.exportDocs.ajax) !== null && _a !== void 0 ? _a : jodit.o.filebrowser.ajax)), { method: 'POST', responseType: 'blob', onProgress: function (percent) {
|
|
121
121
|
jodit.progressbar.show().progress(percent);
|
|
122
122
|
}, data: {
|
|
123
123
|
action: 'generatePdf',
|
|
124
|
-
html:
|
|
124
|
+
html: ExportDocs.getValue(jodit),
|
|
125
125
|
options: (0,jodit_core_helpers_utils_config_proto__WEBPACK_IMPORTED_MODULE_1__/* .ConfigDeepFlatten */ .pi)(jodit.o.exportDocs.pdf).options
|
|
126
126
|
} }));
|
|
127
127
|
jodit.e.on('beforeDestruct', ajax.destruct);
|
|
@@ -160,7 +160,19 @@ var ExportDocs = /** @class */ (function (_super) {
|
|
|
160
160
|
};
|
|
161
161
|
ExportDocs.getValue = function (jodit) {
|
|
162
162
|
var _a = (0,tslib__WEBPACK_IMPORTED_MODULE_8__/* .__read */ .zs)((0,jodit_core_helpers_utils_print__WEBPACK_IMPORTED_MODULE_2__/* .previewBox */ .u)(jodit), 1), div = _a[0];
|
|
163
|
-
|
|
163
|
+
var html = [];
|
|
164
|
+
jodit.o.exportDocs.pdf.externalFonts.forEach(function (font) {
|
|
165
|
+
if (/^</.test(font)) {
|
|
166
|
+
html.push(font);
|
|
167
|
+
}
|
|
168
|
+
else {
|
|
169
|
+
html.push("<link rel=\"stylesheet\" href=\"".concat(font, "\">"));
|
|
170
|
+
}
|
|
171
|
+
});
|
|
172
|
+
html.push("<style>".concat((0,jodit_plugins_print_lib_generate_critical_css__WEBPACK_IMPORTED_MODULE_6__/* .generateCriticalCSS */ .Y)(jodit), "</style>"));
|
|
173
|
+
html.push("<style>".concat(jodit.o.exportDocs.css, "</style>"));
|
|
174
|
+
html.push(div.innerHTML);
|
|
175
|
+
return html.join('\n');
|
|
164
176
|
};
|
|
165
177
|
ExportDocs.prototype.beforeDestruct = function () { };
|
|
166
178
|
ExportDocs.requires = ['license'];
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valeriy <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.2.
|
|
4
|
+
* Version: v4.2.54
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var o=t();for(var r in o)("object"==typeof exports?exports:e)[r]=o[r]}}(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[210],{89147:function(e){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <path d="M19,21H5a2,2,0,0,1-2-2V17a1,1,0,0,1,2,0v2H19V17a1,1,0,0,1,2,0v2A2,2,0,0,1,19,21Z"/> <path d="M18,5H6A1,1,0,0,1,6,3H18a1,1,0,0,1,0,2Z"/> <path d="M15.71,10.29l-3-3a1,1,0,0,0-.33-.21,1,1,0,0,0-.76,0,1,1,0,0,0-.33.21l-3,3a1,1,0,0,0-.21,1.09A1,1,0,0,0,9,12h2v3a1,1,0,0,0,2,0V12h2a1,1,0,0,0,.92-.62A1,1,0,0,0,15.71,10.29Z"/> </svg>'},67697:function(e,t,o){"use strict";var r=o(23545),
|
|
10
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var o=t();for(var r in o)("object"==typeof exports?exports:e)[r]=o[r]}}(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[210],{89147:function(e){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <path d="M19,21H5a2,2,0,0,1-2-2V17a1,1,0,0,1,2,0v2H19V17a1,1,0,0,1,2,0v2A2,2,0,0,1,19,21Z"/> <path d="M18,5H6A1,1,0,0,1,6,3H18a1,1,0,0,1,0,2Z"/> <path d="M15.71,10.29l-3-3a1,1,0,0,0-.33-.21,1,1,0,0,0-.76,0,1,1,0,0,0-.33.21l-3,3a1,1,0,0,0-.21,1.09A1,1,0,0,0,9,12h2v3a1,1,0,0,0,2,0V12h2a1,1,0,0,0,.92-.62A1,1,0,0,0,15.71,10.29Z"/> </svg>'},67697:function(e,t,o){"use strict";var r=o(23545),s=o(91288),n=o(89147),a=o.n(n);s.T.prototype.exportDocs={css:"",pdf:{externalFonts:[],allow:!0,options:{defaultFont:"courier",format:"A4",page_orientation:"portrait"}}},s.T.prototype.controls.exportDocs={tooltip:"Export",isDisabled:function(e){return r.J.isEmptyContent(e.editor)},icon:a(),list:{exportToPdf:"Export to PDF"},command:"exportToPDF"}},18317:function(e,t,o){"use strict";o.r(t),o.d(t,{ExportDocs:function(){return f}});var r=o(31635),s=o(33465),n=o(45685),a=o(85769),c=o(65564),p=o(53328),i=(o(67697),o(86134)),u=o(25511),f=function(e){function t(){var t=e.apply(this,(0,r.fX)([],(0,r.zs)(arguments),!1))||this;return t.buttons=[{name:"exportDocs",group:"media"}],t}return(0,r.C6)(t,e),t.prototype.afterInit=function(e){var o=this;e.registerCommand("exportToPDF",(function(){return(0,r.sH)(o,void 0,void 0,(function(){var o,a,c,i,u;return(0,r.YH)(this,(function(f){switch(f.label){case 0:o=new p.d((0,r.Cl)((0,r.Cl)({},null!==(u=e.o.exportDocs.ajax)&&void 0!==u?u:e.o.filebrowser.ajax),{method:"POST",responseType:"blob",onProgress:function(t){e.progressbar.show().progress(t)},data:{action:"generatePdf",html:t.getValue(e),options:(0,n.pi)(e.o.exportDocs.pdf).options}})),e.e.on("beforeDestruct",o.destruct),f.label=1;case 1:return f.trys.push([1,4,5,7]),[4,o.send()];case 2:return[4,f.sent().blob()];case 3:return a=f.sent(),(c=this.j.create.a()).href=URL.createObjectURL(a),c.download="document.pdf",c.click(),s.J.safeRemove(c),URL.revokeObjectURL(c.href),[3,7];case 4:return(i=f.sent()).message&&e.alert(i.message),[3,7];case 5:return e.progressbar.progress(100),[4,e.async.delay(200)];case 6:return f.sent(),e.progressbar.hide(),[7];case 7:return[2]}}))}))}))},t.getValue=function(e){var t=(0,r.zs)((0,a.u)(e),1)[0],o=[];return e.o.exportDocs.pdf.externalFonts.forEach((function(e){/^</.test(e)?o.push(e):o.push('<link rel="stylesheet" href="'.concat(e,'">'))})),o.push("<style>".concat((0,i.Y)(e),"</style>")),o.push("<style>".concat(e.o.exportDocs.css,"</style>")),o.push(t.innerHTML),o.join("\n")},t.prototype.beforeDestruct=function(){},t.requires=["license"],t}(c.k);u.A.plugins.add("exportDocs",f)}},function(e){return e(e.s=18317)}])}));
|
|
@@ -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: v4.2.
|
|
4
|
+
* Version: v4.2.54
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -599,6 +599,7 @@ Object.defineProperty(jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_19__/* .Jodit
|
|
|
599
599
|
"use strict";
|
|
600
600
|
/* harmony import */ var jodit_core_global__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(51431);
|
|
601
601
|
/* harmony import */ var jodit_config__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(91288);
|
|
602
|
+
/* harmony import */ var _langs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(31889);
|
|
602
603
|
/*!
|
|
603
604
|
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
604
605
|
* See LICENSE.md in the project root for license information.
|
|
@@ -606,7 +607,7 @@ Object.defineProperty(jodit_pro_jodit_pro__WEBPACK_IMPORTED_MODULE_19__/* .Jodit
|
|
|
606
607
|
*/
|
|
607
608
|
|
|
608
609
|
|
|
609
|
-
|
|
610
|
+
|
|
610
611
|
var fb = jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototype.controls.filebrowser;
|
|
611
612
|
fb.settings = {
|
|
612
613
|
icon: 'settings',
|
|
@@ -682,6 +683,7 @@ Object.assign(jodit_config__WEBPACK_IMPORTED_MODULE_1__/* .Config */ .T.prototyp
|
|
|
682
683
|
height: 400,
|
|
683
684
|
previewOfficeURL: 'https://view.officeapps.live.com/op/view.aspx?src='
|
|
684
685
|
});
|
|
686
|
+
(0,jodit_core_global__WEBPACK_IMPORTED_MODULE_0__/* .extendLang */ .JW)(_langs__WEBPACK_IMPORTED_MODULE_2__);
|
|
685
687
|
|
|
686
688
|
|
|
687
689
|
/***/ }),
|
|
@@ -1590,6 +1592,62 @@ function folderToTreeItem(name, path, sourceName) {
|
|
|
1590
1592
|
}
|
|
1591
1593
|
|
|
1592
1594
|
|
|
1595
|
+
/***/ }),
|
|
1596
|
+
|
|
1597
|
+
/***/ 31889:
|
|
1598
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
1599
|
+
|
|
1600
|
+
"use strict";
|
|
1601
|
+
__webpack_require__.r(__webpack_exports__);
|
|
1602
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1603
|
+
/* harmony export */ ru: function() { return /* reexport default from dynamic */ _ru_js__WEBPACK_IMPORTED_MODULE_0___default.a; }
|
|
1604
|
+
/* harmony export */ });
|
|
1605
|
+
/* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(18226);
|
|
1606
|
+
/* harmony import */ var _ru_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_ru_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
1607
|
+
/*!
|
|
1608
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
1609
|
+
* See LICENSE.md in the project root for license information.
|
|
1610
|
+
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
1611
|
+
*/
|
|
1612
|
+
|
|
1613
|
+
|
|
1614
|
+
|
|
1615
|
+
|
|
1616
|
+
/***/ }),
|
|
1617
|
+
|
|
1618
|
+
/***/ 18226:
|
|
1619
|
+
/***/ (function(module) {
|
|
1620
|
+
|
|
1621
|
+
"use strict";
|
|
1622
|
+
|
|
1623
|
+
/*!
|
|
1624
|
+
* Jodit Editor PRO (https://xdsoft.net/jodit/)
|
|
1625
|
+
* See LICENSE.md in the project root for license information.
|
|
1626
|
+
* Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
|
|
1627
|
+
*/
|
|
1628
|
+
module.exports = {
|
|
1629
|
+
Favorites: 'Избранное',
|
|
1630
|
+
Settings: 'Настройки',
|
|
1631
|
+
Light: 'Светлая',
|
|
1632
|
+
Dark: 'Темная',
|
|
1633
|
+
Theme: 'Тема',
|
|
1634
|
+
Show: 'Показать',
|
|
1635
|
+
Hide: 'Скрыть',
|
|
1636
|
+
'Show favorites': 'Показывать избранное',
|
|
1637
|
+
Tiles: 'Плитка',
|
|
1638
|
+
List: 'Список',
|
|
1639
|
+
Compact: 'Компактный',
|
|
1640
|
+
View: 'Отображение',
|
|
1641
|
+
'Folders position': 'Позиция папок',
|
|
1642
|
+
'Sort by': 'Сортировать по',
|
|
1643
|
+
'Extra small': 'Очень маленькие',
|
|
1644
|
+
Small: 'Маленькие',
|
|
1645
|
+
Large: 'Большие',
|
|
1646
|
+
'Extra large': 'Очень большие',
|
|
1647
|
+
'Tile size': 'Размер плитки'
|
|
1648
|
+
};
|
|
1649
|
+
|
|
1650
|
+
|
|
1593
1651
|
/***/ }),
|
|
1594
1652
|
|
|
1595
1653
|
/***/ 35647:
|