Skip to content

Commit

Permalink
IBX-6849: fixed rte buttons positions
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaszszopinski committed Nov 7, 2023
1 parent 161f563 commit c7988a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/Behat/Component/Fields/RichText.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,14 +141,14 @@ public function addUnorderedList(array $listElements): void

public function clickEmbedInlineButton(): void
{
$buttonPosition = 11 + $this->getCustomStylesOffset();
$buttonPosition = 6 + $this->getCustomStylesOffset();
$this->openElementsToolbar();
$this->clickElementsToolbarButton($buttonPosition);
}

public function clickEmbedButton(): void
{
$buttonPosition = 8 + $this->getCustomStylesOffset();
$buttonPosition = 3 + $this->getCustomStylesOffset();
$this->openElementsToolbar();
$this->clickElementsToolbarButton($buttonPosition);
}
Expand Down

0 comments on commit c7988a1

Please sign in to comment.