A plugin for the Summernote WYSIWYG editor.
summernote-loremipsum will insert Random Lorem Ipsum text at the cursor position in the Editor.
Include the following code after Summernote:
<script src="summernote-loremipsum.js"></script>
Currently available in English!
$('.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.
}
});