diff --git a/src/views/ObjectFieldComponent.vue b/src/views/ObjectFieldComponent.vue index 26bc29dd..15847c5c 100644 --- a/src/views/ObjectFieldComponent.vue +++ b/src/views/ObjectFieldComponent.vue @@ -56,7 +56,7 @@ - {{ value }} + {{ addNewLine(value) }} @@ -121,6 +121,9 @@ export default { formatTokens(value) { return tokenFormatter(value) }, + addNewLine(value) { + return value.replaceAll('\\n', '\n') + }, }, }