Changelog
4.5.2
import { Jodit } from 'jodit/esm/index.js';
console.log(Jodit.plugins.size); // 21 See. https://github.com/xdan/jodit/blob/main/tools/utils/resolve-alias-imports.ts#L81
import 'jodit/esm/plugins/all.js';
console.log(Jodit.plugins.size); // 62 and more in the future
Changelog
4.5.1
cleanHTML.allowTags
option was set, then this did not affect cleanHTML.denyTags
. Now if both options are set,
then cleanHTML.denyTags
will only be applied to those tags that are not indicated in cleanHTML.allowTags
Jodit.make('#editor', {
cleanHTML: {
allowTags: 'script,p', // Only Script and P tags will be allowed
denyTags: 'script,img' // This option is completely ignored
}
});
Changelog
4.4.8