I don't know javascript, and I'd like the link button in quicktags.js to include the attribute target="_top" (or maybe "_blank"; still haven't decided yet) to links in posts. How do I do that? Thanks!
I don't know javascript, and I'd like the link button in quicktags.js to include the attribute target="_top" (or maybe "_blank"; still haven't decided yet) to links in posts. How do I do that? Thanks!
Untried.
WP 1.5.2
Line 371 of quicktags.js:
edButtons[i].tagStart = '<a href="' + URL + '">';
Try making that line like this;
edButtons[i].tagStart = '<a href="' + URL + '" target="_blank">';
That worked! Thanks!
This topic has been closed to new replies.