decaporg / decap-cms

A Git-based CMS for Static Site Generators
https://decapcms.org
MIT License
17.7k stars 3.03k forks source link

Cannot write accents with dead keys - markdown editor #5306

Closed yajo closed 11 months ago

yajo commented 3 years ago

Describe the bug

While writing non-English content with accents, my keyboard requires combining 2 keystrokes (accent - then letter. Spanish has áéíóúü). The accented letter is erased in the markdown editor.

To Reproduce

Just write with dead keys accents in markdown editor.

Expected behavior

Normal writing.

Screenshots

https://user-images.githubusercontent.com/973709/116125493-75c7f300-a6bd-11eb-8a7a-45e580d25653.mp4

Applicable Versions:

CMS configuration

https://www.recallstack.icu/admin/config.yml

Additional context

It seems to work fine on Chromium.

ampa-marques-user commented 2 years ago

This happens to me too. I can´t delegate the content creation because of this (a developer is needed to create the content without the cms now).

Also this bug makes netlify-cms look english-centric because it makes it not possible to use netlify-cms to write content in most languages.

pmarcus93 commented 2 years ago

This is happening to me as well. I write in Brazilian Portuguese and I'm having the same issues with characters such as ç, ã, á, é and so on.

OS: Pop_OS! 21.10. Browser: Firefox 95.0.1 (64-bits).

yajo commented 2 years ago

Interestingly, today I tested on Firefox on Windows and it works. So, it seems the buggy combination is Firefox + Linux.

miltonbolonha commented 2 years ago

Tag list-widget cannot have these Brazilians characters :( I need those.

bitobeats commented 1 year ago

I'm also having this problem in macOS Safari (tested in v16 and v16.1, macOS Monterey and macOS Ventura).

freesteph commented 1 year ago

NetlifyCMS uses Slate under the hood, which seems to have fixed the problem now. Typing accents on:

https://www.slatejs.org/examples/richtext

works fine.

Slate's current release is 0.87.0 Netlify uses 0.47.

Maybe a simple upgrade would do the trick?

EDIT: it doesn't seem that easy

mitchbox commented 1 year ago

When will the team upgrade the Slate?

bitobeats commented 1 year ago

When will the team upgrade the Slate?

I was looking at their support forum and apparently this is not maintained anymore. I found that there's a fork of it. I haven't tried it yet but looks interesting: Static CMS

mitchbox commented 1 year ago

Too bad... Thank you for sharing the information.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

martinjagodic commented 11 months ago

Fixed in Decap 3