With WP 3.2 has WordPress maybe a new function for add Link-Quicktags to the editor. But i found an function to set defaults for the link-button: wplink.js (Line 278 http://wpseek.com/source/wp/latest/nav.html?wp-includes/js/tinymce/plugins/wplink/js/wplink.dev.js.source.html)
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 it is possible to set the values for a custom values? Is this possible and can you help me? Thanks for an answer from javascript-experts.