angular-editor icon indicating copy to clipboard operation
angular-editor copied to clipboard

Link Issue

Open bhavikpatel7023 opened this issue 5 years ago • 7 comments

If i add link in Editor, it add anchor tag but it doesn't add target _blank to open it in new tab. How i can add that?

bhavikpatel7023 avatar Feb 04 '20 14:02 bhavikpatel7023

Hi! If you insert full uri on external site page openes n new tab.

kolkov avatar Feb 04 '20 16:02 kolkov

Do we have any settings to make all links open in anchor tag? In term and conditions, we have links for same site but we want to open in new tab else we will lose pre filled data.

bhavikpatel7023 avatar Feb 04 '20 18:02 bhavikpatel7023

@bhavikpatel7023 I need the same requirement. I'd need to specify if a link should have the target _blank or not. Did you manage to find a solution?

msanandrea avatar May 18 '20 16:05 msanandrea

I don’t know yet how best to implement this. There we need to rework the block of inserts in theory.

kolkov avatar May 18 '20 16:05 kolkov

@kolkov you can prompt a confirmation alter upon entering the link for the href, asking if you want to set the target to _blank or not, and add that attribute based on the repsonse.

msanandrea avatar May 18 '20 17:05 msanandrea

@msanandrea It didn't work for me. It behaves strange. Even sometimes, Internal site links open in a new tab, external URI doesn't work.

bhavikpatel7023 avatar May 18 '20 22:05 bhavikpatel7023

Hi! If you insert full uri on external site page openes n new tab.

@kolkov I tried entering the full uri of the external website too but then its not opening in new tab

ganesh-sethu avatar Jul 29 '22 13:07 ganesh-sethu