This UI extension for contentful allows the use of the excellent 'Monaco' editor (From VSCode) in their content types.
- Clone / Fork this repo
- If forked, under GitHub, go to Repo Settings -> "GitHub Pages"
- Set to "Source" as "Master Branch Folder"
- In contentful, go to "Space Settings" -> "Extensions"
- Click "Add Extension" (Top right), then "Add a new extension"
- Enter the following:
- Name: Choose whatever you want (We went with VS Code Monaco)
- Field Types: Text
- Self Hosted URL:
https://{name}.github.io/{repo-name}/
- Go to "Content Model", choose a content model
- Click "Settings" under the field, then go to the "Appearance" tab
- Select the "VS Code Monaco" (or the name you set in step 2 above)
- Enjoy!
- Go to repo - then run
python -m SimpleHTTPServer 8000
to start a simple http server