mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
DFW: add Blockquote button, enable After the Deadline button if plugin is installed, set button state, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17852 602fd350-edb4-49c9-b593-d223f7449a82
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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user