优化 代码块主题
This commit is contained in:
parent
70769de9e5
commit
a201d82984
@ -26,6 +26,8 @@ interface EditorToolbarProps {
|
||||
selectedTemplate: string
|
||||
styleOptions: RendererOptions
|
||||
codeTheme: CodeThemeId
|
||||
wordCount: string
|
||||
readingTime: string
|
||||
onSave: () => void
|
||||
onCopy: () => Promise<boolean>
|
||||
onCopyPreview: () => Promise<boolean>
|
||||
@ -54,7 +56,9 @@ export function EditorToolbar({
|
||||
onPreviewToggle,
|
||||
styleOptions,
|
||||
codeTheme,
|
||||
onCodeThemeChange
|
||||
onCodeThemeChange,
|
||||
wordCount,
|
||||
readingTime
|
||||
}: EditorToolbarProps) {
|
||||
const { toast } = useToast()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user