diff --git a/website/content/docs/beta-features.md b/website/content/docs/beta-features.md index 3cd1d1f9..9e260d44 100644 --- a/website/content/docs/beta-features.md +++ b/website/content/docs/beta-features.md @@ -239,9 +239,7 @@ You can now provide your own element for Netlify CMS to mount in by setting the Netlify CMS can now be manually initialized, rather than automatically loading up the moment you import it. The whole point of this at the moment is to inject configuration into Netlify CMS before it loads, bypassing need for an actual Netlify CMS `config.yml`. This is important, for example, when creating tight integrations with static site generators. -Injecting config is technically already possible by setting `window.CMS_CONFIG` before importing/requiring/running Netlify CMS, but most projects are modular and don't want to use globals, plus `window.CMS_CONFIG` is an internal, not technically supported, and provides no validation. - -Assuming you have the netlify-cms package installed to your project, manual initialization works like this: +Assuming you have the netlify-cms package installed to your project, manual initialization works by setting `window.CMS_MANUAL_INIT = true` **before importing the CMS**: ```js // This global flag enables manual initialization.