Skip to content

Commit

Permalink
Improve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed Nov 28, 2024
1 parent 3c2ae80 commit f7f40de
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/block-editor/src/components/rich-text/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -431,9 +431,10 @@ export function RichTextWrapper(
aria-multiline={ ! disableLineBreaks }
aria-readonly={ shouldDisableEditing }
{ ...props }
// Unset draggable for contentEditable elements because it will
// interfere with multi block selection when the contentEditable
// and draggable elements are the same element.
// Unset draggable (coming from block props) for contentEditable
// elements because it will interfere with multi block selection
// when the contentEditable and draggable elements are the same
// element.
draggable={ undefined }
aria-label={
bindingsLabel || props[ 'aria-label' ] || placeholder
Expand Down

0 comments on commit f7f40de

Please sign in to comment.