Skip to content

Commit

Permalink
fix: Allow copying content on error
Browse files Browse the repository at this point in the history
This feature was erroneously disabled during previous dependency
upgrades. We now need to pass an explicit prop.

WordPress/gutenberg#64245
  • Loading branch information
dcalhoun committed Feb 14, 2025
1 parent 84718a2 commit b9f8eca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/layout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import Editor from './editor';
*/
export default function Layout(props) {
return (
<ErrorBoundary>
<ErrorBoundary canCopyContent>
<Editor {...props}>
<EditorSnackbars />
</Editor>
Expand Down

0 comments on commit b9f8eca

Please sign in to comment.