-
Notifications
You must be signed in to change notification settings - Fork 115
Open
Labels
Description
Describe the bug
The options to toggle a link between preview and text type is visible for links even if they're inline links, i.e. not alone in an otherwise empty paragraph. Trying to change such a link to preview doesn't do anything though.
To Reproduce
Steps to reproduce the behavior:
- Create a link surrounded by other text
- Click on the link, open the three-dot menu in the link bubble
- See the preview options
- Select "Show link preview", nothing happens
Expected behavior
I'm unsure what's the best fix:
- Remove the preview options from the three-dot menu when the link is inline. This means inconsistent UI for inline and stand-alone links
- Allow to transform inline links into a preview, which will split the paragraph and insert the preview as a new block node. This might be unexpected as well, but people always can undo this change.
I tend to prefer the second option.
@marcoambrosini @max-nextcloud what do you think?
Reactions are currently unavailable
