Hello. I would like to give my CMS custom keyboard shortcuts. I assume this would be in a plugin.
I was wondering where, in the documentation, I could learn about running typescript on page init (such as a "listener" that waits for specific keyboard input).
Thank you!
Keyboard Event Listener (on Collection page init)
I found out that this is in the UI Field Custom Components:
https://payloadcms.com/docs/admin/components#field-componenthey @jacobeeney did you find any examples of how to do this? I'm looking into adding keyboard shortcuts in the rich text editor, but from the documentation it seems I would have to reimplement the field to be able to extend it? 🤔
Star
Discord
online
Get help straight from the Payload team with an Enterprise License.