
Security News
How Enterprise Security Is Adapting to AI-Accelerated Threats
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.
quill-audio-uploader
Advanced tools
A module for Quill rich text editor to allow audio to be uploaded to a server
A module for Quill rich text editor to add audio format and allow audio to be uploaded to a server.
Adds a button to the toolbar for users to click, also handles drag and dropped.

import Quill from 'quill';
import AudioUploader from 'quill-audio-uploader';
Quill.register('modules/audioUploader', AudioUploader);
const mp3UrlForMockResponse =
'https://cdn.realworld.to/project-files/tSJAUCsbD8aSDM7e8XN_AA/KFY6kUxGl8wPJF6EzchhEA-%E1%84%8B%E1%85%B5%E1%86%AF%E1%84%8B%E1%85%A5%E1%84%82%E1%85%A1%E1%84%89%E1%85%A7%E1%84%8B%E1%85%A3%E1%84%92%E1%85%A1%E1%86%B8%E1%84%82%E1%85%B5%E1%84%83%E1%85%A1.mp3';
const quill = new Quill('#editor-container', {
modules: {
toolbar: ['audio'],
audioUploader: {
upload: (file) =>
new Promise((resolve, reject) => {
setTimeout(() => resolve(mp3UrlForMockResponse), 2000);
})
}
},
theme: 'snow'
});
quill-audio-uploader is primarily distributed under the terms of the MIT license. See LICENSE for details.
This module was initial created by modifying the quill-image-uploader source code.
FAQs
A module for Quill rich text editor to allow audio to be uploaded to a server
We found that quill-audio-uploader demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.