Rank: Newbie Groups: Member
Joined: 10/12/2010 Posts: 3
|
Is there an easier way to add target = "_blank" to the built in Javascript function InsertOrEditLink than trying to build a new custom function that does the same thing but contains target = "_blank"?
Thanks,
Jay
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
InsertOrEditLink is not a function. You will need to customize the insert link dialog to hide the "Target" textbox and also give it whatever default value you want it to have. Note you need to hide it but not removing it because the rest of the code still takes whatever value in that textbox. So if you put "_blank" there, a link with target="_blank" will be inserted.
Thanks!
|