Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RNMobile] Fix for Heading block on ENTER.key to create empty paragraph #14642

Conversation

daniloercoli
Copy link
Contributor

@daniloercoli daniloercoli commented Mar 26, 2019

This PR fixes the problem on mobile where pressing enter at the end of a Heading block, it does create another Heading block. Ref: wordpress-mobile/gutenberg-mobile#734

Expectation: Pressing enter on a Heading block, should create a Paragraph block. Same as on any other "split-able block)

To test this PR, use the following gb-mobile branch here: wordpress-mobile/gutenberg-mobile#787

…eading block, and create an empty paragraph after it.
@daniloercoli daniloercoli added the Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change) label Mar 26, 2019
@daniloercoli daniloercoli added this to the 5.4 (Gutenberg) milestone Mar 26, 2019
@daniloercoli daniloercoli requested review from Tug and etoledom March 26, 2019 18:10
Copy link
Contributor

@mzorz mzorz left a comment

Choose a reason for hiding this comment

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

LGTM :shipit:

@daniloercoli daniloercoli merged commit 828fe40 into master Mar 27, 2019
@daniloercoli daniloercoli deleted the rnmobile/Enter-on-Heading-block-creates-another-Heading-block branch March 27, 2019 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants