Home

Awesome

summernote-audio

Summernote plugin to insert audio by URL or file upload. Based on the ImageDialog and VideoDialog already provided by Summernote.

Installation

Include the plugin script after including Summernote:

<!-- include jquery, bootstrap, summernote here -->

<link rel="stylesheet" href="summernote-audio.css">
<script type="text/javascript" src="summernote-audio.js"></script>

Configuration

Add the audio button to the Summernote toolbar:

$('.summernote').summernote({
    toolbar:[
        ['insert', ['link', 'picture', 'video', 'audio']],
    ],
});

Translations

Currently supports the following languages: