diff --git a/package-lock.json b/package-lock.json index 3bdca872..f1006a91 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "jodit", - "version": "4.2.8", + "version": "4.2.9", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "jodit", - "version": "4.2.8", + "version": "4.2.9", "license": "MIT", "dependencies": { "autobind-decorator": "^2.4.0" diff --git a/package.json b/package.json index d2aa056a..27c58b02 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jodit", - "version": "4.2.8", + "version": "4.2.9", "description": "Jodit is an awesome and useful wysiwyg editor with filebrowser", "main": "build/jodit.min.js", "types": "./types/index.d.ts", diff --git a/src/plugins/color/color.test.js b/src/plugins/color/color.test.js index 2e162ab2..4ca40d77 100644 --- a/src/plugins/color/color.test.js +++ b/src/plugins/color/color.test.js @@ -214,7 +214,7 @@ }); const popup = getOpenedPopup(editor); - expect(getButton('brushTable', popup)).is.null; + expect(getButton('brushCell', popup)).is.null; }); }); @@ -241,7 +241,7 @@ }); const popup = getOpenedPopup(editor); - expect(getButton('brushTable', popup)).is.not.null; + expect(getButton('brushCell', popup)).is.not.null; }); }); }); diff --git a/src/plugins/color/config.ts b/src/plugins/color/config.ts index 8a800ce6..570836d6 100644 --- a/src/plugins/color/config.ts +++ b/src/plugins/color/config.ts @@ -25,7 +25,7 @@ import { Config } from 'jodit/config'; Icon.set('brush', brushIcon); -Config.prototype.controls.brushTable = { +Config.prototype.controls.brushCell = { isVisible: (editor: IJodit): boolean => { return !editor.o.disablePlugins.includes('color'); }, diff --git a/src/plugins/inline-popup/config/items/cells.ts b/src/plugins/inline-popup/config/items/cells.ts index 250fec5c..8140debc 100644 --- a/src/plugins/inline-popup/config/items/cells.ts +++ b/src/plugins/inline-popup/config/items/cells.ts @@ -19,7 +19,7 @@ const cmd = (control: IControlType): string => : ''; export default [ - 'brushTable', + 'brushCell', { name: 'valign', list: ['Top', 'Middle', 'Bottom', 'Normal'], diff --git a/src/plugins/inline-popup/inline-popup.test.js b/src/plugins/inline-popup/inline-popup.test.js index 749f89c3..cd81e81b 100644 --- a/src/plugins/inline-popup/inline-popup.test.js +++ b/src/plugins/inline-popup/inline-popup.test.js @@ -187,7 +187,7 @@ describe('Text Inline Popup plugin', function () { expect(popup && popup.parentNode.parentNode != null).is .true; - clickTrigger('brush', popup); + clickButton('brushCell', popup); const popupColor = getOpenedPopup(editor);