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

Gutenberg v8.0.0: duplicate Preview links appearing in the header #41519

Closed
andrewserong opened this issue Apr 28, 2020 · 1 comment · Fixed by #41528
Closed

Gutenberg v8.0.0: duplicate Preview links appearing in the header #41519

andrewserong opened this issue Apr 28, 2020 · 1 comment · Fixed by #41528
Labels
[Goal] Gutenberg Working towards full integration with Gutenberg [Type] Bug

Comments

@andrewserong
Copy link
Member

The class name for the Preview dropdown in Gutenberg has been updated as of GB v8.0.0, which results in two Preview links appearing the editor header (change introduced in WordPress/gutenberg#21309):

image

This should be resolved by updating the line

to use the .block-editor-post-preview__dropdown class instead. (To support both GB v7.8.1 and v8.0.0 concurrently, it'd be a good idea to use both selectors).

@ramonjd
Copy link
Member

ramonjd commented Apr 28, 2020

Created #41528 for the heck of it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Goal] Gutenberg Working towards full integration with Gutenberg [Type] Bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants