Notifications
Clear all

How to let a user disable embeds for a link?

3 Posts
3 Users
0 Reactions
904 Views
Posts: 27
Customer
Topic starter
(@mathias-latournerie)
Member
Joined: 4 years ago

Hey!

Is there a trick to let users disable embeds when they paste a link?

Sometimes my users want the embeds and sometimes they don't.

I tried to use the "Add Link" button, I thought it would be a great way to give the users a way to specifically say "do not embed this" but alas the embed system still reads the <a> text value and create an embed.

Is there a known workaround already? If not, could you modify the "pattern_url_find" regex to not match URL already enclosed in a '<a>' tag?

Thanks!

2 Replies
Astghik
Posts: 6199
Admin
(@astgh)
Illustrious Member
Joined: 7 years ago

@mathias-latournerie,

I'm really sorry, but the addon doesn't have such a feature. You can ask the users to enclose the link within the quotes. For example:

"https://www.youtube.com/watch?v=36p_cd7A8Wo&t=910s"

Reply
1 Reply
Customer
(@aung-oo-aung)
Joined: 4 years ago

Member
Posts: 8

@astghik I was also after a solution for this. The enclosing link works perfectly. Thank you!

Reply
Share:
Scroll to top