Skip to content

Commit

Permalink
Improved reliability of autotests in the image properties plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
xdan committed Apr 22, 2024
1 parent 442cf02 commit 1f4fd95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/core/ui/popup/popup.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@

const openPopup = function (getBound, content, strategy) {
const editor = getJodit();
editor.value = '<p>test</p>'.repeat(100);

const popup = new Jodit.modules.Popup(editor);

Expand Down
2 changes: 1 addition & 1 deletion src/core/ui/popup/popup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ export class Popup extends UIGroup implements IPopup {
return strategy;
};

// Try find match position inside Jodit.container
// Try to find match position inside Jodit.container
let strategy = getMatchStrategy(position(this.j.container, this.j));

// If not found or is not inside window view
Expand Down

0 comments on commit 1f4fd95

Please sign in to comment.