New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

summernote-ext-print

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

summernote-ext-print

Print plugin for summernote

  • 0.1.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
decreased by-70%
Maintainers
1
Weekly downloads
 
Created
Source

Print plugin for Summernote

This plugin allows summernote prints its document, not whole web page.

DEMO PAGE : http://lqez.github.io/summernote-ext-print/

USAGE

  1. If you're using bower, than just type bower install summernote-ext-print or download and copy summernote-ext-print to your own directory.

  2. Embed summernote-ext-print.js into your page.

  3. Configure the toolbar of summernote like below.

$('#summernote').summernote({
    toolbar: [
        ...
        ['misc', ['print']]
    ],
    ...
});

OPTIONS

  • print.stylesheetUrl
    • summernote-ext-print uses(inherit) styles/css of original document by default. But if you want to use different styles for printing, set a url of stylesheet file on this.
$('#summernote').summernote({
    toolbar: [
        ...
        ['misc', ['print']]
    ],
    print: {
        'stylesheetUrl': 'url_of_stylesheet_for_printing'
    }
    ...
});

AUTHOR

@lqez

LICENSE

MIT

Keywords

FAQs

Package last updated on 08 Nov 2016

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc