Skip to content
This repository has been archived by the owner on Nov 10, 2017. It is now read-only.

n1k0/ckMediaEmbed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

ckMediaEmbed plugin for CKEditor

This CKEditor plugin will add a supplementary button in the editor toolbar, opening a dialog popup where you'll be able to paste in any snippet of HTML code, for exemple Youtube video embed code.

ckMediaEmbed plugin in action

Installation

Get the source archive and uncompress it into the plugins folder of your CKEditor installation.

Usage

Enable the plugin adding this setting to your CKEditor config.js file:

config.extraPlugins = 'MediaEmbed';

Enable the button by adding it to your editor's toolbar configuration:

CKEditor.replace('id_of_textarea', {
  toolbar: 'Blah',
  toolbar_Blah: [
    ['Image', 'Flash', 'MediaEmbed']
  ]
});

Credits

This plugin code is based on the work of Kent Safranski.

About

A CKEditor plugin allowing to embed html code snippet in an editor instance, using a convenient button

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published