decap-cms
                                
                                
                                
                                    decap-cms copied to clipboard
                            
                            
                            
                        🐛 Rich text editor adding '\' to Markdown
Describe the bug Sometimes when using the rich text editor where image are present, back slashes are added to the markdown
To Reproduce
Expected behavior Slashes should not be added to Markdown
Screenshots

Applicable Versions:
- Netlify CMS version: 2.15.27
 - Git provider: GitHub
 - OS: MacOS 11.5.1
 - Browser version Safari 14.1.2
 
Issue occurs on all browsers.
CMS configuration https://github.com/SSWConsulting/SSW.Rules/blob/main/src/cms/config.js
@bradystroud I'm interested in working out the issue. Can you provide the md/rtf where this issue occured?
So annoying. I think it is on files that have ::: We use those 3 colons for templates. grrrrrr -a www.adamcogan.com
To attack this problem, I was planning disable the rich text editor until it was fixed. This would force users to use the Markdown editor. The problem with this is the Markdown editor offers no way to upload images 😕
- [ ] Investigate the difficulty of allowing image uploads in the markdown editor It might be possible to add a image widget outside of the editor, and reference these images from the markdown editor
 
This issue might be fixed by #5795
The rich text editor can be easily disabled using the modes config on the Markdown widget https://www.netlifycms.org/docs/widgets/#markdown
Currently there is no clear way to upload an image in this mode without adding an image field to the frontmatter. I have created a discussion to confirm this #6497
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.
Hey Team, this is still an issue.
Possibly related: #512