···3030import { CodeBlock } from "./CodeBlock";
3131import { HorizontalRule } from "./HorizontalRule";
3232import { deepEquals } from "src/utils/deepEquals";
3333+import { isTextBlock } from "src/utils/isTextBlock";
33343435export type Block = {
3536 factID: string;
···63646465 let mouseHandlers = useBlockMouseHandlers(props);
65666666- // focus block on longpress, shouldnt the type be based on the block type (?)
6767 let { isLongPress, handlers } = useLongPress(() => {
6868+ if (isTextBlock[props.type]) return;
6869 if (isLongPress.current) {
6970 focusBlock(
7071 { type: props.type, value: props.entityID, parent: props.parent },