[w3c/editing] JS API to invoke native desktop emoji picker (#350)

On platforms with soft keyboards, I believe there is usually (always?) an emoji button that brings up native emoji input.

On desktop platforms, one needs to know the keyboard shortcut or menu item to invoke native emoji input - an author cannot create an emoji button in the browser that will bring up the native UI. So many sites create their own in-browser picker which is usually somewhat limited and adds a ton of code and string resources to the web page.

My team is currently working on a small commenting component where we have been asked to add a button for emoji input (the shortcuts are not 'discoverable' enough), so we are currently in the process of integrating a large library that re-implements what’s already available on the platform. I am embarrassed by this, and would like to be able to do better in a desktop browser.

I think all we would need is a small JS API that we could hook up to a browser button that would invoke the native UI in just the same way the keyboard shortcuts currently do.

This has been discussed over the years in WICG Discourse threads (so I’m not the only one who sees the need), but so far I have not seen any movement on addressing the problem:

https://discourse.wicg.io/t/invoke-emoji-input/1030/12


https://discourse.wicg.io/t/js-api-to-trigger-the-platform-native-emoji-picker/3353/2


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/editing/issues/350

Received on Wednesday, 6 October 2021 15:58:21 UTC