Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion browser/js/simple-code-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ const CodeEditor = {
CopyCode: CopyCode,
Dropdown: Dropdown,
},
emits: ["update:modelValue", "lang", "content", "textarea"],
props: {
lineNums: {
type: Boolean,
Expand Down Expand Up @@ -365,7 +366,7 @@ const CodeEditor = {
minHeight: minHeight,
}"
>
<div class="hljs" :style="{ borderRadius: borderRadius }">
<div class="hljs" :style="{ borderRadius: borderRadius, overflowY: 'auto' }">
<div
class="header"
:class="{ border: showLineNums }"
Expand Down