mirror of
https://github.com/codex-team/editor.js
synced 2024-06-08 00:42:31 +02:00
25 lines
355 B
TypeScript
25 lines
355 B
TypeScript
|
/**
|
||
|
* What kind of modification happened with the Block
|
||
|
*/
|
||
|
export enum BlockMutationType {
|
||
|
/**
|
||
|
* New Block added
|
||
|
*/
|
||
|
Added = 'block-added',
|
||
|
|
||
|
/**
|
||
|
* On Block deletion
|
||
|
*/
|
||
|
Removed = 'block-removed',
|
||
|
|
||
|
/**
|
||
|
* Moving of a Block
|
||
|
*/
|
||
|
Moved = 'block-moved',
|
||
|
|
||
|
/**
|
||
|
* Any changes inside the Block
|
||
|
*/
|
||
|
Changed = 'block-changed',
|
||
|
}
|