Skip to content

4.2.5

Latest
Compare
Choose a tag to compare
@xdan xdan released this 22 Apr 20:44
· 102 commits to main since this release

4.2.1

πŸ› Bug Fix

4.1.12

πŸ’₯ Breaking Change

  • Removed the default export from the watch decorator. We refrain from using default exports in this project (refer to CONTRIBUTING.md for more details).

Before:

import watch, { watch as watch2 } from 'jodit/core/decorators/watch/watch';

Now only:

import { watch } from 'jodit/core/decorators/watch/watch';

πŸ› Bug Fix

4.1.11

  • Fixed a bug within the FileBrowser module. The issue was due to the import order; the Ajax configuration was applied after the module had been initialized.

4.1.9

  • Added AbortError to the Jodit.modules namespace. This is a custom error that is thrown when the user cancels the operation.
const jodit = Jodit.make('#editor');
jodit.async
	.promise((res, rej) => fetch('./test.php').then(res).catch(rej))
	.catch(error => {
		if (Jodit.modules.Helpers.isAbortError(error)) {
			console.log('Operation was aborted');
		}
	});
jodit.destruct();

4.1.7

4.1.1

🏠 Internal

  • Update dependencies

@tsconfig/node18                    ^18.2.2  β†’   ^18.2.4
@types/node                       ^20.11.25  β†’  ^20.12.2
@typescript-eslint/eslint-plugin     ^7.1.1  β†’    ^7.5.0
@typescript-eslint/parser            ^7.1.1  β†’    ^7.5.0
autoprefixer                       ^10.4.18  β†’  ^10.4.19
axios                                ^1.6.7  β†’    ^1.6.8
core-js                             ^3.36.0  β†’   ^3.36.1
cssnano-preset-advanced              ^6.1.0  β†’    ^6.1.2
eslint-plugin-mocha                 ^10.4.0  β†’   ^10.4.1
glob                               ^10.3.10  β†’  ^10.3.12
mocha                               ^10.3.0  β†’   ^10.4.0
open                                ^10.0.4  β†’   ^10.1.0
postcss                            >=8.4.35  β†’  >=8.4.38
stylelint                           ^16.2.1  β†’   ^16.3.1
typescript                           ^5.4.2  β†’    ^5.4.3
webpack                              5.90.3  β†’    5.91.0
webpack-dev-middleware               ^7.0.0  β†’    ^7.2.0
webpack-dev-server                   ^5.0.2  β†’    ^5.0.4
  • Update dependencies
@types/node                       ^20.10.7  β†’  ^20.11.25
@typescript-eslint/eslint-plugin   ^6.18.0  β†’     ^7.1.1
@typescript-eslint/parser          ^6.18.0  β†’     ^7.1.1
autoprefixer                      ^10.4.16  β†’   ^10.4.18
axios                               ^1.6.5  β†’     ^1.6.7
core-js                            ^3.35.0  β†’    ^3.36.0
css-loader                          ^6.8.1  β†’    ^6.10.0
css-minimizer-webpack-plugin        ^5.0.1  β†’     ^6.0.0
cssnano-preset-advanced             ^6.0.3  β†’     ^6.1.0
eslint                             ^8.56.0  β†’    ^8.57.0
eslint-plugin-mocha                ^10.2.0  β†’    ^10.4.0
eslint-plugin-prettier              ^5.1.2  β†’     ^5.1.3
karma                               ^6.4.2  β†’     ^6.4.3
karma-firefox-launcher              ^2.1.2  β†’     ^2.1.3
less-loader                        ^11.1.4  β†’    ^12.2.0
mini-css-extract-plugin             ^2.7.6  β†’     ^2.8.1
mocha                              ^10.2.0  β†’    ^10.3.0
node-jq                             ^4.2.2  β†’     ^4.3.1
open                               ^10.0.3  β†’    ^10.0.4
postcss                           >=8.4.33  β†’   >=8.4.35
postcss-loader                      ^7.3.4  β†’     ^8.1.1
prettier                            ^3.1.1  β†’     ^3.2.5
style-loader                        ^3.3.3  β†’     ^3.3.4
stylelint                          ^16.1.0  β†’    ^16.2.1
typescript                          ^5.3.3  β†’     ^5.4.2
webpack                             5.89.0  β†’     5.90.3
webpack-dev-server                 ^4.15.1  β†’     ^5.0.2
webpack-hot-middleware             ^2.26.0  β†’    ^2.26.1

4.0.15

  • Fixed bug in beforeInit hook. If the hook returned a promise, and the editor was destroyed after that,
    then after resolving the promise, the editor continued the initialization procedure

4.0.8

  • Fixed a bug in the plugins module when extra plugins did not cause the editor to be redrawn after initialization

4.0.7

4.0.2