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

Pressing enter after entering site title text does not create space for the next block #27831

Closed
carolinan opened this issue Dec 19, 2020 · 3 comments · Fixed by #30996
Closed
Assignees
Labels
[Block] Site Title Affects the Site Title Block [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended

Comments

@carolinan
Copy link
Contributor

Describe the bug
Normally when you add or edit a block and press enter, a new line is created below it and the block inserter is showing.
If you add a site title block, edit the text and then press enter, nothing happens.

To reproduce
Steps to reproduce the behavior:

  1. Activate a full site editing theme
  2. In either the site editor or the post editor, add a site title block
  3. Place the marker at the end of the text and press enter
  4. See that nothing happens
  5. Edit the site title text, then press enter
  6. See that nothing happens

Expected behavior
I expected a new line to be created below the site title and the block inserter to show.
Or, a second line of the same title block to be added.

Editor version (please complete the following information):
WordPress version: 5.6
Gutenberg 9.6. rc-1 current master (last update b6d6d4c)

Desktop (please complete the following information):
OS: Windows 10
Browser Chrome Version 87.0.4280.88

@carolinan carolinan added [Block] Site Title Affects the Site Title Block [Type] Bug An existing feature does not function as intended labels Dec 19, 2020
@aurooba
Copy link
Member

aurooba commented Feb 16, 2021

Testing with Gutenberg 9.9.3 on WordPress 5.6.1 and the TT1 theme, I couldn't reproduce this error. Pressing enter seems to create a new line below with block inserting capabilities. So this may be resolved.

@carolinan
Copy link
Contributor Author

I am still able to reproduce it in WordPress 5.7-RC1-50437 with Gutenberg 10.0.2 in Chrome and Firefox. 🤔

@andersnoren
Copy link

I can reproduce the issue in Gutenberg 10.3.2 on WordPress 5.7, when editing a footer template part in the site editor and when editing the content of a page in the block editor. Running Safari.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Site Title Affects the Site Title Block [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended
Projects
None yet
4 participants