Pink trailing whites

git-svn-id: https://develop.svn.wordpress.org/trunk@16926 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2010-12-14 19:37:04 +00:00
parent 8b6cf91dc9
commit 4d85c3a424
1 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@
*/
init : function(ed, url) {
var disabled = true;
// Register the command so that it can be invoked by using tinyMCE.activeEditor.execCommand('mceExample');
ed.addCommand('WP_Link', function() {
if ( disabled )
@ -33,7 +33,7 @@
});
ed.addShortcut('alt+shift+a', ed.getLang('advanced.link_desc'), 'WP_Link');
ed.onNodeChange.add(function(ed, cm, n, co) {
disabled = co && n.nodeName != 'A';
});