docs: adds images to each field page (#3137)

This commit is contained in:
Jessica Chowdhury
2023-08-08 15:00:21 +01:00
committed by GitHub
parent 1039f39c09
commit 8ae98503f5
20 changed files with 141 additions and 9 deletions

View File

@@ -11,6 +11,13 @@ keywords: code, fields, config, configuration, documentation, Content Management
The Code field type saves a string in the database, but provides the Admin panel with a code editor styled interface.
</Banner>
<LightDarkImage
srcLight='https://payloadcms.com/images/docs/fields/code.png'
srcDark='https://payloadcms.com/images/docs/fields/code-dark.png'
alt='Shows a Code field in the Payload admin panel'
caption='Admin panel screenshot of a Code field'
/>
This field uses the `monaco-react` editor syntax highlighting.
### Config