Skip to content

3.24.4

Compare
Choose a tag to compare
@xdan xdan released this 05 Feb 22:25

3.24.4

πŸ’₯ Breaking Change

  • Options to hide the functionality of editing directories and files filebrowser.createNewFolder, filebrowser.editImage,
    filebrowser.deleteFolder,filebrowser.renameFolder,filebrowser.moveFolder,filebrowser.moveFile were marked as deprecated.
  • Instead added filebrowser.permissionsPresets: Partial<IPermissions> option.

Before:

Jodit.make('#editor', {
  filebrowser: {
    createNewFolder: false,
    deleteFolder: false,
    renameFolder: false,
    moveFolder: false,
    moveFile: false,
    editImage: false,
    ajax: {
      url: 'https://xdsoft.net/jodit/finder/'
    }
  },
});

Now

Jodit.make('#editor', {
  filebrowser: {
    permissionsPresets: {
      allowFiles: false,
      allowFileMove: false,
      allowFileUpload: false,
      allowFileUploadRemote: false,
      allowFileRemove: false,
      allowFileRename: false,
      allowFolders: false,
      allowFolderCreate: false,
      allowFolderMove: false,
      allowFolderRemove: false,
      allowFolderRename: false,
      allowImageResize: false,
      allowImageCrop: false,
    },
    ajax: {
      url: 'https://xdsoft.net/jodit/finder/'
    }
  },
});

3.24.3

🏠 Internal

 core-js                            ^3.26.1  β†’    ^3.27.2
 @types/node                       ^18.11.9  β†’  ^18.11.19
 @typescript-eslint/eslint-plugin   ^5.45.0  β†’    ^5.50.0
 @typescript-eslint/parser          ^5.45.0  β†’    ^5.50.0
 axios                               ^1.2.0  β†’     ^1.3.2
 css-loader                          ^6.7.2  β†’     ^6.7.3
 eslint                             ^8.28.0  β†’    ^8.33.0
 eslint-config-prettier              ^8.5.0  β†’     ^8.6.0
 eslint-plugin-import               ^2.26.0  β†’    ^2.27.5
 expect-mocha-image-snapshot        ^2.0.14  β†’     ^3.0.1
 glob                                ^8.0.3  β†’     ^8.1.0
 husky                               ^8.0.2  β†’     ^8.0.3
 lint-staged                        ^13.0.4  β†’    ^13.1.0
 mini-css-extract-plugin             ^2.7.0  β†’     ^2.7.2
 mocha                              ^10.1.0  β†’    ^10.2.0
 nock                               ^13.2.9  β†’    ^13.3.0
 postcss                           >=8.4.19  β†’   >=8.4.21
 postcss-loader                      ^7.0.1  β†’     ^7.0.2
 prettier                            ^2.8.0  β†’     ^2.8.3
 puppeteer                          ^19.3.0  β†’    ^19.6.3
 stylelint                         ^14.15.0  β†’   ^14.16.1
 synchronous-promise                 2.0.15  β†’     2.0.17
 ts-loader                           ^9.4.1  β†’     ^9.4.2
 tsc-alias                           ^1.7.1  β†’     ^1.8.2
 tslib                               ^2.4.1  β†’     ^2.5.0
 typescript                          ^4.9.3  β†’     ^4.9.5
 webpack-cli                         ^5.0.0  β†’     ^5.0.1