Skip to content

This extension enables speech synthesis on the TipTap text editor

Notifications You must be signed in to change notification settings

y4aniv/TipTap-SpeechSynthesis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpeechSynthesis

This extension enables voice transcription on the TipTap text editor

Options

lang

The language set for voice transcription
Type: string
Default: fr-FR

pitch

The tone set for voice transcription
Type: number
Default: 1

Usage

JavaScript

import { Editor } from "@tiptap/core";
import SpeechSynthesis from 'path/to/extension';

new Editor({
  extensions: [
    SpeechSynthesis.configure({
      lang: 'fr-FR',
      pitch: 1
    }),
  ],
})

Start voice transcription

editor.commands.startSpeechSynthesis()

Stop voice transcription

editor.commands.stopSpeechSynthesis()

About

This extension enables speech synthesis on the TipTap text editor

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published