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
Describe the bug
Adding a <div id="nc-root"></div> to the page I want to load Decap causes an error
I am using SveltKit, and in routes/admin/+page.svelte I have the following code:
It seems Decap CMS doesn't load well with snipcart. It seems to refresh or something constantly and causes my browser to crash. Maybe I'm not doing something correctly, but figured I'd add it here as well.
Thanks
The text was updated successfully, but these errors were encountered:
Describe the bug
Adding a
<div id="nc-root"></div>
to the page I want to load Decap causes an errorI am using SveltKit, and in routes/admin/+page.svelte I have the following code:
Loads fine without the div with nc-root id, but when I add the id, it give the below error (the error is in the placement of the div)
To Reproduce
add
<div id="nc-root"></div>
to svelte page where you want to load decapExpected behavior
decap loads in the div as it normally would, but respects the layout set for the page.
Screenshots
with div:
without div:
Applicable Versions:
decap-cms@3.1.10
github
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Safari/605.1.15
CMS configuration
Additional context
Side Note:
It seems Decap CMS doesn't load well with snipcart. It seems to refresh or something constantly and causes my browser to crash. Maybe I'm not doing something correctly, but figured I'd add it here as well.
Thanks
The text was updated successfully, but these errors were encountered: