Pink trailing whites

git-svn-id: http://svn.automattic.com/wordpress/trunk@16926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2010-12-14 19:37:04 +00:00
parent e4698ba1be
commit 0e072f2dd7
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';
});