-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
CTRL + A does not select anything if editor only has (or had) only one Classic block #12341
Comments
I tested with WordPress 5.0-RC1-43944 and Firefox 63.0.3 on macOS 10.13.6 and found that pressing
I also tested using WordPress 4.9.8 and Gutenberg 4.5.1 using Firefox 63.0.3 on macOS 10.13.6 and found the same result with the plugin. Testing note: leaving the |
Thanks for testing this, @designsimply. I did some further testing and now realize this bug is more specific than I thought, though you'll see why I ended up thinking it was broader. This seems to only happen when the Classic block is the first and only block. (Even an empty second block will make I've updated the title accordingly. (What do you use for GIFs that shows the keystrokes?) |
ScreenFlow and I ❤️ it! |
By empty block do you mean the default block—as in the one with the (+) inserter to the left? I tried but I couldn't figure out how to get a post into a state where there was a classic block and no default block. I think it's possible this could happen if you have a plugin installed that changes the default block to something other than paragraph but I am not sure. In any case!, how do I get a post into a state where there's a classic block and no empty/default block? I tried creating a post with the Gutenberg plugin deactivated then re-activating Gutenberg, but the default/empty block is always there in my testing. Note: I'm using Firefox 63.0.3 on macOS 10.13.6 so maybe I should try with Windows (but I can't imagine that would make a difference for this case!)? |
I tested with Firefox 63 on Windows 10 and found that
Related: #8180 Aside: okay, after seeing the your explanation, I think we're just thinking of the default/empty block slightly differently (screenshot) and I think my testing was good.
Gah! I didn't know… |
I think you're right. I think of the "default/empty" block as the paragraph with placeholder text to the left of what you're pointing at. |
still reproducible in Gutenberg 9.8.0 |
The Classic Block is now is a modal and much more stable than before (closer to the old editor, which was also iframed). Closing this because these are now separate editing experiences. |
Describe the bug
Hitting
CTRL
+A
makes no selection if there is only one block. This is particularly an issue using the "hybrid" workflow of Gutenberg + a single Classic block.To Reproduce
CTRL
+A
Expected behavior
The entire paragraph/classic/other block is selected.
Desktop (please complete the following information):
Win 10, Firefox 63.0.3, WordPress 5.0-RC1-43944, no plugins, Twenty Nineteen
The text was updated successfully, but these errors were encountered: