Browse Source

[SCEditor] Default link from button is target=_blank

Signed-off-by: emanuele <[email protected]>
emanuele 12 years ago
parent
commit
5a0ccb5b9a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Themes/default/scripts/jquery.sceditor.js

+ 1 - 1
Themes/default/scripts/jquery.sceditor.js

@@ -2098,7 +2098,7 @@
 							if(!description)
 								description = val;
 
-							editor.wysiwygEditorInsertHtml('<a href="' + val + '">' + description + '</a>');
+							editor.wysiwygEditorInsertHtml('<a target="_blank" href="' + val + '">' + description + '</a>');
 						}
 						else
 							editor.execCommand("createlink", val);