feat: add editor

This commit is contained in:
2024-01-04 08:52:45 +07:00
parent ba13ac7535
commit f4cbcee8b4
24 changed files with 713 additions and 37 deletions

View File

@@ -0,0 +1,9 @@
import { atom } from "jotai";
export const editorAtom = atom(false);
export const editorValueAtom = atom([
{
type: "paragraph",
children: [{ text: "" }],
},
]);