quill-paste-smart
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "quill-paste-smart", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Quill Extension to paste only supported HTML", | ||
@@ -5,0 +5,0 @@ "main": "dist/quill-paste-smart.js", |
# Quill Paste Smart | ||
This plugin extends the default clipboard module of [Quill.js](https://github.com/quilljs/quill) to prevent users from pasting HTML that does not belong into the editor. To do so it looks into your toolbar configuration and deciding which tags and attributes are allowed based on the possible formats. | ||
This plugin extends the default clipboard module of [Quill.js](https://github.com/quilljs/quill) to prevent users from pasting HTML that does not belong into the editor. To do so it looks into the toolbar configuration and decides which tags and attributes are allowed based on the possible formats. | ||
However, you can also decide on your own, what is allowed. | ||
@@ -38,3 +38,3 @@ | ||
If you don't agree with the default settings, you can decide what is allowed by yourself. | ||
Also I thought it could be useful to keep the pasted content selected after pasting. | ||
Also I thought it could be useful to keep the pasted content selected after pasting, so there is a setting for it too. | ||
@@ -41,0 +41,0 @@ A valid configuration could look like this: |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26710