Skip to content

Commit

Permalink
Block Editor: Fix 'useSelect' dependencies for the 'RichText component (
Browse files Browse the repository at this point in the history
WordPress#66964)


Co-authored-by: Mamaduka <[email protected]>
  • Loading branch information
Mamaduka and Mamaduka authored Nov 13, 2024
1 parent 65c45a3 commit f400d46
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packages/block-editor/src/components/rich-text/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,14 @@ export function RichTextWrapper(
bindingsLabel: _bindingsLabel,
};
},
[ blockBindings, identifier, blockName, blockContext, adjustedValue ]
[
blockBindings,
identifier,
blockName,
adjustedValue,
clientId,
blockContext,
]
);

const shouldDisableEditing = readOnly || disableBoundBlock;
Expand Down

0 comments on commit f400d46

Please sign in to comment.