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:
@@ -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
Reference in New Issue
Block a user