@editorjs/editorjs
Advanced tools
Comparing version 2.28.0-rc.2 to 2.28.0-rc.3
{ | ||
"name": "@editorjs/editorjs", | ||
"version": "2.28.0-rc.2", | ||
"version": "2.28.0-rc.3", | ||
"description": "Editor.js — Native JS, based on API and Open Source", | ||
@@ -5,0 +5,0 @@ "main": "dist/editorjs.umd.js", |
@@ -137,5 +137,5 @@ import {OutputBlockData, OutputData} from '../data-formats/output-data'; | ||
* @param id - id of the block to update | ||
* @param data - the new data | ||
* @param data - the new data. Can be partial. | ||
*/ | ||
update(id: string, data: BlockToolData): void; | ||
update(id: string, data: Partial<BlockToolData>): Promise<BlockAPI>; | ||
@@ -142,0 +142,0 @@ /** |
@@ -34,3 +34,3 @@ /** | ||
import { OutputData } from './data-formats'; | ||
import { BlockMutationEventMap } from './events/block'; | ||
import { BlockMutationEvent, BlockMutationEventMap, BlockMutationType } from './events/block'; | ||
import { BlockAddedMutationType, BlockAddedEvent } from './events/block/BlockAdded'; | ||
@@ -89,2 +89,4 @@ import { BlockChangedMutationType, BlockChangedEvent } from './events/block/BlockChanged'; | ||
export { | ||
BlockMutationType, | ||
BlockMutationEvent, | ||
BlockMutationEventMap, | ||
@@ -91,0 +93,0 @@ BlockAddedMutationType, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
647313
12397