Disabling Autofocus on post.php edit screen
-
I’m attempting to autofocus on the tag adder, but there are times that it doesn’t focus on the tag field, it focuses on the editor. I’m struggling to figure out why sometimes it works the way I’m wanting and sometimes it doesn’t. I’ve tried in incognito, different browsers or even different users, but it’s still a roll of the dice to see which field the cursor is going to land on.
My goal is to have the cursor focus on the tag field, but I’m suspecting there’s something either in TinyMCE or WP itself has some form of autofocus that I’m not able to see using the inspector, and searching through either the loaded html or the source files themselves isn’t finding anything with .focus that looks like it’s doing what I’m suspecting.
Any ideas on how to disable the built in auto focus on post.php?
Please note I’m using the classic editor and not Gutenberg.
- The topic ‘Disabling Autofocus on post.php edit screen’ is closed to new replies.