mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Set readonly value during initialisation of raw editor (#16163)
This commit is contained in:
@@ -62,6 +62,7 @@ onMounted(async () => {
|
||||
extraKeys: { Ctrl: 'autocomplete' },
|
||||
cursorBlinkRate: props.disabled ? -1 : 530,
|
||||
placeholder: props.placeholder !== undefined ? props.placeholder : t('raw_editor_placeholder'),
|
||||
readOnly: readOnly.value,
|
||||
});
|
||||
|
||||
// prevent new lines for single lines
|
||||
|
||||
Reference in New Issue
Block a user