Skip to main content

Set up Decap CMS

Decap CMS is the official successor to Netlify CMS and works well with the old tooling. Here are the steps to get up and running with Decap.


  1. Add a new page route for /admin
    • For me, this was src/pages/admin.astro
  2. Copy and paste the markup from the documentation
  3. Add a config.yml file to your public directory
  4. Run netlify-cms-proxy-server alongside your dev server:
    npx netlify-cms-proxy-server
  5. Access the content manager at localhost:XXXX/admin/

Issues: Decap CMS still hasn’t fixed the jumping cursor issue when inserting within a textarea. It makes writing content incredibly frustrating. Thankfully, there is a fix that requires some additional CSS (of all things):

<!-- admin.html -->
  [data-slate-editor] {
    /* See */
    -webkit-user-modify: read-write !important;

With those style loaded, the issue is resolved.

Takeaways: Decap CMS is easy to set up and works well with all of Netlify CMS’ old tooling. It’s nice to hear that the project will live on with new maintainers, but it remains to be seen how invested they will be in development like fixing old bugs.