Hi Nathan,
We want to let you know that, unfortunately, it is not possible to directly disable the emoji panel from appearing in the Rich Text Editor when using the Win+period shortcut. This panel is a system-level feature accessible across different applications and cannot be disabled at that level.
However, here is the following guide to prevent it on your machine.
https://answers.microsoft.com/en-us/windows/forum/all/is-there-a-way-to-disable-emoji/142786de-4ce2-4ae1-a8c1-2c3ec71a9c93
You can prevent emojis from being inserted into the Rich Text Editor by referring to the following code. This code allows us to remove emojis added in the Rich Text Editor using the change event. However, please note that using this method will also remove the Emoji feature entirely. For your reference, please take a look at the attached sample.
<ejs-richtexteditor id="defaultRTE" created="created" change="change" saveInterval="10"> </ejs-richtexteditor> <script> var rteObj; function created() { rteObj = this; } function change() { const emojiRegex = /[\uD800-\uDFFF].|[\u200D\uFE0F\u20E3\u00a9\u00ae\u3030\u303D\u2000-\u2BFF\u3200-\u33FF\uF900-\uFD3F\uFE00-\uFE6F\uFEFF]/g; rteObj.value = rteObj.value.replace(emojiRegex, ''); } </script> |
Regards,
Vinothkumar
Attachment:
WebApplication1_303b63de_391092fe.zip