DFW: add Blockquote button, enable After the Deadline button if plugin is installed, set button state, see #17136

git-svn-id: http://svn.automattic.com/wordpress/trunk@17852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz
2011-05-10 23:21:34 +00:00
parent 33a0cf3286
commit 55fcecdba8
10 changed files with 78 additions and 29 deletions

View File

@@ -419,6 +419,21 @@ PubSub.prototype.publish = function( topic, args ) {
tinyMCE.execCommand('unlink');
}
api.atd = function() {
if ( s.has_tinymce && 'tinymce' === s.mode )
tinyMCE.execCommand('mceWritingImprovementTool');
}
api.help = function() {
if ( s.has_tinymce && 'tinymce' === s.mode )
tinyMCE.execCommand('WP_Help');
}
api.blockquote = function() {
if ( s.has_tinymce && 'tinymce' === s.mode )
tinyMCE.execCommand('mceBlockQuote');
}
api.refresh_buttons = function( fade ) {
fade = fade || false;

File diff suppressed because one or more lines are too long