diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 589741bc..2dea81e0 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -32,6 +32,7 @@ - `Improvement` — Placeholders will stay visible on inputs focus. - `New` — Editor.js now supports contenteditable placeholders out of the box. Just add `data-placeholder` or `data-placeholder-active` attribute to make it work. The first one will work like native placeholder while the second one will show placeholder only when block is current. - `Improvement` — Now Paragraph placeholder will be shown for the current paragraph, not the only first one. +- `Fix` — The problem caused by missed "import type" in block mutation event types resolved ### 2.29.1 diff --git a/types/events/block/index.ts b/types/events/block/index.ts index 3c4c20c1..2851eba7 100644 --- a/types/events/block/index.ts +++ b/types/events/block/index.ts @@ -1,7 +1,7 @@ -import { type BlockAddedEvent, BlockAddedMutationType } from './BlockAdded'; -import { type BlockChangedEvent, BlockChangedMutationType } from './BlockChanged'; -import { type BlockMovedEvent, BlockMovedMutationType } from './BlockMoved'; -import { type BlockRemovedEvent, BlockRemovedMutationType } from './BlockRemoved'; +import type { BlockAddedEvent, BlockAddedMutationType } from './BlockAdded'; +import type { BlockChangedEvent, BlockChangedMutationType } from './BlockChanged'; +import type { BlockMovedEvent, BlockMovedMutationType } from './BlockMoved'; +import type { BlockRemovedEvent, BlockRemovedMutationType } from './BlockRemoved'; /** * Map for Custom Events related to block mutation types