Skip to content

πŸ”₯ πŸ”₯ πŸ”₯ A Free & Self-hostable Airtable Alternative

fix(nc-gui): Soft wrap in JSON modal view nocodb/nocodb/issues/11984

Ramesh Mane7f4de9672df6
diff --git a/packages/nc-gui/components/cell/Json.vue b/packages/nc-gui/components/cell/Json.vue
index 784aaa4f13..e7d1b4ef21 100644
--- a/packages/nc-gui/components/cell/Json.vue
+++ b/packages/nc-gui/components/cell/Json.vue
@@ -295,6 +295,10 @@ onUnmounted(() => {
:disable-deep-compare="true"
:auto-focus="true"
:read-only="readOnly"
+ :monaco-config="{
+ wordWrap: 'on',
+ wrappingStrategy: 'advanced',
+ }"
@update:model-value="localValue = $event"
@keydown.enter.stop
@keydown.alt.stop