[wp-hackers] small change to link editor in post editor

Rich Pedley elfin at elfden.co.uk
Wed Feb 2 17:14:53 UTC 2011


On 02/02/2011 16:44, Andrew Gray wrote:
> All,
>
> One of my clients is trying to change the default behavior of the
> editor.
>
> Here is their request "All I am wanting is to have you pre-set any
> hyperlinks to open in a new window. In other words, instead of
> having the default target set to "Not set" like it currently is,
> please have it default to "Open Link a New Window" so that we do
> not have to make that extra step every time we hyperlink text"
>
> Is this possible with a plugin or do I have to hack the core.
>

wouldn't this be better achieved by some jQuery to open all links 
within the content area in a new window?

then you don't have to worry about what they enter.

Though I assume you have already told them why it is a bad idea?

Rich


More information about the wp-hackers mailing list