Initial implementation of TTS with Web Speech API (#120)

* Initial implementation of TTS with Web Speech API

* Add translations for annotator tools
This commit is contained in:
Huang Xin
2025-01-07 21:57:55 +01:00
committed by GitHub
parent a59a3b633b
commit 07b04b82e6
27 changed files with 748 additions and 13 deletions
@@ -51,7 +51,8 @@ const HighlightOptions: React.FC<HighlightOptionsProps> = ({
>
<div
className={clsx(
'h-4 w-4 p-0 text-center leading-none',
'w-4 p-0 text-center leading-none',
style === 'highlight' ? 'h-4' : 'h-5',
style === 'highlight' &&
(selectedStyle === 'highlight' ? `bg-${selectedColor}-400` : `bg-gray-300`),
(style === 'underline' || style === 'squiggly') &&