Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formatting lost when copy-pasting from Google Docs to markdown widget #7233

Open
robbymilo opened this issue Jun 13, 2024 · 1 comment · May be fixed by #7290
Open

Formatting lost when copy-pasting from Google Docs to markdown widget #7233

robbymilo opened this issue Jun 13, 2024 · 1 comment · May be fixed by #7290
Labels
type: bug code to address defects in shipped code

Comments

@robbymilo
Copy link

Describe the bug

Formatting such as bold text, headings, links etc. are lost when copy pasting from a word processor such as Google Docs.

Here is the behavior from Netlify CMS 2.15.72:

netlify-cms-copy-paste.mp4

To Reproduce

Copy formatted text from a word processor and paste it into a markdown widget with "Rich text" selected:

decap-copy-paste.mp4

Expected behavior

The formatting remains and is converted to markdown.

Screenshots

See recordings above.

Applicable Versions:

  • Decap CMS version:
    • decap-cms-app 3.1.10
    • decap-cms-core 3.3.6
  • Git provider: GitHub
  • OS: Linux
  • Browser version Firefox 125.0b6
  • Node.JS version: n/a

CMS configuration

n/a

Additional context

Happy to make an attempt with a PR to fix this if you can point me to the code :)

@robbymilo robbymilo added the type: bug code to address defects in shipped code label Jun 13, 2024
@mirhamasala
Copy link

mirhamasala commented Sep 6, 2024

@martinjagodic Do you think this is something the team will be addressing, or is there a way we could assist with it (CC: @CharlyMartin @barbaraperic)? It was quite useful for content teams to be able to copy and paste rich text into the widget without losing markup (such as links). 🙏🏼

hip3r added a commit to poslovnimediji/decap-cms that referenced this issue Sep 24, 2024
@hip3r hip3r linked a pull request Sep 24, 2024 that will close this issue
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug code to address defects in shipped code
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants