@editorjs/editorjs
Advanced tools
Comparing version 2.28.0-rc.1 to 2.28.0-rc.2
@@ -412,3 +412,3 @@ Name: @babel/register | ||
Name: @editorjs/paragraph | ||
Version: 2.9.0 | ||
Version: 2.10.0 | ||
License: MIT | ||
@@ -415,0 +415,0 @@ Private: false |
{ | ||
"name": "@editorjs/editorjs", | ||
"version": "2.28.0-rc.1", | ||
"version": "2.28.0-rc.2", | ||
"description": "Editor.js — Native JS, based on API and Open Source", | ||
@@ -47,3 +47,3 @@ "main": "dist/editorjs.umd.js", | ||
"@editorjs/header": "^2.7.0", | ||
"@editorjs/paragraph": "^2.9.0", | ||
"@editorjs/paragraph": "^2.10.0", | ||
"@editorjs/simple-image": "^1.4.1", | ||
@@ -57,2 +57,3 @@ "@types/node": "^18.15.11", | ||
"cypress-intellij-reporter": "^0.0.7", | ||
"cypress-terminal-report": "^5.3.2", | ||
"eslint": "^8.37.0", | ||
@@ -59,0 +60,0 @@ "eslint-config-codex": "^1.7.1", |
@@ -1,2 +0,2 @@ | ||
import {OutputData} from '../data-formats/output-data'; | ||
import {OutputBlockData, OutputData} from '../data-formats/output-data'; | ||
import {BlockToolData, ToolConfig} from '../tools'; | ||
@@ -106,3 +106,2 @@ import {BlockAPI} from './block'; | ||
* @param {string} id — An optional id for the new block. If omitted then the new id will be generated | ||
*/ | ||
@@ -119,3 +118,11 @@ insert( | ||
/** | ||
* Inserts several Blocks to specified index | ||
*/ | ||
insertMany( | ||
blocks: OutputBlockData[], | ||
index?: number, | ||
): BlockAPI[]; | ||
/** | ||
@@ -122,0 +129,0 @@ * Creates data of an empty block with a passed type. |
Sorry, the diff of this file is not supported yet
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
646139
12372
32