jodit 4.5.1 → 4.5.3
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 +13 -0
- package/README.md +4 -0
- package/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +5 -2
- package/es2015/jodit.min.js +2 -2
- package/es2015/plugins/debug/debug.css +1 -1
- package/es2015/plugins/debug/debug.js +1 -1
- package/es2015/plugins/debug/debug.min.js +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2018/jodit.css +1 -1
- package/es2018/jodit.fat.min.js +2 -2
- package/es2018/jodit.js +5 -2
- package/es2018/jodit.min.js +2 -2
- package/es2018/plugins/debug/debug.css +1 -1
- package/es2018/plugins/debug/debug.js +1 -1
- package/es2018/plugins/debug/debug.min.js +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2021/jodit.css +1 -1
- package/es2021/jodit.fat.min.js +2 -2
- package/es2021/jodit.js +5 -2
- package/es2021/jodit.min.js +2 -2
- package/es2021/plugins/debug/debug.css +1 -1
- package/es2021/plugins/debug/debug.js +1 -1
- package/es2021/plugins/debug/debug.min.js +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.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 +5 -2
- package/es2021.en/jodit.min.js +2 -2
- package/es2021.en/plugins/debug/debug.css +1 -1
- package/es2021.en/plugins/debug/debug.js +1 -1
- package/es2021.en/plugins/debug/debug.min.js +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es5/5.fat.min.js +1 -1
- package/es5/5.min.js +1 -1
- package/es5/975.fat.min.js +1 -1
- package/es5/975.min.js +1 -1
- package/es5/jodit.css +2 -2
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +9 -2
- package/es5/jodit.min.css +2 -2
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/debug/debug.css +1 -1
- package/es5/plugins/debug/debug.js +1 -1
- package/es5/plugins/debug/debug.min.js +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/esm/core/constants.js +1 -1
- package/esm/core/plugin/plugin-system.d.ts +1 -0
- package/esm/core/plugin/plugin-system.js +3 -0
- package/esm/plugins/ai-assistant/interface.d.ts +8 -0
- package/esm/plugins/ai-assistant/interface.js +5 -0
- package/esm/plugins/all.d.ts +72 -0
- package/esm/plugins/all.js +73 -0
- package/esm/types/plugin.d.ts +1 -0
- package/package.json +1 -1
- package/types/core/plugin/plugin-system.d.ts +1 -0
- package/types/plugins/ai-assistant/interface.d.ts +8 -0
- package/types/types/plugin.d.ts +1 -0
package/esm/core/constants.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
export const APP_VERSION = "4.5.
|
|
6
|
+
export const APP_VERSION = "4.5.3";
|
|
7
7
|
// prettier-ignore
|
|
8
8
|
export const ES = "es2020";
|
|
9
9
|
export const IS_ES_MODERN = true;
|
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
3
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* @module plugins/ai-assistant
|
|
8
|
+
*/
|
|
1
9
|
export interface AiAssistantSettings {
|
|
2
10
|
/** Callback function for AI assistant to process and return the result */
|
|
3
11
|
aiAssistantCallback?: (prompt: string, htmlFragment: string) => Promise<string>;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
3
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* [[include:plugins/README.md]]
|
|
8
|
+
* @packageDocumentation
|
|
9
|
+
* @module plugins
|
|
10
|
+
*/
|
|
11
|
+
import "./about/about";
|
|
12
|
+
import "./add-new-line/add-new-line";
|
|
13
|
+
import "./backspace/backspace";
|
|
14
|
+
import "./delete/delete";
|
|
15
|
+
import "./bold/bold";
|
|
16
|
+
import "./class-span/class-span";
|
|
17
|
+
import "./clean-html/clean-html";
|
|
18
|
+
import "./clipboard/clipboard";
|
|
19
|
+
import "./color/color";
|
|
20
|
+
import "./copy-format/copy-format";
|
|
21
|
+
import "./drag-and-drop/drag-and-drop";
|
|
22
|
+
import "./drag-and-drop-element/drag-and-drop-element";
|
|
23
|
+
import "./enter/enter";
|
|
24
|
+
import "./file/file";
|
|
25
|
+
import "./focus/focus";
|
|
26
|
+
import "./font/font";
|
|
27
|
+
import "./format-block/format-block";
|
|
28
|
+
import "./fullsize/fullsize";
|
|
29
|
+
import "./hotkeys/hotkeys";
|
|
30
|
+
import "./hr/hr";
|
|
31
|
+
import "./iframe/iframe";
|
|
32
|
+
import "./image/image";
|
|
33
|
+
import "./image-processor/image-processor";
|
|
34
|
+
import "./image-properties/image-properties";
|
|
35
|
+
import "./indent/indent";
|
|
36
|
+
import "./inline-popup/inline-popup";
|
|
37
|
+
import "./justify/justify";
|
|
38
|
+
import "./key-arrow-outside/key-arrow-outside";
|
|
39
|
+
import "./limit/limit";
|
|
40
|
+
import "./line-height/line-height";
|
|
41
|
+
import "./link/link";
|
|
42
|
+
import "./media/media";
|
|
43
|
+
import "./mobile/mobile";
|
|
44
|
+
import "./ordered-list/ordered-list";
|
|
45
|
+
import "./paste/paste";
|
|
46
|
+
import "./paste-from-word/paste-from-word";
|
|
47
|
+
import "./paste-storage/paste-storage";
|
|
48
|
+
import "./placeholder/placeholder";
|
|
49
|
+
import "./powered-by-jodit/powered-by-jodit";
|
|
50
|
+
import "./preview/preview";
|
|
51
|
+
import "./print/print";
|
|
52
|
+
import "./redo-undo/redo-undo";
|
|
53
|
+
import "./resize-cells/resize-cells";
|
|
54
|
+
import "./resize-handler/resize-handler";
|
|
55
|
+
import "./resizer/resizer";
|
|
56
|
+
import "./search/search";
|
|
57
|
+
import "./select/select";
|
|
58
|
+
import "./select-cells/select-cells";
|
|
59
|
+
import "./size/size";
|
|
60
|
+
import "./source/source";
|
|
61
|
+
import "./spellcheck/spellcheck";
|
|
62
|
+
import "./stat/stat";
|
|
63
|
+
import "./sticky/sticky";
|
|
64
|
+
import "./symbols/symbols";
|
|
65
|
+
import "./ai-assistant/ai-assistant";
|
|
66
|
+
import "./tab/tab";
|
|
67
|
+
import "./table/table";
|
|
68
|
+
import "./table-keyboard-navigation/table-keyboard-navigation";
|
|
69
|
+
import "./video/video";
|
|
70
|
+
import "./wrap-nodes/wrap-nodes";
|
|
71
|
+
import "./dtd/dtd";
|
|
72
|
+
import "./xpath/xpath";
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
3
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* [[include:plugins/README.md]]
|
|
8
|
+
* @packageDocumentation
|
|
9
|
+
* @module plugins
|
|
10
|
+
*/
|
|
11
|
+
import "./about/about.js";
|
|
12
|
+
import "./add-new-line/add-new-line.js";
|
|
13
|
+
import "./backspace/backspace.js";
|
|
14
|
+
// import 'jodit/plugins/debug/debug';
|
|
15
|
+
import "./delete/delete.js";
|
|
16
|
+
import "./bold/bold.js";
|
|
17
|
+
import "./class-span/class-span.js";
|
|
18
|
+
import "./clean-html/clean-html.js";
|
|
19
|
+
import "./clipboard/clipboard.js";
|
|
20
|
+
import "./color/color.js";
|
|
21
|
+
import "./copy-format/copy-format.js";
|
|
22
|
+
import "./drag-and-drop/drag-and-drop.js";
|
|
23
|
+
import "./drag-and-drop-element/drag-and-drop-element.js";
|
|
24
|
+
import "./enter/enter.js";
|
|
25
|
+
import "./file/file.js";
|
|
26
|
+
import "./focus/focus.js";
|
|
27
|
+
import "./font/font.js";
|
|
28
|
+
import "./format-block/format-block.js";
|
|
29
|
+
import "./fullsize/fullsize.js";
|
|
30
|
+
import "./hotkeys/hotkeys.js";
|
|
31
|
+
import "./hr/hr.js";
|
|
32
|
+
import "./iframe/iframe.js";
|
|
33
|
+
import "./image/image.js";
|
|
34
|
+
import "./image-processor/image-processor.js";
|
|
35
|
+
import "./image-properties/image-properties.js";
|
|
36
|
+
import "./indent/indent.js";
|
|
37
|
+
import "./inline-popup/inline-popup.js";
|
|
38
|
+
import "./justify/justify.js";
|
|
39
|
+
import "./key-arrow-outside/key-arrow-outside.js";
|
|
40
|
+
import "./limit/limit.js";
|
|
41
|
+
import "./line-height/line-height.js";
|
|
42
|
+
import "./link/link.js";
|
|
43
|
+
import "./media/media.js";
|
|
44
|
+
import "./mobile/mobile.js";
|
|
45
|
+
import "./ordered-list/ordered-list.js";
|
|
46
|
+
import "./paste/paste.js";
|
|
47
|
+
import "./paste-from-word/paste-from-word.js";
|
|
48
|
+
import "./paste-storage/paste-storage.js";
|
|
49
|
+
import "./placeholder/placeholder.js";
|
|
50
|
+
import "./powered-by-jodit/powered-by-jodit.js";
|
|
51
|
+
import "./preview/preview.js";
|
|
52
|
+
import "./print/print.js";
|
|
53
|
+
import "./redo-undo/redo-undo.js";
|
|
54
|
+
import "./resize-cells/resize-cells.js";
|
|
55
|
+
import "./resize-handler/resize-handler.js";
|
|
56
|
+
import "./resizer/resizer.js";
|
|
57
|
+
import "./search/search.js";
|
|
58
|
+
import "./select/select.js";
|
|
59
|
+
import "./select-cells/select-cells.js";
|
|
60
|
+
import "./size/size.js";
|
|
61
|
+
import "./source/source.js";
|
|
62
|
+
import "./spellcheck/spellcheck.js";
|
|
63
|
+
import "./stat/stat.js";
|
|
64
|
+
import "./sticky/sticky.js";
|
|
65
|
+
import "./symbols/symbols.js";
|
|
66
|
+
import "./ai-assistant/ai-assistant.js";
|
|
67
|
+
import "./tab/tab.js";
|
|
68
|
+
import "./table/table.js";
|
|
69
|
+
import "./table-keyboard-navigation/table-keyboard-navigation.js";
|
|
70
|
+
import "./video/video.js";
|
|
71
|
+
import "./wrap-nodes/wrap-nodes.js";
|
|
72
|
+
import "./dtd/dtd.js";
|
|
73
|
+
import "./xpath/xpath.js";
|
package/esm/types/plugin.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Jodit Editor (https://xdsoft.net/jodit/)
|
|
3
|
+
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
|
+
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* @module plugins/ai-assistant
|
|
8
|
+
*/
|
|
1
9
|
export interface AiAssistantSettings {
|
|
2
10
|
/** Callback function for AI assistant to process and return the result */
|
|
3
11
|
aiAssistantCallback?: (prompt: string, htmlFragment: string) => Promise<string>;
|
package/types/types/plugin.d.ts
CHANGED