Generates an unordered list on use of '*' or '-' and generates an ordered list on use of '1.'.
Is the automatic generated list not wanted pressing the shortcut CTRL+Z will remove the auto generated list and brings back the typed in character.
A plugin developed for Redactor, a WYSIWYG rich-text editor made by imperavi.
The example uses Angular Redactor.
Feel free to contribute to this repository.
##Installation
Include autolist.js in your markup:
<script src="autolist.js"></script>
##Usage Configuration via HTML markup:
<div id="page-editor-toolbar"></div>
<textarea ng-model="pageModel.content"
redactor="{
focus: true,
linebreaks: false,
tabKey: true,
plugins: ['autolist'],
toolbarExternal: '#page-editor-toolbar',
}"></textarea>