mirror of
https://git.mirrors.martin98.com/https://github.com/bytedance/deer-flow
synced 2025-08-20 12:39:15 +08:00
parent
1a59accb52
commit
8802eea0ba
@ -97,6 +97,7 @@ export function ResearchBlock({
|
|||||||
className="text-gray-400"
|
className="text-gray-400"
|
||||||
size="icon"
|
size="icon"
|
||||||
variant="ghost"
|
variant="ghost"
|
||||||
|
disabled={isReplay}
|
||||||
onClick={handleEdit}
|
onClick={handleEdit}
|
||||||
>
|
>
|
||||||
{editing ? <Undo2 /> : <Pencil />}
|
{editing ? <Undo2 /> : <Pencil />}
|
||||||
|
@ -78,16 +78,12 @@ const taskItem = TaskItem.configure({
|
|||||||
});
|
});
|
||||||
|
|
||||||
const horizontalRule = HorizontalRule.configure({
|
const horizontalRule = HorizontalRule.configure({
|
||||||
HTMLAttributes: {
|
HTMLAttributes: {},
|
||||||
class: cx("mt-4 mb-6 border-t border-muted-foreground"),
|
|
||||||
},
|
|
||||||
});
|
});
|
||||||
|
|
||||||
const starterKit = StarterKit.configure({
|
const starterKit = StarterKit.configure({
|
||||||
bulletList: {
|
bulletList: {
|
||||||
HTMLAttributes: {
|
HTMLAttributes: {},
|
||||||
class: cx("list-disc list-outside leading-3 -mt-2"),
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
orderedList: {
|
orderedList: {
|
||||||
HTMLAttributes: {
|
HTMLAttributes: {
|
||||||
@ -95,9 +91,7 @@ const starterKit = StarterKit.configure({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
listItem: {
|
listItem: {
|
||||||
HTMLAttributes: {
|
HTMLAttributes: {},
|
||||||
class: cx("leading-normal -mb-2"),
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
blockquote: {
|
blockquote: {
|
||||||
HTMLAttributes: {
|
HTMLAttributes: {
|
||||||
@ -107,7 +101,6 @@ const starterKit = StarterKit.configure({
|
|||||||
codeBlock: false,
|
codeBlock: false,
|
||||||
code: {
|
code: {
|
||||||
HTMLAttributes: {
|
HTMLAttributes: {
|
||||||
class: cx("rounded-md bg-muted px-1.5 py-1 font-mono font-medium"),
|
|
||||||
spellcheck: "false",
|
spellcheck: "false",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user