Socket
Socket
Sign inDemoInstall

summernote-list-of-links

Package Overview
Dependencies
1
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    summernote-list-of-links

A plugin for the Summernote WYSIWYG editor, that lets you choose from an external list of links, provided as json.


Version published
Weekly downloads
9
increased by800%
Maintainers
1
Install size
7.69 MB
Created
Weekly downloads
 

Readme

Source

This plugin adds a button to let you choose from an external list of links, provided as json.

Usage

$(document).ready(function() {
    $('#summernote').summernote({
        height: 300,
        toolbar: [
            ['style', ['bold', 'italic', 'underline', 'link', 'list-of-links', 'codeview']]
        ],
        listOfLinks: {
          listUrl: 'data.json'
        }
    });
});

/data.json

[
  ["http://www.google.fr", "Google"],
  ["http://www.facebook.com", "Facebook"]
]

Credits

Example copied from https://github.com/tylerecouture/summernote-add-text-tags

FAQs

Last updated on 27 Jun 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc