delete params

This commit is contained in:
DiamondThree authored and DarkSky committed 2022-08-08 21:06:35 +08:00
1 parent c5d2525086
commit b56199c69d
1 file changed
+1 -1
@@ -126,7 +126,7 @@ export const TextManage = forwardRef<ExtendedTextUtils, CreateTextView>(
// block = await editor.commands.blockCommands.createNextBlock(block.id,) // block = await editor.commands.blockCommands.createNextBlock(block.id,)
const on_text_view_active = useCallback( const on_text_view_active = useCallback(
(point: CursorTypes, rang_form?: 'up' | 'down') => { (point: CursorTypes) => {
// TODO code to be optimized // TODO code to be optimized
if (textRef.current) { if (textRef.current) {
const end_selection = textRef.current.getEndSelection(); const end_selection = textRef.current.getEndSelection();