|
|
|
@ -1,6 +1,7 @@
|
|
|
|
|
import { useEffect } from "react";
|
|
|
|
|
import { useGlobalStore, useTagStore } from "@/store/module";
|
|
|
|
|
import MemoEditor from ".";
|
|
|
|
|
import { MemoRelation } from "@/types/proto/api/v2/memo_relation_service";
|
|
|
|
|
import MemoEditorV1 from ".";
|
|
|
|
|
import { generateDialog } from "../Dialog";
|
|
|
|
|
import Icon from "../Icon";
|
|
|
|
|
|
|
|
|
@ -34,7 +35,7 @@ const MemoEditorDialog: React.FC<Props> = ({ memoId, relationList, destroy }: Pr
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div className="flex flex-col justify-start items-start max-w-full w-[36rem]">
|
|
|
|
|
<MemoEditor
|
|
|
|
|
<MemoEditorV1
|
|
|
|
|
className="border-none !p-0 -mb-2"
|
|
|
|
|
cacheKey={`memo-editor-${memoId}`}
|
|
|
|
|
memoId={memoId}
|
|
|
|
|