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

Classic Paragraph is used by default when starting to create new post #15497

Closed
vesaraiskila opened this issue May 8, 2019 · 14 comments
Closed
Labels
[Status] Needs More Info Follow-up required in order to be actionable.

Comments

@vesaraiskila
Copy link

Describe the bug
After WordPress 5.2 update, starting to write a new post results in the use of the Classic Paragraph.

To reproduce
Steps to reproduce the behavior:

  1. Choose to add a new post.
  2. Tap the text space under the heading field.

Expected behavior
A Gutenberg block is created.

Note:

If I don't tap the text space but instead the "plus" (Add block) sign on the left and then select "Paragraph", a Gutenberg block is created. Adding a new Gutenberg block from that on requires pressing the Enter key.

Desktop (please complete the following information):

OS: Mac OS Mojave version 10.14.4
Browser: Safari
Safari version: 12.1
Additional context

WordPress version: 5.2 (with the included Gutenberg version)

@youknowriad youknowriad added the [Status] Needs More Info Follow-up required in order to be actionable. label May 8, 2019
@youknowriad
Copy link
Contributor

I can't reproduce personally. I think it's a conflict with some plugin or code bootrapping the post content with maybe an empty paragraph, am empty line or any content that is not parsable as Gutenberg blocks.

@vesaraiskila
Copy link
Author

It is related to the upgrade to WordPress 5.2 though, as this never occurred earlier. The 5.2 upgrade is the only change that has taken place in my environment.

@vesaraiskila
Copy link
Author

Could it help if I enclosed the content of the JavaScript console for this? (I assume it does not contain any "secure" information that should not be publicly displayed.)

@youknowriad
Copy link
Contributor

I'd say it's probably not related to the JavaScript errors you're having but sharing those doesn't harm.
Even if it started with WordPress 5.2 doesn't mean it's not a plugin conflict. So if you have the possibility to disable plugins and test, that would be appreciated. Otherwise, can you share more about the plugins you have. I'm asking because we can't reproduce the issue with just WordPress 5.2.

@nicopujol
Copy link

Same issue/bug since upgrading to WordPress 5.2. It opens a classic block by default and will not allow deleting it or "converting to blocks".

@vesaraiskila
Copy link
Author

vesaraiskila commented May 9, 2019

Same issue/bug since upgrading to WordPress 5.2. It opens a classic block by default and will not allow deleting it or "converting to blocks".

I can get rid of it by clicking the "plus" sign above the block and selecting "Paragraph". The classic block then just disappears, and pressing Enter creates additional Gutenberg blocks. However, the choice of blocks is then restricted to six, one of which is the Classic paragraph (note that the UI is - mostly (!) - in Finnish):

image

@youknowriad I have shared the active plugins here:

#15491 (comment)

@vesaraiskila
Copy link
Author

vesaraiskila commented May 9, 2019

Same issue/bug since upgrading to WordPress 5.2. It opens a classic block by default and will not allow deleting it or "converting to blocks".

I can also delete it by pressing the "plus" sign (on the left of the block), after which the three dots appear at the top right corner of the block, and the menu that opens from that contains the delete block option.

Addendum to my above comment: sometimes pressing the "plus" sign on the left does open a dialog that contains all the available block options, not just the six in the screenshot above. Pressing "plus" above a Gutenberg block always brings up the dialog with all the options.

@Creat1veM1nd
Copy link

Had the same issue. Deactivating the plugin "TinyMCE Advanced" solved it.

@vesaraiskila
Copy link
Author

Had the same issue. Deactivating the plugin "TinyMCE Advanced" solved it.

Thanks for the information. Deactivating that plugin solved it for me too.

I guess we can close this issue now.

@azaozz
Copy link
Contributor

azaozz commented May 9, 2019

Just FYI this is a setting in the TinyMCE Advanced plugin :)

It is mostly intended to "ease-in" the transition for users that have just updated WordPress and are "dropped into" a completely new, unfamiliar Edit Post screen (yeah, that's scary!). We've been looking at, using and working on Gutenberg for couple of years now. We've seen it evolve and get better and better, and of course are quite familiar with it. But a lot of WP users are not. Having a familiar place to start with is a big help :)

There haven't been any changes in the TinyMCE Advanced plugin in that area for 5.2, but seems Gutenberg handles changing the "default block" better now. It can easily be turned off for people that don't need it:

default-block

@nicopujol
Copy link

Interesting, thanks for the clarification. I think it will confuse users which did the mental and technical effort to move to Gutenberg blocks to find themselves with the classic editor when starting a post. It was quite perplexing yesterday as, without notice, the first block was no longer a 'paragraph' and it wasn't clear to how to remove it ("convert to blocks" failed since there was no content).

On the topic of TinyMCE Advanced we're seeing another glitch since this week, independent of this behavior (insertion of spaces when updating a classic block). It needs a new ticket, where can I report this?

@azaozz
Copy link
Contributor

azaozz commented May 9, 2019

...to find themselves with the classic editor when starting a post.

This was always the "intended behaviour" when changing the default block (not just to classic paragraph, can be any block, image, list, etc.). It was a little bit glitchy before, now it works better/properly.

Best place to report bugs with the plugin is https://wordpress.org/support/plugin/tinymce-advanced/ (like all WP plugins).

@ombion
Copy link

ombion commented Apr 8, 2020

Thanks for pointing out settings in TinyMCE. With default settings, Classic Paragraph block keeps taking over when I just want select and use another block. This annoys the heck out of me.

Just FYI this is a setting in the TinyMCE Advanced plugin :)

It is mostly intended to "ease-in" the transition for users that have just updated WordPress and are "dropped into" a completely new, unfamiliar Edit Post screen (yeah, that's scary!). We've been looking at, using and working on Gutenberg for couple of years now. We've seen it evolve and get better and better, and of course are quite familiar with it. But a lot of WP users are not. Having a familiar place to start with is a big help :)

There haven't been any changes in the TinyMCE Advanced plugin in that area for 5.2, but seems Gutenberg handles changing the "default block" better now. It can easily be turned off for people that don't need it:

default-block

@officespacemike
Copy link

We have found this line of code: on several hundred pages.
Is this likely to cause crawl issues?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Status] Needs More Info Follow-up required in order to be actionable.
Projects
None yet
Development

No branches or pull requests

7 participants