Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Yuan Zhixiang
c-render-vue
Commits
4f36af68
Commit
4f36af68
authored
Apr 18, 2024
by
Yuan Zhixiang
Browse files
代码框添加提示信息
parent
3287e452
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/components/CodeEditor.vue
View file @
4f36af68
...
...
@@ -22,7 +22,7 @@ let custom_theme = EditorView.theme({
</
script
>
<
template
>
<Codemirror
v-model=
"code_input"
style=
"height: 100%;"
:extensions=
"[cpp(), custom_theme]"
/>
<Codemirror
v-model=
"code_input"
placeholder=
"在此处输入你的代码"
style=
"height: 100%;"
:extensions=
"[cpp(), custom_theme]"
/>
</
template
>
<
style
scoped
></
style
>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment