How set defaults on wpLink()
With WP 3.2, WordPress maybe has a new function to add Link-Quicktags to the editor. But I found an function to set defaults for the link-button:
Take a look at wplink.js Line 278.
setDefaultValues : function() {
// Set URL and description to defaults.
// Leave the new tab setting as-is.
inputs.url.val( 'http://' );
inputs.title.val( '' );
// Update save prompt.
inputs.submit.val( wpLinkL10n.save );
},
How is it possible to set the values for a custom value?
Is this possible and can you help me?
Thanks for an answer from an JavaScript Expert.