Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 715 Bytes

README.md

File metadata and controls

31 lines (22 loc) · 715 Bytes

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