-
Notifications
You must be signed in to change notification settings - Fork 4.7k
[RNMobile][Embed block] Disable inline preview for specific WP embed providers #34951
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
Conversation
For now Pinterest is the only WP embed provider not supported.
|
Size Change: 0 B Total Size: 1.06 MB ℹ️ View Unchanged
|
jd-alexander
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for these changes @fluiddot I verified that on a previous gb-mobile version the Pinterest provider was rendered but when I fired up Metro Server for this PR and served the assets, the provider was no longer displaying an inline preview. LGTM 🚢
| Before | After |
|---|---|
![]() |
![]() |


gutenberg-mobilePR: wordpress-mobile/gutenberg-mobile#3991Description
The inline preview for Pinterest URLs is not yet supported, however, it's currently being shown. This is caused because this provider is being rendered as a WordPress embed, in which inline previews are enabled independently to the provider. For this reason, we're adding a list of unsupported providers for the WordPress embeds that will disable it.
How has this been tested?
Screenshots
N/A
Types of changes
Bug fix
Checklist:
*.native.jsfiles for terms that need renaming or removal).