Skip to content

Commit

Permalink
Fix the RN version of RichText
Browse files Browse the repository at this point in the history
  • Loading branch information
jsnajdr committed Dec 12, 2024
1 parent 3c9dbcc commit 010a3f6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {
getBlockTransforms,
findTransform,
isUnmodifiedDefaultBlock,
RichTextContent,
} from '@wordpress/blocks';
import { useInstanceId, useMergeRefs } from '@wordpress/compose';
import {
Expand Down Expand Up @@ -42,7 +43,6 @@ import {
createLinkInParagraph,
} from './utils';
import EmbedHandlerPicker from './embed-handler-picker';
import { Content } from './content';
import RichText from './native';
import { withDeprecations } from './with-deprecations';
import { findSelection } from './event-listeners/input-rules';
Expand Down Expand Up @@ -679,7 +679,7 @@ export const PrivateRichText = withDeprecations(
forwardRef( RichTextWrapper )
);

PrivateRichText.Content = Content;
PrivateRichText.Content = RichTextContent;

PrivateRichText.isEmpty = ( value ) => {
return ! value || value.length === 0;
Expand Down

0 comments on commit 010a3f6

Please sign in to comment.