mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-14 11:31:48 +01:00
QuickPress: add some JS to set wpActiveEditor when the title or content is focused, fixes #22021
git-svn-id: http://core.svn.wordpress.org/trunk@22517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ef1889a89b
commit
b404fbdb85
@ -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