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