Search code examples
gatsbynetlifynetlify-cms

Netlify saving images as>- https://raw.githubusercontent.com


My netlify admin started saving images like this to the markdown files

image: >-
  https://raw.githubusercontent.com/<user>/<repo>/master/static/img/myimage.png

How do I change it to save like this? Otherwise, I need to manually change after each save in the admin.

image: /img/myimage.png

Solution

  • This is a known issue created in release (2.5.x)

    Make sure to upgrade to the fixed version of netlify-cms ^2.6.0