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