jodit icon indicating copy to clipboard operation
jodit copied to clipboard

ES2018 build does not expose Config module

Open niels-van-den-broeck opened this issue 6 months ago • 1 comments

Jodit Version: 4.x Browser: any OS: Mac Is React App: True

Code

// I would like to be able to do the following when using the es2018 build
Config.prototype.controls.fontsizeup = {
  command: 'fontsizeup',
  isDisabled: (editor, button) => true,
  ...
};

Expected behavior:

I expect to be able to import the Config module from jodit in order to extend it for custom plugins

Actual behavior:

Config does not seem to be included in the ES2018 build which jodit-react uses.

niels-van-den-broeck avatar Aug 23 '24 07:08 niels-van-den-broeck