mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 23:00:21 +00:00
TinyMCE help modal:
- Don't load the old tiny_mce_popup.js. - Add the shortcut for <code> and the second shortcut for link to the shortcuts listing. - Update some of the text. See #27100 git-svn-id: https://develop.svn.wordpress.org/trunk@28027 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -181,6 +181,7 @@ tinymce.PluginManager.add( 'wordpress', function( editor ) {
|
||||
editor.addCommand( 'WP_Help', function() {
|
||||
editor.windowManager.open({
|
||||
url: tinymce.baseURL + '/wp-mce-help.php',
|
||||
title: 'Editor Help',
|
||||
width: 450,
|
||||
height: 420,
|
||||
inline: 1,
|
||||
@@ -210,7 +211,7 @@ tinymce.PluginManager.add( 'wordpress', function( editor ) {
|
||||
});
|
||||
|
||||
editor.addButton( 'wp_help', {
|
||||
tooltip: 'Help',
|
||||
tooltip: 'Editor Help',
|
||||
cmd: 'WP_Help'
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user