Skip to content

Commit d57c4d8

Browse files
halo-dev-botLIlGG
andauthored
fix: code block focus positioning error when switching languages (#7919)
Co-authored-by: LIlGG <[email protected]>
1 parent 366bfe4 commit d57c4d8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

ui/packages/editor/src/extensions/code-block/CodeBlockViewRenderer.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ const handleCopyCode = () => {
121121
class="w-48"
122122
:container="editor.options.element"
123123
:options="languageOptions"
124-
@select="editor.commands.focus()"
125124
>
126125
</CodeBlockSelect>
127126
<CodeBlockSelect

0 commit comments

Comments
 (0)