/summernote-loremipsum

Plugin to Generate Lorem Ipsum Paragraphs for Summernote

MIT LicenseMIT

summernote-loremipsum

A plugin for the Summernote WYSIWYG editor.

summernote-loremipsum will insert Random Lorem Ipsum text at the cursor position in the Editor.

Installation

1. Include JS

Include the following code after Summernote:

<script src="summernote-loremipsum.js"></script>

2. Supported languages

Currently available in English!

3. Summernote options

$('.summernote').summernote({
    toolbar:[
        ['style',['style']],
        ['font',['bold','italic','underline','clear']],
        ['fontname',['fontname']],
        ['color',['color']],
        ['para',['ul','ol','paragraph']],
        ['height',['height']],
        ['table',['table']],
        ['insert',['lorem','media','link','hr']], // 'lorem', is the dropdown menu
        ['view',['fullscreen','codeview']],
        ['help',['help']]
    ],
    lorem:{
        el:'.summernote', // Element ID or Class used to Initialise Summernote.
        html: true // Place Lorem Ipsum Paragraphs inside <p> or set to false to not too.
    }
});

4. Check out our other Summernote Plugins via our main Github page.