A bunch of plugins for the Redacator WYSIWYG Text Editor.
These plugins have been tested on Redactor v10.0.4
This is an updated version of the plugin available on the Redactor site that does not appear to have been updated to use the new API.
Paste in a url to an audio file and it the plugin will wrap it in the <audio>
tag.
These are the instructions when you are using redactor-rails
. Firstly add the plugin you wish to use to the location:
/app/assets/redactor-rails/plugins/
Now you need pull them into your app:
//= require redactor-rails/redactor
//= require redactor-rails/config
//= require redactor-rails/plugins/video
//= require redactor-rails/plugins/audio
Now in your /app/assets/redactor-rails/config.js
or where ever you you init redactor.
$('.redactor').redactor({
plugins: ['video', 'audio'],
...
});