Skip to content

taalendigitaal/summernote-audio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

  • English
  • Dutch