Main navigation
Product navigation
Main content
CKEditor 4
Overview
Demo
Accessibility Checker
Add-ons
Documentation
Download
Pricing
More
Home
WYSIWYG Editors
CKEditor 4
CKEditor 5
Image upload
CKFinder
Easy Image
Collaboration
Comments
New
Track changes
New
Collaborative editing
Pricing
Case studies
New
Documentation
Help center
Blog
Contact us
The forum operates in
read-only
mode. Please head to
StackOverflow
for support.
Forums
CKEditor
Support
Last post
Wed, 11/22/2006 - 12:41
#1
markmacd
Joined:
24/01/2007
Posts:
26
Another Link Question: Open _blank
Is there a way to change the default link so it will open in a new broswer all the time?
Thanks,
Mark
Mon, 01/29/2007 - 23:38
#2
inferno_za
Joined:
14/07/2006
Posts:
4
RE: Another Link Question: Open _blank
in the fckeditor/editor/dialog/fck_link/fck_link.js file
change the line in the function SetTarget( targetType )
case "" :
GetE('txtTargetFrame').value = '' ;
break ;
to
case "" :
GetE('txtTargetFrame').value = '_blank' ;
break ;
That should make the link open in a new window by default
Twitter
Facebook
Facebook
Instagram
Medium
Linkedin
GitHub
Arrow down
Phone
Menu
Close icon
Check
RE: Another Link Question: Open _blank
change the line in the function SetTarget( targetType )
case "" :
GetE('txtTargetFrame').value = '' ;
break ;
to
case "" :
GetE('txtTargetFrame').value = '_blank' ;
break ;
That should make the link open in a new window by default