Open fluiddot opened 3 years ago
Describe the bug Pinterest provider is not supported in the Embed block so the inline preview shouldn't be enabled, however, since it's being rendered as a WordPress embed it's not being filtered out and therefore it's being displayed.
Related code: https://github.com/WordPress/gutenberg/blob/aa6217fc2a81bdc71c2d545744b9735c7626385a/packages/block-library/src/embed/edit.native.js#L218-L219
Besides, it's not properly rendered, on iOS the preview is empty and on Android, the content is cut off.
To Reproduce
Expected behavior The inline preview should be displayed properly or disabled until it's supported.
Screenshots
Smartphone (please complete the following information):
Additional context Looks like the Pinterest provider has been added recently as per this commit from WordPress repo.
For now the inline preview will be disabled after merging this PR: https://github.com/wordpress-mobile/gutenberg-mobile/pull/3991
Describe the bug Pinterest provider is not supported in the Embed block so the inline preview shouldn't be enabled, however, since it's being rendered as a WordPress embed it's not being filtered out and therefore it's being displayed.
Related code: https://github.com/WordPress/gutenberg/blob/aa6217fc2a81bdc71c2d545744b9735c7626385a/packages/block-library/src/embed/edit.native.js#L218-L219
Besides, it's not properly rendered, on iOS the preview is empty and on Android, the content is cut off.
To Reproduce
Expected behavior The inline preview should be displayed properly or disabled until it's supported.
Screenshots
Smartphone (please complete the following information):
Additional context Looks like the Pinterest provider has been added recently as per this commit from WordPress repo.