WordPress.org

Make WordPress Core

Changeset 2476


Ignore:
Timestamp:
03/24/2005 01:26:22 AM (17 years ago)
Author:
matt
Message:

Quicktag enhancements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/quicktags.js

    r1657 r2476  
    3737edButtons[edButtons.length] =
    3838new edButton('ed_strong'
    39 ,'str'
     39,'b'
    4040,'<strong>'
    4141,'</strong>'
     
    4545edButtons[edButtons.length] =
    4646new edButton('ed_em'
    47 ,'em'
     47,'i'
    4848,'<em>'
    4949,'</em>'
     
    6262new edButton('ed_block'
    6363,'b-quote'
    64 ,'<blockquote>'
    65 ,'</blockquote>'
     64,'\n\n<blockquote>'
     65,'</blockquote>\n\n'
    6666,'q'
    6767);
     
    133133,-1
    134134);
    135 
     135/*
    136136edButtons[edButtons.length] =
    137137new edButton('ed_next'
     
    142142,-1
    143143);
    144 
     144*/
    145145function edLink() {
    146146    this.display = '';
     
    253253    }
    254254    if (word != '') {
    255         window.open('http://dictionary.reference.com/search?q=' + escape(word));
     255        window.open('http://www.answers.com/' + escape(word));
    256256    }
    257257}
     
    262262        edShowButton(edButtons[i], i);
    263263    }
    264     document.write('<input type="button" id="ed_spell" class="ed_button" onclick="edSpell(edCanvas);" title="Dictionary lookup" value="Dict." />');
     264    document.write('<input type="button" id="ed_spell" class="ed_button" onclick="edSpell(edCanvas);" title="Dictionary lookup" value="lookup" />');
    265265    document.write('<input type="button" id="ed_close" class="ed_button" onclick="edCloseAllTags();" title="Close all open tags" value="Close Tags" />');
    266266//  edShowLinks(); // disabled by default
Note: See TracChangeset for help on using the changeset viewer.