@draft-js-plugins/drag-n-drop-upload
Advanced tools
Comparing version 4.0.0-beta2 to 4.0.0
@@ -8,2 +8,4 @@ # Change Log | ||
## 4.0.0 | ||
- Hide internals in single bundle | ||
@@ -10,0 +12,0 @@ - Add esm support |
@@ -203,1 +203,3 @@ 'use strict'; | ||
exports.default = createDndFileUploadPlugin; | ||
exports.readFile = readFile; | ||
exports.readFiles = readFiles; |
import { EditorState } from 'draft-js'; | ||
import { EditorPlugin } from '@draft-js-plugins/editor'; | ||
export { readFiles, readFile } from './utils/file'; | ||
export interface DndUploadPluginConfig { | ||
@@ -4,0 +5,0 @@ handleUpload?(): void; |
@@ -199,1 +199,2 @@ import { EditorState } from 'draft-js'; | ||
export default createDndFileUploadPlugin; | ||
export { readFile, readFiles }; |
{ | ||
"name": "@draft-js-plugins/drag-n-drop-upload", | ||
"version": "4.0.0-beta2", | ||
"version": "4.0.0", | ||
"description": "Dropping & uploading files with DraftJS", | ||
@@ -5,0 +5,0 @@ "author": { |
# DraftJS Drag & Drop File Upload Plugin | ||
*This is a plugin for the `draft-js-plugins-editor`.* | ||
_This is a plugin for the `@draft-js-plugins/editor`._ | ||
@@ -10,5 +10,5 @@ This plugin adds dropping & uploading files functionality to your editor! | ||
```js | ||
import createDndFileUploadPlugin from 'draft-js-drag-n-drop-upload-plugin'; | ||
import createDndFileUploadPlugin from '@draft-js-plugins/drag-n-drop-upload'; | ||
const dndFileUploadPlugin = createDndFileUploadPlugin(); | ||
``` |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
19397
393
1