Changelog
4.0.0-beta.121
All static methods of the Jodit.modules.Table
module have been removed and replaced with methods of an instance of the Table
class with the same name.
const jodit = Jodit.make('#editor');
// Before
Jodit.modules.Table.mergeSelected(jodit.editor.firstChild, jodit);
// Now
jodit.getInstance('Table').mergeSelected(jodit.editor.firstChild);
.jodit-filebrowser
class prefix was renamed to .jodit-file-browser
CSS key --color-background-filebrowser-folders
was removed from global scope.
Update dependencies
stylelint-config-idiomatic-order v9.0.0 → v10.0.0
stylelint-config-standard ^34.0.0 → ^36.0.0
stylelint-prettier ^4.1.0 → ^4.4.0
terser-webpack-plugin ^5.3.9 → ^5.3.10
ts-node ^10.9.1 → ^10.9.2
typescript ^5.3.2 → ^5.3.3
webpack-dev-middleware ^6.1.1 → ^7.0.0
webpack-hot-middleware ^2.25.4 → ^2.26.0
The Jodit.getInstance
method can accept a module constructor instead of its name:
const jodit = Jodit.make('#editor');
const table = jodit.getInstance(Jodit.modules.Table);
const table2 = jodit.getInstance('Table'); // It still works
console.log(table === table2); // true
Changelog
4.0.0-beta.118