Fix Z-Index Issue for Link Options in Block Editor#63834
Fix Z-Index Issue for Link Options in Block Editor#63834dhananjaykuber wants to merge 1 commit intoWordPress:trunkfrom
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the Unlinked AccountsThe following contributors have not linked their GitHub and WordPress.org accounts: @rgerhards, @83pixel. Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases. If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
Hi @dhananjaykuber, This issue has been resolved in #63939. Of course, you have been added as a co-author to the props. I would like to close this PR, but thank you for your efforts! |
Fixes #63795
What?
This PR adds a z-index to the .editor-visual-editor class to prevent link options from being hidden when editing text at the bottom of the page.
Why?
Currently, when editing text at the bottom of the page in the new block editor, the link options can be hidden behind other elements (such as SEO options). This issue occurs because the .editor-visual-editor class lacks a z-index property. Adding a z-index resolves this problem and improves the user experience when working with links in the editor.
How?
The fix involves adding a
z-index: 20to the .editor-visual-editor class in the appropriate CSS file. This ensures that the editor's content, including link options, appears above other page elements.Testing Instructions
Screenshots or screencast