Skip to content

Commit

Permalink
Remove debug, reload editor ids
Browse files Browse the repository at this point in the history
  • Loading branch information
ol0lll committed Apr 22, 2024
1 parent 130dfc4 commit 6e7ec51
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,6 @@ protected function setEditorSelection($ck_editor_id, $needle): void {
const newRange = writer.createRange( newPosition );
writer.setSelection( newRange );
editor.focus()
setTimeout(() => console.log("First"), 20000)
});
})('{$ck_editor_id}', '{$needle}')
JS;
Expand Down Expand Up @@ -550,6 +548,8 @@ public function testSplitTwice() {
$this->setEditorSelection($ck_editor_id_1, 'third');
$this->clickParagraphSplitButton($ck_editor_id_1);

$ck_editor_id_0 = $this->getCkEditorId(0);
$ck_editor_id_1 = $this->getCkEditorId(1);
$ck_editor_id_2 = $this->getCkEditorId(2);
static::assertEquals(
$paragraph_content_0,
Expand Down

0 comments on commit 6e7ec51

Please sign in to comment.