Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed. We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

How to let a user disable embeds for a link?

3 Posts
3 Users
0 Reactions
1,168 Views
Posts: 27
Customer
Topic starter
(@mathias-latournerie)
Member
Joined: 5 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: 6444
Admin
(@astgh)
Illustrious Member
Joined: 8 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: 5 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