mirror of
https://github.com/docmost/docmost.git
synced 2026-07-07 03:04:34 +10:00
update offerings
This commit is contained in:
@@ -6,7 +6,7 @@ import {
|
||||
useVirtualizer,
|
||||
windowScroll,
|
||||
} from "@tanstack/react-virtual";
|
||||
import { useAtom } from "jotai";
|
||||
import { useAtom, useSetAtom, type PrimitiveAtom } from "jotai";
|
||||
import {
|
||||
IBaseRow,
|
||||
IBaseProperty,
|
||||
@@ -134,7 +134,7 @@ export function GridContainer({
|
||||
const focusedCellRef = useRef(focusedCell);
|
||||
focusedCellRef.current = focusedCell;
|
||||
const [, setActiveFormulaEditor] = useAtom(activeFormulaEditorAtomFamily(pageId)) as unknown as [FormulaEditorTarget, (val: FormulaEditorTarget) => void];
|
||||
const [, setPendingTypeInsert] = useAtom(pendingTypeInsertAtom) as unknown as [PendingTypeInsert, (val: PendingTypeInsert) => void];
|
||||
const setPendingTypeInsert = useSetAtom(pendingTypeInsertAtom as PrimitiveAtom<PendingTypeInsert>);
|
||||
|
||||
useEffect(() => {
|
||||
const handleMouseDown = (e: MouseEvent) => {
|
||||
|
||||
@@ -149,7 +149,6 @@ export function useGridKeyboardNav({
|
||||
}
|
||||
case "Escape": {
|
||||
e.preventDefault();
|
||||
(document.activeElement as HTMLElement | null)?.blur();
|
||||
setEditingCell(null);
|
||||
setFocusedCell(editingCell);
|
||||
break;
|
||||
|
||||
@@ -17,6 +17,8 @@ const enterpriseFeatures = [
|
||||
"Resolve Comments",
|
||||
"Confluence Import",
|
||||
"PDF & DOCX Import",
|
||||
"Bases",
|
||||
"Kanban",
|
||||
"Templates",
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user