Skip to content

Commit

Permalink
[RNMobile][Embed block] Enable embed preview for Instagram and Vimeo …
Browse files Browse the repository at this point in the history
…providers (#34563)

* Added instagram and vimeo to inline preview providers.

* Added entry to CHANGELOG.
  • Loading branch information
jd-alexander committed Sep 15, 2021
1 parent 51960ba commit 61d3be5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/embed/edit.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import { View } from '@wordpress/primitives';

// The inline preview feature will be released progressible, for this reason
// the embed will only be considered previewable for the following providers list.
const PREVIEWABLE_PROVIDERS = [ 'youtube', 'twitter' ];
const PREVIEWABLE_PROVIDERS = [ 'youtube', 'twitter', 'instagram', 'vimeo' ];

const EmbedEdit = ( props ) => {
const {
Expand Down
1 change: 1 addition & 0 deletions packages/react-native-editor/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ For each user feature we should also add a importance categorization label to i
- [**] Fix Android-only issue of main toolbar initial position being wrong when RTL [#34617]
- [**] Embed block: Implemented the No Preview UI when an embed is successful, but we're unable to show an inline preview [#34626]
- [*] Column block: Translate column width's control labels [#34777]
- [**] Enable embed preview for Instagram and Vimeo providers. [#34563]

## 1.61.0
- [**] Enable embed preview for a list of providers (for now only YouTube and Twitter) [#34446]
Expand Down

0 comments on commit 61d3be5

Please sign in to comment.