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

Add function to check Gutenberg version via Javascript #17809

Closed
phpbits opened this issue Oct 7, 2019 · 4 comments

Comments

@phpbits
Copy link

commented Oct 7, 2019

Is your feature request related to a problem? Please describe.
Add a way to check Gutenberg version via JS similar to what we have on PHP gutenbergVersion > 6.4. This will help us plugin users to create conditional statement and deprecated conditions on blocks and features. Thanks!

@youknowriad

This comment has been minimized.

Copy link
Contributor

commented Oct 7, 2019

There's nothing specific to Gutenberg in this proposal. I think if we were to do something, it should be a generic thing for all plugins. I'd suggest opening a trac ticket instead. Thanks.

@youknowriad youknowriad closed this Oct 7, 2019
@phpbits

This comment has been minimized.

Copy link
Author

commented Oct 7, 2019

@youknowriad Changed to gutenbergVersion > 6.4 so it'll be specific to Gutenberg. Thanks!

@youknowriad

This comment has been minimized.

Copy link
Contributor

commented Oct 7, 2019

What I'm saying is that you want to check the gutenberg plugin's version, someone else might want to check Yoast version... You should be able to check any plugin's version.

@phpbits

This comment has been minimized.

Copy link
Author

commented Oct 7, 2019

@youknowriad Ah sorry for the confusion. What I'm meaning to say is the editor version itself not the Gutenberg plugin.Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.