Skip to content

evandroeisinger/editore-embed-plugin.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

editore.js embed plugin npm version

install

Available on npm: npm install editore-embed-plugin or directly download

basic usage

It's easy to use! Load editore.js into your application, instantiate it and register the new insertion plugin.

var editore = new Editore(document.getElementById('editor')),
    EmbedPlugin;

// Global
EmbedPlugin = window.EditoreEmbedPlugin;
// CommonJS
EmbedPlugin = require('editore-embed-plugin');

// then register!
editore.registerInsertComponent(EmbedPlugin, {
    titleText: 'Embed plugin', /* optional */
    applyButtonText: 'Insert', /* optional */
    cancelButtonText: 'Cancel', /* optional */
    textareaPlaceholder: 'Embed script...' /* optional */
});

support

  • chrome: ?
  • firefox: ?
  • safari: ?
  • internet explore: ?

contribute

Everyone can contribute! Finding bugs, creating issues, improving editor it self or creating components. Every contribution will be welcomed! 🎅

Fork it -> Branch it -> Test it -> Push it -> Pull Request it 💎

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published