Skip to content

varun-raj/medium-editor-autolist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Autolist Extension for Medium Editor

Simple implementation

Installation

bower install medium-editor-autolist --save

Import the javascript

<script src="bower_components/medium-editor/dist/js/medium-editor.js"></script>
<script src="/bower_components/medium-editor-autolist/dist/autolist.js"></script>

Add the extension

var autolist = new AutoList();
var editor = new MediumEditor('.editable', {
    buttonLabels: 'fontawesome',
    extensions: {
        'autolist': autolist
    }, 
    toolbar: {
        buttons: ['h1', 'h2', 'bold', 'italic', 'quote', 'pre', 'unorderedlist','orderedlist']
    }
}),

About

An extension for medium editor which auto creates list.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published