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:
Andrew Ozz
2014-04-07 23:52:55 +00:00
parent c386c17457
commit 4360d117e2
3 changed files with 22 additions and 23 deletions
@@ -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'
});