Netlify-cms: Markdown body widget has inconsistent copy/paste behavior

Created on 15 Jan 2020  路  4Comments  路  Source: netlify/netlify-cms

Describe the bug
The Netlify CMS appears to intercept keyboard commands. When trying to copy/paste content inside a markdown widget, Netlify sometimes encounters an error and pastes the wrong content instead of what is stored in the clipboard.

To Reproduce

  1. I have only reproduced this on locally hosted production builds.
  2. Go to add content to a folder collection with a markdown body widget
  3. Netlify offers to restore previously unpublished content
  4. Click cancel
  5. Content appears in the markdown body anyways
  6. Cut text from the body
  7. Copy different text from the body
  8. Attempt to paste clipboard from step 7 into body, instead the text that was cut in step 6 is pasted

Expected behavior
The user should never know that Netlify is intercepting keyboard commands. These features pose an accessibility risk.

Screenshots
cms_ui_bug.mov.zip

Applicable Versions:

  • netlify-cms-app 2.10.1
  • netlify-cms-core 2.13.1
  • Backend: Gitlab
  • OS: Catalina
  • Firefox 72.0.1 (64-bit)
  • Node.JS version: ^8.12.0 LTS

All 4 comments

Hi @bever1337, do you mind trying with latest versions? There have been some related fixes https://github.com/netlify/netlify-cms/issues/3081

@erezrokah Thanks for the heads up. Any specific version I should test against? I first experienced this about a week ago and was too busy to write a ticket, but that's awesome someone else reproduced and fixed this so quickly.

[email protected] or [email protected] (latest).
Bonus: you get editorial workflow for GitLab

I'm no longer able to reproduce any of the above behavior, but I'll let y'all know if I do find another way to reproduce. Thanks for the support!

Was this page helpful?
0 / 5 - 0 ratings