Skip to content

Commit

Permalink
After Enter transform, skip other onEnter actions like splitting (#59064
Browse files Browse the repository at this point in the history
)

Co-authored-by: jsnajdr <jsnajdr@git.wordpress.org>
Co-authored-by: ellatrix <ellatrix@git.wordpress.org>
Co-authored-by: dcalhoun <dpcalhoun@git.wordpress.org>
Co-authored-by: tyxla <tyxla@git.wordpress.org>
  • Loading branch information
5 people authored and getdave committed Feb 20, 2024
1 parent 3a6fad4 commit 54b7e41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@ export function RichTextWrapper(
transformation.transform( { content: value.text } ),
] );
__unstableMarkAutomaticChange();
return;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export function useEnter( props ) {
} ),
] );
__unstableMarkAutomaticChange();
return;
}
}

Expand Down

0 comments on commit 54b7e41

Please sign in to comment.