Skip to content
This repository was archived by the owner on Mar 23, 2026. It is now read-only.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AddTags-SummernotePlugin

A Summernote's plugin for adding new Tags. This plugin gives you the possibility to put many tags concatenate.

Proudly develop by Sébastien Duplessy.

Requirements

Minimum requirements for this bundle:

Installation

  • Add the script to your page after than Summernote is loaded.

Minimal Configuration

  • Add to your toolbar addtags on Summernote configuration and add the configuration of addtags.

  • See below for one example of the configuration of addtags.

Exemple

  • Example to have the tags for use Prism.
$(function () {
    $('.summernote').summernote({
            toolbar: [
                ...
                [...,[..."addtags"...]],
                ...
            ],
            addtags: {
                "button": "<i class=\"fa fa-folder-open\" aria-hidden=\"true\"><\/i> Prism",
                "tags": [
                    {
                        "title": "CSS",
                        "value": [
                            {"tag":"pre"},
                            {"tag":"code","class":"language-css"}
                        ]
                    },
                    {
                        "title":"Javascript",
                        "value":[
                            {"tag":"pre"},
                            {"tag":"code","class":"language-javascript"}
                        ]
                    }
                ]
            }
        }
    );
});        

About

A Summernote's plugin for add new Tags

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages