CodeMirror editor with optional language extension and tag insertion.
languagebasicSetup// CodeMirror options.taggablecontained
'template' => [
'label' => $this->trans('Template'),
'type' => 'code',
'taggable' => true,
]'script' => [
'label' => $this->trans('Transform script'),
'type' => 'code',
'language' => 'javascript',
'basicSetup' => ['lineNumbers' => true],
]'payload' => [
'type' => 'code',
'contained' => true,
'taggable' => true,
]