View Full Version : htmleditor changing hyperlink target

7 Apr 2014, 3:54 AM
Hi All,
I have a string that I push into htmleditor via setValue().
What is the best way to change all targets of <a> to _blank ?
I would like all links to open in a new window.

Gary Schlosberg
8 Apr 2014, 4:38 PM
I believe you would have to process the string before you set it to the value of the htmleditor, using a global replace or similar.