chore: replace all cn comments of fe to en version by volc api (#320)
This commit is contained in:
@@ -26,7 +26,7 @@ export const ActionBarContext = createContext<{
|
||||
controller: {
|
||||
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
||||
hideActionBar: () => {},
|
||||
// 重新定位
|
||||
// reposition
|
||||
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
||||
rePosition: () => {},
|
||||
},
|
||||
|
||||
@@ -135,7 +135,7 @@ export const ActionBar: React.FC<PropsWithChildren<ActionBarProps>> = props => {
|
||||
// }
|
||||
|
||||
editor.$on('mousedown', handleMousedown);
|
||||
// 不使用 editor.$on 监听 mouseup 事件,因为鼠标可能不在编辑器内
|
||||
// Do not use editor. $on to listen for mouseup events because the mouse may not be in the editor
|
||||
document.addEventListener('mouseup', handleMouseup);
|
||||
editor.$on('selectionChange', handleSelectionChange);
|
||||
// editor.$on('blur', handleBlur);
|
||||
|
||||
Reference in New Issue
Block a user