mirror of
https://github.com/codex-team/editor.js
synced 2026-03-14 22:55:47 +01:00
Fix import in types/events/block/index.ts (#2739)
* Fix import in types/events/block/index.ts Fix wrong placement of the keyword type in the import lines of the types/events/block/index.ts introduced in PR-2491 and released in V2.29.0 preventing compilation. * Update CHANGELOG.md * Update CHANGELOG.md * Update CHANGELOG.md --------- Co-authored-by: Peter Savchenko <specc.dev@gmail.com>
This commit is contained in:
parent
eb97c49dbf
commit
0e8cc0d5be
2 changed files with 5 additions and 4 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue