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: Inconsistent Text link behavior. Download button has no option to "Open in new tab" #42170

Open
automattic-ian opened this issue May 13, 2020 · 6 comments
Labels
Blocks Editor blocks, aka Gutenberg blocks, plugins, and extensions [Pri] Normal Triaged To be used when issues have been triaged. [Type] Enhancement [Type] Feature Request Feature requests User Report This issue was created following a WordPress customer report

Comments

@automattic-ian
Copy link

Steps to reproduce

  1. open page/post editor
  2. insert file block
  3. set link to open in new tab

What I expected

I expect the button and the text link to both open in a new tab. it is not clear to users that the open in new tab behaviour only applies to the text link.

What happened instead

regardless of setting in block setting pane, the button link will always open in the same tab.

Browser / OS version

Screenshot / Video

Context / Source

#user-report

@automattic-ian automattic-ian added the Blocks Editor blocks, aka Gutenberg blocks, plugins, and extensions label May 13, 2020
@akmyta
Copy link

akmyta commented Aug 21, 2020

Reported here as well: 23317851-hc
The workaround was using just the button block but would be nice to have the File Blocks built-in button to also open in a new tab rather than just the text link.

@github-actions
Copy link

This issue is stale because it has been 180 days with no activity. You can keep the issue open by adding a comment. If you do, please provide additional context and explain why you’d like it to remain open. You can also close the issue yourself — if you do, please add a brief explanation and apply one of relevant issue close labels.

@rinazrina
Copy link

Another report: 28904897-hc

The user only uses the button in the File Block and not the text link. Each time the "Open in a new tab" enabled, it went back to disabled after updating and refreshing the page. I suggested using Buttons block as a workaround.

@kristenzuck kristenzuck added the User Report This issue was created following a WordPress customer report label Apr 29, 2021
@arunsathiya
Copy link
Contributor

Same confusion on this ticket 4271422-zen. Adding to triage queue so that they can test if this is a Dotorg issue or specific to WordPress.com/WordPress.com themes. I have reached EOD.

@formosattic
Copy link

Thanks for the report @automattic-ian.

This is raised in WordPress/gutenberg#27760 (comment).

@formosattic formosattic changed the title File Block settings oversight File Block: Inconsistent Text link behavior. Download button has no option to "Open in new tab" Sep 14, 2021
@formosattic formosattic added the Triaged To be used when issues have been triaged. label Sep 14, 2021
@dpasque dpasque added the [Type] Feature Request Feature requests label Sep 14, 2021
@sharonlaker19
Copy link

+1 at 33652083-hc , suggested Buttons block as a workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Blocks Editor blocks, aka Gutenberg blocks, plugins, and extensions [Pri] Normal Triaged To be used when issues have been triaged. [Type] Enhancement [Type] Feature Request Feature requests User Report This issue was created following a WordPress customer report
Projects
None yet
Development

No branches or pull requests

8 participants