Skip to content

Commit

Permalink
After Enter transform, skip other onEnter actions like splitting
Browse files Browse the repository at this point in the history
  • Loading branch information
jsnajdr committed Feb 16, 2024
1 parent 237865f commit 6eeb7d9
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 6eeb7d9

Please sign in to comment.