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

File block: Can not select and edit the link text #50421

Closed
carolinan opened this issue May 8, 2023 · 0 comments · Fixed by #50607
Closed

File block: Can not select and edit the link text #50421

carolinan opened this issue May 8, 2023 · 0 comments · Fixed by #50607
Assignees
Labels
[Block] File Affects the File Block [Type] Bug An existing feature does not function as intended

Comments

@carolinan
Copy link
Contributor

carolinan commented May 8, 2023

Description

When you add a file block, select a file, delete the link text, and click anywhere outside the block, you can no longer select the placeholder text. Instead, the cursor is placed on the download button.

Step-by-step reproduction instructions

  1. Add a new file block in the block editor.
  2. Select a file.
  3. Delete the link text so that the placeholder text shows.
  4. Click anywhere in the editor; outside the block.
  5. Try to place the mouse cursor in the placeholder to add a new text.
  6. Find that the download button is selected instead.

(Navigating to the placeholder with the keyboard still works).

Screenshots, screen recording, code snippet

Screen.Recording.2023-05-08.at.07.39.27.mov

Environment info

WordPress 6.2
Gutenberg 15.7.0
Chrome
Twenty Twenty-Three

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

@carolinan carolinan added [Block] File Affects the File Block [Type] Bug An existing feature does not function as intended labels May 8, 2023
@annezazu annezazu added this to Polish May 10, 2023
@annezazu annezazu moved this to Needs development in Polish May 10, 2023
@ntsekouras ntsekouras added the [Status] In Progress Tracking issues with work in progress label May 18, 2023
@apeatling apeatling moved this from Needs development to In progress in Polish May 18, 2023
@ntsekouras ntsekouras moved this from In progress to Done in Polish May 19, 2023
@priethor priethor removed the [Status] In Progress Tracking issues with work in progress label May 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] File Affects the File Block [Type] Bug An existing feature does not function as intended
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants