Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/linkesch/medium-editor-insert-plugin

jQuery insert plugin for MediumEditor
https://github.com/linkesch/medium-editor-insert-plugin

Last synced: about 1 month ago
JSON representation

jQuery insert plugin for MediumEditor

Awesome Lists containing this project

README

        

# jQuery insert plugin for MediumEditor

[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/orthes/medium-editor-insert-plugin?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) [![Build Status](https://travis-ci.org/orthes/medium-editor-insert-plugin.svg?branch=master)](https://travis-ci.org/orthes/medium-editor-insert-plugin) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/1f8565ed2e554e4fa952ec4da6a2080b)](https://www.codacy.com/app/orthes_3082/medium-editor-insert-plugin?utm_source=github.com&utm_medium=referral&utm_content=orthes/medium-editor-insert-plugin&utm_campaign=Badge_Grade) [![CDNJS](https://img.shields.io/cdnjs/v/medium-editor-insert-plugin.svg)](https://cdnjs.com/libraries/medium-editor-insert-plugin)

This plugin expands capabilities of [MediumEditor](https://github.com/yabwe/medium-editor) (a clone of medium.com WYSIWYG editor) and it enables users to insert into the editor various types of content (depending on available addons).

Current available addons:

- **images**
- **embeds** (either through oEmbed proxy, such as [Iframely](https://iframely.com/), or pre-defined parsers such as - Youtube, Vimeo, Twitter, Facebook, Instagram)

## Demo

[http://orthes.github.io/medium-editor-insert-plugin](http://orthes.github.io/medium-editor-insert-plugin)

## Download

**Via npm:**

`npm install medium-editor-insert-plugin --save`

**Via bower:**

`bower install medium-editor-insert-plugin --save`

**Manual:**

[Download the latest release](https://github.com/orthes/medium-editor-insert-plugin/releases)

## Quick Start

The first step is to include the plugin with all its dependencies to your code:

```html

```

Initialize MediumEditor as you normally would:

```javascript
var editor = new MediumEditor('.editable');
```

Finally, you can initialize the insert plugin:

```javascript
$(function () {
$('.editable').mediumInsert({
editor: editor
});
});
```

## [Documentation](https://github.com/orthes/medium-editor-insert-plugin/wiki)

- [Getting Started](https://github.com/orthes/medium-editor-insert-plugin/wiki/v2.x-Getting-Started)
- [Configuration](https://github.com/orthes/medium-editor-insert-plugin/wiki/v2.x-Configuration)
- [Using with webpack](https://github.com/orthes/medium-editor-insert-plugin/wiki/v2.x-Using-with-webpack)
- [Server response](https://github.com/orthes/medium-editor-insert-plugin/wiki/v2.x-Server-response)
- [Custom addons](https://github.com/orthes/medium-editor-insert-plugin/wiki/v2.x-Custom-addons)
- [Upgrading from v0.3](https://github.com/orthes/medium-editor-insert-plugin/wiki/v2.x-Upgrading-from-v0.3)
- [Versioning](https://github.com/orthes/medium-editor-insert-plugin/wiki/Versioning)
- [Development & Contributing](https://github.com/orthes/medium-editor-insert-plugin/wiki/Development-&-Contributing)
- [License](https://github.com/orthes/medium-editor-insert-plugin/wiki/License)

## Contributors

Thanks goes to these wonderful people ([emoji key](https://github.com/all-contributors/all-contributors#emoji-key)):

| [Pavel Linkesch
Pavel Linkesch](http://linkesch.com)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=orthes "Code") [πŸ“–](https://github.com/orthes/medium-editor-insert-plugin/commits?author=orthes "Documentation") [🚧](#maintenance-orthes "Maintenance") [πŸ‘€](#review-orthes "Reviewed Pull Requests") | [JΓ©rΓ©my Benoist
JΓ©rΓ©my Benoist](http://www.j0k3r.net)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=j0k3r "Code") [🚧](#maintenance-j0k3r "Maintenance") [πŸ‘€](#review-j0k3r "Reviewed Pull Requests") | [Nazar Leush
Nazar Leush](https://github.com/nleush)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=nleush "Code") | [Andrey Sitnik
Andrey Sitnik](http://twitter.com/sitnikcode)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=ai "Code") | [Jeremy Epstein
Jeremy Epstein](http://greenash.net.au/)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=Jaza "Code") | [Hikaru Tooyama
Hikaru Tooyama](https://github.com/vexus2)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=vexus2 "Code") | [Alexandr Subbotin
Alexandr Subbotin](https://twitter.com/asubbotin)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=KELiON "Code") |
| :---: | :---: | :---: | :---: | :---: | :---: | :---: |
| [Vinicius Patrinhani
Vinicius Patrinhani](https://github.com/patrinhani-ciandt)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=patrinhani-ciandt "Code") | [Firas Bessadok
Firas Bessadok](http://firas.bessadok.com)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=fbessadok "Code") | [Omnia G Helmi
Omnia G Helmi](http://omniagm.github.io/)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=OmniaGM "Code") | [Daniel Huang
Daniel Huang](https://github.com/daniel-huang)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=daniel-huang "Code") | [Alex Xandra Albert Sim
Alex Xandra Albert Sim](https://bertzzie.com)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=bertzzie "Code") | [Brandon Renfrow
Brandon Renfrow](https://github.com/brenfrow)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=brenfrow "Code") | [BurnHavoc
BurnHavoc](https://github.com/BurnHavoc)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=BurnHavoc "Code") |
| [Enzo
Enzo](http://enzoz.me/)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=enzoz "Code") | [Jonathon Sim
Jonathon Sim](http://idealstack.io)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=jonathonsim "Code") | [Kazuya Hara
Kazuya Hara](https://kazuyahara.com)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=KazuyaHara "Code") | [MiloΕ‘ HadΕΎiΔ‡
Miloő Hadžić](https://rightfold.io)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=miloshadzic "Code") | [Siron
Siron](https://github.com/Siron)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=Siron "Code") | [Sam Auciello
Sam Auciello](http://antha.site)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=olleicua "Code") | [Sean Cashin
Sean Cashin](https://github.com/scashin133)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=scashin133 "Code") |
| [Yu Zhai
Yu Zhai](https://github.com/jackyzhai)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=jackyzhai "Code") | [acekat
acekat](https://github.com/acekat)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=acekat "Code") | [linpekka
linpekka](https://github.com/linpekka)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=linpekka "Code") | [sainu
sainu](http://sa-inu.com/)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=sainuio "Code") | [Murat Tasarsu
Murat Tasarsu](http://medya-t.com)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=tasarsu "Code") | [Anil Kumar Maurya
Anil Kumar Maurya](http://anilmaurya.herokuapp.com)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=anilmaurya "Code") | [Artem Shevtsov
Artem Shevtsov](https://github.com/artshevtsov)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=artshevtsov "Code") |
| [Baptiste Gaillard
Baptiste Gaillard](https://github.com/bgaillard)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=bgaillard "Code") | [Bernard Wolff
Bernard Wolff](https://github.com/bernardwolff)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=bernardwolff "Code") | [Carl Scott
Carl Scott](http://gogocarl.blogspot.com)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=GoGoCarl "Code") | [Chris Joe
Chris Joe](https://github.com/flamerohr)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=flamerohr "Code") | [Daniel Wang
Daniel Wang](https://github.com/pvnr0082t)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=pvnr0082t "Code") | [Derrek Bertrand
Derrek Bertrand](http://derrekbertrand.com/)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=derrekbertrand "Code") | [Gabi Maeztu
Gabi Maeztu](http://merqur.io)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=merqurio "Code") |
| [Hussein Jafferjee
Hussein Jafferjee](http://inssein.com)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=inssein "Code") | [Indra Santosa
Indra Santosa](http://indrasantosa.com)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=indrasantosa "Code") | [Ivan Paramonau
Ivan Paramonau](http://twitter.com/iparamonau)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=iparamonau "Code") | [JK
JK](http://jerinisready.wordpress.com)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=jerinisready "Code") | [Jeff Bellsey
Jeff Bellsey](http://futureground.net)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=jbellsey "Code") | [Kenzo Okamura
Kenzo Okamura](http://blog.oznek.com.br)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=oznek "Code") | [Matei Dorobantu
Matei Dorobantu](http://matei.dorobantu.me)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=mateid "Code") |
| [Max Kirchoff
Max Kirchoff](http://www.maxisnow.com)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=maxkirchoff "Code") | [MrEcl
MrEcl](https://github.com/MrEcl)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=MrEcl "Code") | [RaphaΓ«l Vercruyssen
RaphaΓ«l Vercruyssen](https://github.com/RifRaf44)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=RifRaf44 "Code") | [Sebastian Zorn
Sebastian Zorn](http://dazorni.de)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=dazorni "Code") | [tsbalzhanov
tsbalzhanov](https://github.com/tsbalzhanov)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=tsbalzhanov "Code") | [bjrenfrow
bjrenfrow](https://github.com/bjrenfrow)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=bjrenfrow "Code") | [orhan
orhan](https://github.com/orhanveli)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=orhanveli "Code") |
| [swolfod
swolfod](https://github.com/swolfod)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=swolfod "Code") | [Eligijus KrΔ—pΕ‘ta
Eligijus KrΔ—pΕ‘ta](https://kodinu.lt)
[πŸ’»](https://github.com/orthes/medium-editor-insert-plugin/commits?author=keligijus "Code") |

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!

## License

[MIT](https://github.com/orthes/medium-editor-insert-plugin/blob/master/LICENSE)