mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-06 21:35:52 +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) {
|
if (properties.style) {
|
||||||
shikiTheme.style.cssText += `${properties.style}`
|
shikiTheme.style.cssText += `${properties.style}`
|
||||||
}
|
}
|
||||||
shikiTheme.tabIndex = properties.tabindex
|
// FIXME: 临时解决 SelectionToolbar 无法弹出,走剪贴板回退的问题
|
||||||
|
// shikiTheme.tabIndex = properties.tabindex
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
return () => {
|
return () => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user