Code field

CodeFieldDefinition renders a rich code editor.

This code field definition is part of the Magnolia 6 UI framework. The fully qualified class name is info.magnolia.ui.field.CodeFieldDefinition.

If you work with the Magnolia 5 UI framework, see Code field for Magnolia 5 UI instead.

Example definition

code:
  $type: codeField
  label: Code editor
  height: 100
  language: freemarker





Field properties

Field-specific properties

Feedback

DX Core

×

Location

This widget lets you know where you are on the docs site.

You are currently perusing through the Visual previews of fields in the documentation docs.

Main doc sections

DX Core Headless PaaS Legacy Cloud Incubator modules