mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-03 19:30:04 +08:00
fix: selection toolbar in CodeViewer (#9103)
This commit is contained in:
parent
2dd2bee940
commit
ea8b7f317d
@ -54,7 +54,8 @@ const CodeViewer = ({ children, language, expanded, unwrapped, onHeightChange, c
|
||||
if (properties.style) {
|
||||
shikiTheme.style.cssText += `${properties.style}`
|
||||
}
|
||||
shikiTheme.tabIndex = properties.tabindex
|
||||
// FIXME: 临时解决 SelectionToolbar 无法弹出,走剪贴板回退的问题
|
||||
// shikiTheme.tabIndex = properties.tabindex
|
||||
}
|
||||
})
|
||||
return () => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user