Skip to content

DennisSuitters/summernote-seo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

summernote-seo

A plugin for the Summernote WYSIWYG editor.

summernote-seo Extracts Keywords, Captions (Highlighted), and Descriptions (Highlighted) from the Editor Text, then places them in the chosen Element, either an Input Field, or HTML Area.

Installation

1. Include JS

Include the following code after Summernote:

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

2. Supported languages

Currently available in English!

3. Summernote options

$('.summernote').summernote({
    toolbar:[
        ['seo',['seo']], // 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']]
    ],
    seo:{
        el:'.summernote', // Element ID or Class used to Initialise Summernote.
        notTime:2400, // Time to display Notifications.
        keyEl:'#seoKeywords', // ID or Class of the Target Element to place Keywords.
        capEl:'#seoCaption', // ID or Class of the Target Element to place Caption.
        desEl:'#seoDescription', // ID or Class of the Target Element to place Description.
        triggerInput:true, // Set this to True if like me you use AJAX to update single fields
        action:'replace', // replace|append Replace or Append Content.
        successClass:'alert alert-success',
        errorClass:'alert alert-danger',
        autoClose:false, // Set to True to Auto Close Notifications
        icon:'<i class="note-icon">[Your Icon]</i> <span class="caret"></span>',
    }
});

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

Thanks:

  • To the Coder that wrote the Keyword Extraction Javascript. I can't remember where I got it from.

About

Summernote Plugin to Extract Keywords with options of where to place them.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •