mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-03 08:40:10 +00:00
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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user