Skip to content

Commit

Permalink
fix: dev
Browse files Browse the repository at this point in the history
  • Loading branch information
electroluxcode committed Dec 7, 2024
1 parent b653fba commit 658ce3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/slate-react/src/components/editable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1166,7 +1166,7 @@ export const Editable = forwardRef(
mouseDown.current = true
if (
ReactEditor.hasTarget(editor, event.target) &&
!isEventHandled(event, attributes.onClick) &&
!isEventHandled(event, attributes.onMouseDown) &&
isDOMNode(event.target)
) {
const node = ReactEditor.toSlateNode(editor, event.target)
Expand Down

0 comments on commit 658ce3b

Please sign in to comment.