[RNMobile] Improve how URLs are populated in embed blocks from device clipboard #35888
Labels
Mobile App - i.e. Android or iOS
Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change)
[Priority] Low
Used to indicate that the issue at hand isn't a top priority to address and can be handled later
[Type] Enhancement
A suggestion for improvement.
What problem does this address?
While testing iOS 18.5 I noticed when adding a YouTube embed block with an Instagram url in my clipboard, the link input was auto populated with the domain name (instagram.com) cut off from the view. When I inserted the block an Instagram block appeared. I didn't expect the YouTube embed to accept a url from another embed service. It was also difficult to know I had a URL from a different service in my clipboard since the cursor was placed at the right end of the text hiding the domain name.
What is your proposed solution?
Embed blocks should not auto populate the link field from the device clipboard if the url is from a different service.
Additionally we might want to consider placing the cursor of an auto pasted url to the left of the text so the domain name is clear.
The text was updated successfully, but these errors were encountered: