Make WordPress Core

Opened 5 years ago

Last modified 7 months ago

#15631 new enhancement

Custom fields auto-focus

Reported by: jane Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 3.1
Component: Editor Keywords: has-patch needs-refresh ux-feedback
Focuses: ui Cc:


When you are on the post editor (page editor, whatever), if you want to create a new custom field and click on Create New, it should auto-focus on the text input field that appears.

Attachments (1)

15631.diff (1.1 KB) - added by batmoo 5 years ago.

Download all attachments as: .zip

Change History (4)

5 years ago

#1 @batmoo
5 years ago

  • Cc batmoo@… added
  • Keywords has-patch added

Moved inline javascript to post.dev.js and set the field to auto-focus.

Should the input be reverted back to the select once a new custom field is added? It just seems weird (possibly confusing) because of the "cancel" link.

#2 @sabreuse
3 years ago

  • Component changed from UI to Editor
  • Keywords ui-focus added

#3 @chriscct7
7 months ago

  • Keywords needs-refresh ux-feedback added
Note: See TracTickets for help on using tickets.