mirror of
https://github.com/docmost/docmost.git
synced 2026-05-07 06:23:06 +08:00
15 lines
396 B
TypeScript
15 lines
396 B
TypeScript
import { atom } from "jotai";
|
|
import { Editor } from "@tiptap/core";
|
|
|
|
export const pageEditorAtom = atom<Editor | null>(null);
|
|
|
|
export const titleEditorAtom = atom<Editor | null>(null);
|
|
|
|
export const readOnlyEditorAtom = atom<Editor | null>(null);
|
|
|
|
export const yjsConnectionStatusAtom = atom<string>("");
|
|
|
|
export const showAiMenuAtom = atom(false);
|
|
|
|
export const showLinkMenuAtom = atom(false);
|