-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Description
Bug Report
For some reason, the rich text editor seems to get rid of characters that contain the a "tilde" when typing in Spanish but only in Firefox. For example, if I want to type "Filosofía" (philosophy in spanish) I need to type the letter i with a tilde "í", but when I type it, it replaces it with the next key I type, so in this example it would've typed "Filosofa".
I don't know if it's an issue with SlateJS, PayloadCMS, Firefox or even my computer since I have no idea on how to debug that. But it only happens on the PayloadCMS rich text editor in Firefox, because I also tried the official SlateJS examples using the same browser and It worked fine and if I use Chrome or Safari, it also works fine.
Here's a quick video of my screen showing the issue: (Ignore my frustrated typing force)
payload-rich-text-tilde-issue.mp4
Steps to Reproduce
In a simple Payload project, create a Global with at least one rich text field. In my case, I configured it as such:
{
name: 'info',
type: 'richText',
label: 'Información',
admin: { elements: ['h2'], leaves: [] },
}
Then, run the project in dev mode and open the admin panel in Firefox. Try to type the word Filosofía inside the rich text field letter by letter, because if you just paste it in the issue doesn't happen.
Other Details
- Payload version: 1.5.9
- Firefox version: 108.0.2
- OS: MacOS Ventura 13.1