Search
Close
AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

How to let a user disable embeds for a link?

3 Posts
3 Users
0 Reactions
1,600 Views
Posts: 27
Customer
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@mathias-latournerie)
Member
Joined: 5 years ago
[#7177]

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: 6645
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@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
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

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


Reply
Share:
Scroll to top