QuickPress: add some JS to set wpActiveEditor when the title or content is focused, fixes #22021
git-svn-id: https://develop.svn.wordpress.org/trunk@22517 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f8002c7752
commit
8081489c94
@ -107,6 +107,8 @@ jQuery(document).ready( function($) {
|
||||
prompt.addClass('screen-reader-text');
|
||||
});
|
||||
});
|
||||
|
||||
$('#dashboard_quick_press #title, #dashboard_quick_press #content').focus(function(){ wpActiveEditor = 'content'; });
|
||||
};
|
||||
quickPressLoad();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user