diff --git a/src/components/CodeEditor/src/CodeEditor.vue b/src/components/CodeEditor/src/CodeEditor.vue
index db9042b50..37ab7db26 100644
--- a/src/components/CodeEditor/src/CodeEditor.vue
+++ b/src/components/CodeEditor/src/CodeEditor.vue
@@ -5,6 +5,7 @@
@change="handleValueChange"
:mode="mode"
:readonly="readonly"
+ :bordered="bordered"
/>
@@ -26,6 +27,7 @@
},
readonly: { type: Boolean },
autoFormat: { type: Boolean, default: true },
+ bordered: { type: Boolean, default: false },
});
const emit = defineEmits(['change', 'update:value', 'format-error']);
diff --git a/src/components/CodeEditor/src/codemirror/CodeMirror.vue b/src/components/CodeEditor/src/codemirror/CodeMirror.vue
index af3017f58..f7c575019 100644
--- a/src/components/CodeEditor/src/codemirror/CodeMirror.vue
+++ b/src/components/CodeEditor/src/codemirror/CodeMirror.vue
@@ -1,5 +1,9 @@
-
+