Skip to content

Commit

Permalink
Focusing in the slideEditorContent method too
Browse files Browse the repository at this point in the history
  • Loading branch information
vivinkrishna-ni committed Oct 10, 2024
1 parent 0af009b commit c2a8b4b
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,11 @@ export class RichTextEditorPageObject {
.deleteRange({ from, to })
.run();
await waitForUpdatesAsync();

if (await this.isMentionListboxOpened()) {
this.richTextEditorElement.tiptapEditor.commands.focus();
await waitForUpdatesAsync();
}
}

public getEditorLastChildAttribute(attribute: string): string {
Expand Down

0 comments on commit c2a8b4b

Please sign in to comment.