Skip to content

Latest commit

 

History

History
46 lines (36 loc) · 1.19 KB

README.md

File metadata and controls

46 lines (36 loc) · 1.19 KB

summernote-case-converter

Case converter plugin for the Summernote WYSIWYG editor.

Adds a button to the Toolbar with a dropdown in the Toolbar that allows case converting in any text in the editor.

Functions of this plugin:

  • Case convert between upper, lower, sentence and title case.

Installation

1. Include JS

Include the following code after including Summernote:

<script src="summernote-case-converter.js"></script>

2. Supported languages

Currently available in English and Spanish!

3. Summernote options

Finally, customize the Summernote Toolbar.

$(document).ready(function() {
  $('#summernote').summernote({
    toolbar:[
      ['custom',['caseConverter']], // The button
      ['style',['style']],
      ['font',['bold','italic','underline','clear']],
      ['fontname',['fontname']],
      ['color',['color']],
      ['para',['ul','ol','paragraph']],
      ['height',['height']],
      ['table',['table']],
      ['insert',['media','link','hr']],
      ['view',['fullscreen','codeview']],
      ['help',['help']]
    ]
  });
});

4. Check out my Github page.