You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@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
* fix(markdown): copying html into markdown //issues/7233
* refactor: sync markdown html parsing script with original
* fix: lint
---------
Co-authored-by: Anze Demsar <anze.demsar@p-m.si>
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:
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 :)
The text was updated successfully, but these errors were encountered: