Closed bmackinney closed 2 months ago
You should be able to do this, but make sure <div id="nc-root">
actually has a space to render the CMS (with position:absolute
, inside fiexbox, etc.) That said, I’m adding a calculated style to unstyled <div id="nc-root">
.
Also I’m fixing other issues:
<div id="nc-root">
is ignored if it appears after the CMS <script>
window.CMS.init()
(found in your project) initializes the CMS twice
https://decapcms.org/docs/custom-mounting/#gatsby-focus-wrapper indicates I can display a menu in the html above the CMS, but the CMS still covers the whole page. https://github.com/decaporg/decap-cms/issues/1740