Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 658 Bytes

File metadata and controls

23 lines (14 loc) · 658 Bytes

embedCode is a Redactor plugin that allows users to insert embed codes from e.g. social websites (Instagram, Twitter, Facebook, Pinterest etc.)

Based on the Redactor Video Plugin code.

Usage

  1. Include the file.
  2. Add the 'embedCode' to Redactor configuration object under 'plugins'.

Example:

$('#redactor').redactor({
    'plugins': [ 'embedCode' ]
});

Note:

The plugin is assuming the usage of Font Awesome icon set. If you'd like to change the class used, edit the following per your liking:

<i class="fa fa-code"></i>