How to make "Open link in new window" be ON by default in editing format button?
-
Above the “text area” editing box of any “Add New Post” page, if one clicks on the “link” formatting button, a small pop-up window appears into which one can paste the URL and link-text to create a link in one’s post.
In this pop-up window, there is an option check-box that says
“Open link in new window/tab”
which you can click if you want ‘ target=”_blank” ‘ to be added to the href code.
Currently, no matter which theme I choose, that check-box option is by default always turned OFF (i.e. is unchecked), such that if I want to have the link I’m creating open in a new window, I have to click the box. If I forget or neglect to do it, then ‘ target=”_blank” ‘ is not inserted, and the link does not open in a new window.
The thing is, I ALWAYS want EVERY link in all my posts to open in a new window. So I have to click that option box every single time.
I’d much rather save myself a bunch of constant effort (and save myself the trouble of always remembering) by having that option box be checked ON by default, rather than be OFF by default.
Is there any way to change the default state of this option?
I’m not afraid to manually edit a php or css file, if that’s what it takes. I just don’t know which one to edit!
Alternately, if there is some easy “setting” that can be changed within the Dashboard itself, obviously I’d do it that way — except I can’t find any such setting.
So my question is:
Is there any built-in easy way to make links “open in a new window” by default when using the edit box’s style/formatting buttons? And if not, is there a “hard way” to change the default status, by editing some php or css or tinymce or whatever file? If so: Which file?
- The topic ‘How to make "Open link in new window" be ON by default in editing format button?’ is closed to new replies.