-
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
Cannot select separator block #12080
Comments
UpdateI am able to select the Separator options by hovering over the separator then clicking on the drag-able handle that appears to the left of the separator. However, the classes I put into the Advanced -> Additional CSS classes do not appear to be added to the element. |
Thanks for the report and the update! It sounds like there are two separate issues and I can confirm the first one but not the second:
I tested with WordPress 4.9.8 and Gutenberg 4.5.1 using Firefox 63.0.1 on macOS 10.13.6 and confirmed the first bug that I couldn't reach the block settings by clicking with the mouse but I was able to apply and save custom classes in the "Additional CSS Class" field. I did my test with WordPress 4.9.8 and Gutenberg 4.5.1 using Firefox 63.0.1 on macOS 10.13.6 and Firefox 63 on Windows 10. Video: 2min @xy0 can you have a look at the video and let me know if my testing steps match with what you did? Did you save the post after adding an additional css class or notice whether autosave happened after you did that? Can you also make a note of your plugin version or your WP version if you're using one of the WP 5.0 beta versions? Temporary workaround for accessing the block settings: tap into an adjacent block and press the up or down arrow keys to navigate to and select the separator block. Note: not being able to click on a block to access block settings also came up for video blocks in #12080. |
If this gets confirmed, it should be opened in a separate issue. For 1., i.e. not being able to click on the separator, I'm putting this in 5.0.x for investigation. |
Removed the Re-tested with WordPress 4.9.8 and Gutenberg 4.6.1 |
The same problem, updated on WordPress 5.0, the separator stopped working, I can get to the separator settings only through "Navigation in blocks", in general, the separator settings work.
This method also works. |
@designsimply Your video perfectly describes the behavior that I see as well. The 2nd issue of not being able to apply classes, this is solved by using designsimply's workaround or by clicking on the scroll handle (on the right-side of the separator). Therefore no new issue needs to be created as it is derivative of the primary issue. I guess I was mistaken when not seeing them update. |
Can this be a possible solution? (
This allows me to click and select the Here is a screencast |
Hello, It's better to use rem unit like others styles in Gutenberg, I propose :
|
So that the extra padding is only visible in the editor I have
|
Another report for this: https://core.trac.wordpress.org/ticket/46008 |
Worth noting that not being able to select a separator block makes also very difficult to remove the block. Given the block is not selected, pressing Backspace doesn't do anything in most of the browsers. With Firefox, it triggers the default action: go back one page, which is completely unexpected. |
I'd suggest to change this issue title to: "Cannot select separator block". |
Closed with #14854. |
I'm creating this because I believe this isn't theme territory. You can click on different types of blocks and apply "Additional CSS Classes". Prior to the last update, this worked on Separator blocks. Now, clicking on the Separator block does not change the right-hand details panel at all.
Current Firefox, win10
The text was updated successfully, but these errors were encountered: