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 <[email protected]>
Co-authored-by: ellatrix <[email protected]>
Co-authored-by: dcalhoun <[email protected]>
Co-authored-by: tyxla <[email protected]>
  • Loading branch information
5 people authored Feb 16, 2024
1 parent 76d11ea commit 1c7f3a8
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

1 comment on commit 1c7f3a8

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in 1c7f3a8.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/7931533661
📝 Reported issues:

Please sign in to comment.