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.
Files changed (69) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +4 -0
  3. package/es2015/jodit.css +1 -1
  4. package/es2015/jodit.fat.min.js +2 -2
  5. package/es2015/jodit.js +5 -2
  6. package/es2015/jodit.min.js +2 -2
  7. package/es2015/plugins/debug/debug.css +1 -1
  8. package/es2015/plugins/debug/debug.js +1 -1
  9. package/es2015/plugins/debug/debug.min.js +1 -1
  10. package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
  11. package/es2015/plugins/speech-recognize/speech-recognize.js +1 -1
  12. package/es2015/plugins/speech-recognize/speech-recognize.min.js +1 -1
  13. package/es2018/jodit.css +1 -1
  14. package/es2018/jodit.fat.min.js +2 -2
  15. package/es2018/jodit.js +5 -2
  16. package/es2018/jodit.min.js +2 -2
  17. package/es2018/plugins/debug/debug.css +1 -1
  18. package/es2018/plugins/debug/debug.js +1 -1
  19. package/es2018/plugins/debug/debug.min.js +1 -1
  20. package/es2018/plugins/speech-recognize/speech-recognize.css +1 -1
  21. package/es2018/plugins/speech-recognize/speech-recognize.js +1 -1
  22. package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
  23. package/es2021/jodit.css +1 -1
  24. package/es2021/jodit.fat.min.js +2 -2
  25. package/es2021/jodit.js +5 -2
  26. package/es2021/jodit.min.js +2 -2
  27. package/es2021/plugins/debug/debug.css +1 -1
  28. package/es2021/plugins/debug/debug.js +1 -1
  29. package/es2021/plugins/debug/debug.min.js +1 -1
  30. package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
  31. package/es2021/plugins/speech-recognize/speech-recognize.js +1 -1
  32. package/es2021/plugins/speech-recognize/speech-recognize.min.js +1 -1
  33. package/es2021.en/jodit.css +1 -1
  34. package/es2021.en/jodit.fat.min.js +2 -2
  35. package/es2021.en/jodit.js +5 -2
  36. package/es2021.en/jodit.min.js +2 -2
  37. package/es2021.en/plugins/debug/debug.css +1 -1
  38. package/es2021.en/plugins/debug/debug.js +1 -1
  39. package/es2021.en/plugins/debug/debug.min.js +1 -1
  40. package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
  41. package/es2021.en/plugins/speech-recognize/speech-recognize.js +1 -1
  42. package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +1 -1
  43. package/es5/5.fat.min.js +1 -1
  44. package/es5/5.min.js +1 -1
  45. package/es5/975.fat.min.js +1 -1
  46. package/es5/975.min.js +1 -1
  47. package/es5/jodit.css +2 -2
  48. package/es5/jodit.fat.min.js +2 -2
  49. package/es5/jodit.js +9 -2
  50. package/es5/jodit.min.css +2 -2
  51. package/es5/jodit.min.js +2 -2
  52. package/es5/plugins/debug/debug.css +1 -1
  53. package/es5/plugins/debug/debug.js +1 -1
  54. package/es5/plugins/debug/debug.min.js +1 -1
  55. package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
  56. package/es5/plugins/speech-recognize/speech-recognize.js +1 -1
  57. package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
  58. package/esm/core/constants.js +1 -1
  59. package/esm/core/plugin/plugin-system.d.ts +1 -0
  60. package/esm/core/plugin/plugin-system.js +3 -0
  61. package/esm/plugins/ai-assistant/interface.d.ts +8 -0
  62. package/esm/plugins/ai-assistant/interface.js +5 -0
  63. package/esm/plugins/all.d.ts +72 -0
  64. package/esm/plugins/all.js +73 -0
  65. package/esm/types/plugin.d.ts +1 -0
  66. package/package.json +1 -1
  67. package/types/core/plugin/plugin-system.d.ts +1 -0
  68. package/types/plugins/ai-assistant/interface.d.ts +8 -0
  69. package/types/types/plugin.d.ts +1 -0
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
3
3
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
4
- * Version: v4.5.1
4
+ * Version: v4.5.3
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
3
3
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
4
- * Version: v4.5.1
4
+ * Version: v4.5.3
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
3
3
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
4
- * Version: v4.5.1
4
+ * Version: v4.5.3
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
3
3
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
4
- * Version: v4.5.1
4
+ * Version: v4.5.3
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
3
3
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
4
- * Version: v4.5.1
4
+ * Version: v4.5.3
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
3
3
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
4
- * Version: v4.5.1
4
+ * Version: v4.5.3
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
@@ -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.1";
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;
@@ -22,6 +22,7 @@ import "./interface";
22
22
  */
23
23
  export declare class PluginSystem implements IPluginSystem {
24
24
  private __items;
25
+ get size(): number;
25
26
  /**
26
27
  * Add plugin in store
27
28
  */
@@ -28,6 +28,9 @@ export class PluginSystem {
28
28
  constructor() {
29
29
  this.__items = new Map();
30
30
  }
31
+ get size() {
32
+ return this.__items.size;
33
+ }
31
34
  /**
32
35
  * Add plugin in store
33
36
  */
@@ -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>;
@@ -1 +1,6 @@
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
+ */
1
6
  export {};
@@ -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";
@@ -47,6 +47,7 @@ export interface IExtraPlugin {
47
47
  url?: string;
48
48
  }
49
49
  export interface IPluginSystem {
50
+ readonly size: number;
50
51
  add(name: string, plugin: any): void;
51
52
  wait(name: string): Promise<void>;
52
53
  get(name: string): PluginType | void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jodit",
3
- "version": "4.5.1",
3
+ "version": "4.5.3",
4
4
  "description": "Jodit is an awesome and useful wysiwyg editor with filebrowser",
5
5
  "main": "esm/index.js",
6
6
  "types": "types/index.d.ts",
@@ -22,6 +22,7 @@ import "./interface";
22
22
  */
23
23
  export declare class PluginSystem implements IPluginSystem {
24
24
  private __items;
25
+ get size(): number;
25
26
  /**
26
27
  * Add plugin in store
27
28
  */
@@ -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>;
@@ -47,6 +47,7 @@ export interface IExtraPlugin {
47
47
  url?: string;
48
48
  }
49
49
  export interface IPluginSystem {
50
+ readonly size: number;
50
51
  add(name: string, plugin: any): void;
51
52
  wait(name: string): Promise<void>;
52
53
  get(name: string): PluginType | void;