Skip to content

Commit

Permalink
fix default export
Browse files Browse the repository at this point in the history
  • Loading branch information
glendaviesnz committed Apr 1, 2024
1 parent 3ae64ae commit 262fe03
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/block-editor/src/components/rich-text/index.js
Expand Up @@ -485,9 +485,7 @@ PrivateRichText.isEmpty = ( value ) => {
* @see https://github.com/WordPress/gutenberg/blob/HEAD/packages/block-editor/src/components/rich-text/README.md
*/
const PublicForwardedRichTextContainer = forwardRef( ( props, ref ) => {
return (
<PrivateRichText ref={ ref } { ...props } disableEditing={ false } />
);
return <PrivateRichText ref={ ref } { ...props } readonly={ false } />;
} );

PublicForwardedRichTextContainer.Content = Content;
Expand Down

0 comments on commit 262fe03

Please sign in to comment.