WordPress.org

Ready to get started?Download WordPress

Forums

edit quicktags target="_blank" (4 posts)

  1. jdmcclain
    Member
    Posted 9 years ago #


  2. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Line 369 onwards;
    if (!edCheckOpenTags(i)) {
    var URL = prompt('Enter the URL' ,defaultValue);
    if (URL) {
    edButtons[i].tagStart = '<a href="' + URL + '" + target="'_blank'">';
    edInsertTag(myField, i);
    }

  3. Salvatore
    Member
    Posted 9 years ago #

    Thank you.

    It works great!

  4. astrange1
    Member
    Posted 8 years ago #

    One tip. Remove the single quotes from each side of _blank. This messed me up until I figured out it didn't have to be escaped out.

Topic Closed

This topic has been closed to new replies.

About this Topic