Skip to content

Embed block: Inline preview cut-off when editing URL #4059

@fluiddot

Description

@fluiddot

Describe the bug
After creating an Embed block and only depending on the provider used, editing the URL with one from a different provider can lead to a cut-off of the inline preview.

To Reproduce

  1. Add an Embed block.
  2. Set a YouTube URL (example: https://www.youtube.com/watch?v=ssfHW5lwFZg).
  3. Tap on the pencil icon button, located in the toolbar, to edit the URL.
  4. Set an Instagram URL (example: https://www.instagram.com/p/Bl6LgZgFDOm).
  5. Observe that the inline preview is cut-off.

Expected behavior
Inline previews should display the entire content.

Screenshots

embed-block-preview-cut-off.mp4

Smartphone (please complete the following information):

  • Device: Simulator - iPhone 12 Pro Max
  • OS: iOS 14.5
  • Version 18.3

Additional context
Similar behavior can be reproduced following the same reproduction steps in the web version of the editor.

Screenshot 2021-09-30 at 13 57 52

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions