decaporg / decap-cms

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

Jumping input cursor to end of text in markdown widget #6580

Closed NedelevPhilip closed 10 months ago

NedelevPhilip commented 1 year ago

When I try to add some text in the middle of the text, enter one symbol, and after that input cursor jumps to the end of the text image

CMS configuration

matthewjumpsoffbuildings commented 1 year ago

I am also seeing this issue, very irritating

svvimming commented 1 year ago

Same here

izzudd commented 1 year ago

I also experiencing this weird behavior. Found the workaround in #5092.

Simply just add this style to the head of index.html

<style>
    [data-slate-editor] { 
        -webkit-user-modify: read-write !important; 
    }
</style>

Can confirm it works, at least for me.

matthewjumpsoffbuildings commented 1 year ago

that does indeed fix it for me too, though this hardly should be necessary right???

NedelevPhilip commented 1 year ago

I also experiencing this weird behavior. Found the workaround in #5092.

Simply just add this style to the head of index.html

<style>
    [data-slate-editor] { 
        -webkit-user-modify: read-write !important; 
    }
</style>

Can confirm it works, at least for me.

here is solution how add styles with Gatsby + Netlify CMS

matthewjumpsoffbuildings commented 1 year ago

@NedelevPhilip why close this though? It's still a bug and needs to be fixed on netlify's end, instead of this workaround

jaapaurelio commented 1 year ago

I also have this behaviour in my Netlify CMS. I found this issue in other websites as well, as Reddit for example. Looks like some new weird browser behaviour.

sonnakim commented 1 year ago

I'm having this issue as well in Netlify CMS (and not anywhere else). My colleagues are also having the same issue. It's extremely frustrating.

benseven commented 1 year ago

Client facing this issue on current site build too. netlify-cms-app 2.15.72 netlify-cms-core 2.55.2 netlify-cms 2.10.192

https://share.cleanshot.com/KLYz5zc0

Happens in Chrome, does not happen in Firefox.

domino14 commented 1 year ago

this is still a bug as of right now. Please re-open?

benseven commented 1 year ago

this is still a bug as of right now. Please re-open?

It is open?

kaicianflone commented 1 year ago

I was able to fix this in netlify-cms & gatsby by following the instructions in @NedelevPhilips post above

casimiroarruda commented 1 year ago

When I apply this fix, I get some buggy behavior when adding accented characters (such as á) accents on mac (not tested yet on windows)

martinjagodic commented 10 months ago

Fixed in Decap 3