Copy link to clipboard
Copied
Can this be setup in DW, that when I create a hyperlink, the DEFAULT is to add target="_blank"? I need this desperately and the <base target... is not working within the LMS I use. Thank you in advance.
See my reply to your other post on the same topic.
Copy link to clipboard
Copied
There's no way to do it within the Properties window itself or within the program files, that I'm aware of. I bet if the right program file could be found, setting the target autommatically might be possible, but I wouldn't know where to start looking.
You could set up a "Targeted Link" Snippet in DWCC2015 and earlier, or DWCC2020 and newer, to do it though...
1. In the Snippets window, click the New Snippet button
2. In the dialogue that comes up, give the Snippet a name
3. Make sure Wrap Selection is chosen for Snippet Type
4. Add: <a href="#" target="_blank"> to the Insert Before field
5. Add: </a> to the Insert After field
6. Hit OK
Select the item or text you want to add a link to and then doubleclick the Snippet. You then add the actual link as normal in the Properties window (replacing the # symbol). In CC2015 and earlier, you can also link the Snippet to a Keyboard Shortcut. That is not possible in CC2020+ however.
Another option would be to add the target info after all of your links have been created using the Find & Replace Tool, but that would get pretty muddy if you already have some targets set.
Copy link to clipboard
Copied
See my reply to your other post on the same topic.