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:
Sanchit Agarwal 2024-09-17 23:01:28 +05:30 committed by GitHub
commit 0e4d0ba6bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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(