diff --git a/web/src/app/chat/components/research-block.tsx b/web/src/app/chat/components/research-block.tsx index d02d59d..52779fd 100644 --- a/web/src/app/chat/components/research-block.tsx +++ b/web/src/app/chat/components/research-block.tsx @@ -97,6 +97,7 @@ export function ResearchBlock({ className="text-gray-400" size="icon" variant="ghost" + disabled={isReplay} onClick={handleEdit} > {editing ? : } diff --git a/web/src/components/editor/extensions.tsx b/web/src/components/editor/extensions.tsx index da060d7..2cd4c9f 100644 --- a/web/src/components/editor/extensions.tsx +++ b/web/src/components/editor/extensions.tsx @@ -78,16 +78,12 @@ const taskItem = TaskItem.configure({ }); const horizontalRule = HorizontalRule.configure({ - HTMLAttributes: { - class: cx("mt-4 mb-6 border-t border-muted-foreground"), - }, + HTMLAttributes: {}, }); const starterKit = StarterKit.configure({ bulletList: { - HTMLAttributes: { - class: cx("list-disc list-outside leading-3 -mt-2"), - }, + HTMLAttributes: {}, }, orderedList: { HTMLAttributes: { @@ -95,9 +91,7 @@ const starterKit = StarterKit.configure({ }, }, listItem: { - HTMLAttributes: { - class: cx("leading-normal -mb-2"), - }, + HTMLAttributes: {}, }, blockquote: { HTMLAttributes: { @@ -107,7 +101,6 @@ const starterKit = StarterKit.configure({ codeBlock: false, code: { HTMLAttributes: { - class: cx("rounded-md bg-muted px-1.5 py-1 font-mono font-medium"), spellcheck: "false", }, },