Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

quill-paste-smart

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

quill-paste-smart - npm Package Compare versions

Comparing version 1.0.6 to 1.1.0

dist/index.js

4

package.json
{
"name": "quill-paste-smart",
"version": "1.0.6",
"version": "1.1.0",
"description": "Quill Extension to paste only supported HTML",
"main": "dist/quill-paste-smart.js",
"main": "dist/module.js",
"devDependencies": {

@@ -7,0 +7,0 @@ "@babel/core": "^7.9.0",

@@ -26,5 +26,5 @@ # Quill Paste Smart

import Quill from 'quill';
import PasteSmart from 'quill-paste-smart';
import QuillPasteSmart from 'quill-paste-smart';
Quill.register('modules/clipboard', PasteSmart, true);
Quill.register('modules/clipboard', QuillPasteSmart, true);

@@ -59,6 +59,39 @@ ```

<br>
### CommonJS
It is possible to use this module by including it though a `<script>` tag. Here is a full example.
```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Quill Paste Smart</title>
<link href="https://unpkg.com/quill@latest/dist/quill.snow.css" rel="stylesheet">
</head>
<body>
<div id="editor"></div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/quill/2.0.0-dev.4/quill.min.js"></script>
<script src="https://unpkg.com/quill-paste-smart@latest/dist/index.js"></script>
<script>
Quill.register('modules/clipboard', QuillPasteSmart);
var quill = new Quill('#editor', {
theme: 'snow',
});
</script>
</body>
</html>
```
<br>
### License
This plugin is licensed under the terms of the [MIT License](https://github.com/Artem-Schander/quill-paste-smart/blob/master/LICENSE)
(See LICENSE file for details).
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