mirror of
https://github.com/codex-team/editor.js
synced 2024-05-17 22:06:49 +02:00
494d6e4b9b
* fix: use type imports for block events * add changelog entry --------- Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
12 lines
200 B
TypeScript
12 lines
200 B
TypeScript
import type { BlockAPI } from '../../api';
|
|
|
|
/**
|
|
* Details of CustomEvent fired on block mutation
|
|
*/
|
|
export interface BlockMutationEventDetail {
|
|
/**
|
|
* Affected block
|
|
*/
|
|
target: BlockAPI;
|
|
}
|