jodit 4.0.15 → 4.0.16

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 (58) hide show
  1. package/CHANGELOG.md +10 -5
  2. package/es2015/jodit.css +1 -1
  3. package/es2015/jodit.fat.min.js +2 -2
  4. package/es2015/jodit.js +12 -6
  5. package/es2015/jodit.min.js +2 -2
  6. package/es2015/plugins/debug/debug.js +1 -1
  7. package/es2015/plugins/debug/debug.min.js +1 -1
  8. package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
  9. package/es2015/plugins/speech-recognize/speech-recognize.js +1 -1
  10. package/es2015/plugins/speech-recognize/speech-recognize.min.js +1 -1
  11. package/es2018/jodit.css +1 -1
  12. package/es2018/jodit.fat.min.js +2 -2
  13. package/es2018/jodit.js +12 -6
  14. package/es2018/jodit.min.js +2 -2
  15. package/es2018/plugins/debug/debug.js +1 -1
  16. package/es2018/plugins/debug/debug.min.js +1 -1
  17. package/es2018/plugins/speech-recognize/speech-recognize.css +1 -1
  18. package/es2018/plugins/speech-recognize/speech-recognize.js +1 -1
  19. package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
  20. package/es2021/jodit.css +1 -1
  21. package/es2021/jodit.fat.min.js +2 -2
  22. package/es2021/jodit.js +12 -6
  23. package/es2021/jodit.min.js +2 -2
  24. package/es2021/plugins/debug/debug.js +1 -1
  25. package/es2021/plugins/debug/debug.min.js +1 -1
  26. package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
  27. package/es2021/plugins/speech-recognize/speech-recognize.js +1 -1
  28. package/es2021/plugins/speech-recognize/speech-recognize.min.js +1 -1
  29. package/es2021.en/jodit.css +1 -1
  30. package/es2021.en/jodit.fat.min.js +2 -2
  31. package/es2021.en/jodit.js +12 -6
  32. package/es2021.en/jodit.min.js +2 -2
  33. package/es2021.en/plugins/debug/debug.js +1 -1
  34. package/es2021.en/plugins/debug/debug.min.js +1 -1
  35. package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
  36. package/es2021.en/plugins/speech-recognize/speech-recognize.js +1 -1
  37. package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +1 -1
  38. package/es5/jodit.css +2 -2
  39. package/es5/jodit.fat.min.js +2 -2
  40. package/es5/jodit.js +12 -6
  41. package/es5/jodit.min.css +2 -2
  42. package/es5/jodit.min.js +2 -2
  43. package/es5/plugins/debug/debug.js +1 -1
  44. package/es5/plugins/debug/debug.min.js +1 -1
  45. package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
  46. package/es5/plugins/speech-recognize/speech-recognize.js +1 -1
  47. package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
  48. package/esm/core/constants.js +1 -1
  49. package/esm/jodit.js +10 -4
  50. package/esm/modules/toolbar/button/button.d.ts +1 -1
  51. package/esm/plugins/inline-popup/config/items/a.d.ts +1 -1
  52. package/esm/plugins/inline-popup/config/items/cells.d.ts +1 -1
  53. package/esm/plugins/inline-popup/config/items/img.d.ts +1 -1
  54. package/package.json +1 -1
  55. package/types/modules/toolbar/button/button.d.ts +1 -1
  56. package/types/plugins/inline-popup/config/items/a.d.ts +1 -1
  57. package/types/plugins/inline-popup/config/items/cells.d.ts +1 -1
  58. package/types/plugins/inline-popup/config/items/img.d.ts +1 -1
package/CHANGELOG.md CHANGED
@@ -9,6 +9,11 @@
9
9
  > - :house: [Internal]
10
10
  > - :nail_care: [Polish]
11
11
 
12
+ ## 4.0.15
13
+
14
+ - Fixed bug in `beforeInit` hook. If the hook returned a promise, and the editor was destroyed after that,
15
+ then after resolving the promise, the editor continued the initialization procedure
16
+
12
17
  ## 4.0.8
13
18
 
14
19
  - Fixed a bug in the plugins module when extra plugins did not cause the editor to be redrawn after initialization
@@ -2465,11 +2470,11 @@ Related with https://github.com/xdan/jodit/issues/574. In some cases need to lim
2465
2470
  - @property {IUIOption[]} link.selectOptionsClassName=[] The list of the option for the select (to use with
2466
2471
  modeClassName="select")
2467
2472
  - ex: [
2468
- - { value: "", text: "" },
2469
- - { value: "val1", text: "text1" },
2470
- - { value: "val2", text: "text2" },
2471
- - { value: "val3", text: "text3" }
2472
- - ]
2473
+ - { value: "", text: "" },
2474
+ - { value: "val1", text: "text1" },
2475
+ - { value: "val2", text: "text2" },
2476
+ - { value: "val3", text: "text3" }
2477
+ - ]
2473
2478
  PR: https://github.com/xdan/jodit/pull/577 Thanks @s-renier-taonix-fr
2474
2479
 
2475
2480
  ##### New option `statusbar: boolean = true`
package/es2015/jodit.css CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser
3
3
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
4
- * Version: v4.0.15
4
+ * Version: v4.0.16
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */