Refactor Quicktags, props garyc40, see #16695

git-svn-id: https://develop.svn.wordpress.org/trunk@18497 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2011-08-03 10:11:12 +00:00
parent 27e866dfd1
commit d5a6cf3dfd
5 changed files with 456 additions and 546 deletions

View File

@@ -548,8 +548,12 @@ $(document).ready(function(){
commentReply.init();
$(document).delegate('span.delete a.delete', 'click', function(){return false;});
if ( typeof QTags != 'undefined' )
ed_reply = new QTags('ed_reply', 'replycontent', 'replycontainer', 'more,fullscreen');
if ( typeof QTags != 'undefined' ) {
quicktags({quicktags_id: 'replycontent', quicktags_buttons: 'strong,em,link,block,del,ins,img,ul,ol,li,code,spell,close'});
console.debug('typeof QTags')
}
if ( typeof $.table_hotkeys != 'undefined' ) {
make_hotkeys_redirect = function(which) {

File diff suppressed because one or more lines are too long