@editorjs/editorjs
Advanced tools
Comparing version 2.11.6 to 2.11.7
{ | ||
"name": "@editorjs/editorjs", | ||
"version": "2.11.6", | ||
"version": "2.11.7", | ||
"description": "Editor.js — Native JS, based on API and Open Source", | ||
@@ -5,0 +5,0 @@ "main": "dist/editor.js", |
@@ -14,10 +14,2 @@ import {BlockToolData} from '../index'; | ||
/** | ||
* Handler to process pasted HTML tag | ||
* | ||
* @param {HTMLElement} element | ||
* @return {BlockToolData} | ||
*/ | ||
handler?: (element: HTMLElement) => BlockToolData; | ||
/** | ||
* Object of string patterns Tool can substitute. | ||
@@ -31,22 +23,5 @@ * Key is your internal key and value is RegExp | ||
/** | ||
* Handler to process pasted patterns | ||
* | ||
* @param {string} text | ||
* @param {string} key | ||
* @return {BlockToolData} | ||
*/ | ||
patternHandler?: (text: string, key: string) => BlockToolData; | ||
/** | ||
* Object with arrays of extensions and MIME types Tool can substitute | ||
*/ | ||
files?: {extensions?: string[], mimeTypes?: string[]}; | ||
/** | ||
* Handler to process pasted files | ||
* | ||
* @param {File} file | ||
* @return {BlockToolData} | ||
*/ | ||
fileHandler?: (file: File) => BlockToolData; | ||
} |
Sorry, the diff of this file is too big to display
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
334901
1756