Skip to content

Commit

Permalink
New version 4.2.9 Read more https://github.com/xdan/jodit/blob/main/C…
Browse files Browse the repository at this point in the history
  • Loading branch information
xdan committed Apr 23, 2024
1 parent 9708fd9 commit a173999
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/color/color.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@
});

const popup = getOpenedPopup(editor);
expect(getButton('brushTable', popup)).is.null;
expect(getButton('brushCell', popup)).is.null;
});
});

Expand All @@ -241,7 +241,7 @@
});

const popup = getOpenedPopup(editor);
expect(getButton('brushTable', popup)).is.not.null;
expect(getButton('brushCell', popup)).is.not.null;
});
});
});
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/color/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');
},
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/inline-popup/config/items/cells.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const cmd = (control: IControlType): string =>
: '';

export default [
'brushTable',
'brushCell',
{
name: 'valign',
list: ['Top', 'Middle', 'Bottom', 'Normal'],
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/inline-popup/inline-popup.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit a173999

Please sign in to comment.