## Speech recognition plugin

### Basic usage

This plugins allow you to enter text via speech recognition in Trumbowyg. Suddenly it does not work with Firefox which has not implemented the Web Speech API yet.

Read speech recognition plugin documentation

#### The code

    $('#editor')
    .trumbowyg({
        btns: [
            ['speechrecognition']
        ]
    });

### Language setting

#### The code

    $('#editor-settings-lang')
    .trumbowyg({
        btns: [
            ['speechrecognition']
        ],
        plugins: {
            speechrecognition: {
                lang: 'de-DE'
            }
        }
    });

### Setup

#### In head tag

#### At the end of body

    <!-- Import jQuery -->
    <script src="//ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
    <script>window.jQuery || document.write('<script src="js/vendor/jquery-3.3.1.min.js"><\/script>')</script>