Skip to content

Commit

Permalink
chore: modify unit test description
Browse files Browse the repository at this point in the history
  • Loading branch information
WindRunnerMax committed Sep 21, 2024
1 parent 15ee8da commit 6e46989
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import { Editor } from 'slate'
import { jsx } from '../../..'

/**
* This test verifies that when double clicking a marked word in Firefox,
* Editor.marks for the resulting selection includes the marked word. Double
* clicking a marked word in Firefox results in a selection that starts at the
* end of the previous text node and ends at the end of the marked text node.
* Similar to firefox-double-click.tsx, when the selection is at the end of
* the previous node's path, using Editor.marks retrieves the marks of that node.
* However, when addMark is triggered, that node is not within the range for
* adding marks, thus failing to transfer the state correctly.
*/

export const input = (
Expand Down

0 comments on commit 6e46989

Please sign in to comment.