mirror of
https://github.com/ruilisi/fortune-sheet.git
synced 2025-01-07 03:16:50 +08:00
Merge pull request #600 from ruilisi/597-pasting-formula-into-sheet-doesnt-evaluate-it
Dont clear formula class on input
This commit is contained in:
commit
0e4d0ba6bf
@ -369,7 +369,7 @@ const InputBox: React.FC = () => {
|
||||
kcode,
|
||||
preText.current
|
||||
);
|
||||
clearSearchItemActiveClass();
|
||||
// clearSearchItemActiveClass();
|
||||
// formula.functionInputHanddler(
|
||||
// $("#luckysheet-functionbox-cell"),
|
||||
// $("#luckysheet-rich-text-editor"),
|
||||
@ -384,7 +384,7 @@ const InputBox: React.FC = () => {
|
||||
});
|
||||
}
|
||||
},
|
||||
[clearSearchItemActiveClass, refs.cellInput, refs.fxInput, setContext]
|
||||
[refs.cellInput, refs.fxInput, setContext]
|
||||
);
|
||||
|
||||
const onPaste = useCallback(
|
||||
|
Loading…
Reference in New Issue
Block a user