Hello,
I wanted to remove the Target tab from the link dialog so I've done that with
CKEDITOR.config.linkShowTargetTab = false;
However, since the user cannot specify how the target is opened I'd like to default it to open in a new window. Might anyone know how to do this?
So, my links need to be
<a href="http://google.com" target="_blank">http://google.com</a>
rather than how they currently are
<a href="http://google.com">http://google.com</a>
Thanks,
Bran
Try modifying the link plugin
Try modifying the link plugin itself. Open the plugins/link/dialogs folder and edit the links.js file. Find the default setting of 'Target' fields that are 'notset' and change them to '_blank'.
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
Indeed, this is what I found
Indeed, this is what I found in the end and also a handy way of removing options you don't want,
Thanks