mirror of
https://github.com/codex-team/editor.js
synced 2026-03-14 14:45:47 +01:00
fix(Inline-toolbar): fake selection stays on screen after toggling convert to (#2768)
* Fix not removing fake selection on convert to toggle * Update version and changelog * Update docs/CHANGELOG.md Co-authored-by: Peter <specc.dev@gmail.com> --------- Co-authored-by: Peter <specc.dev@gmail.com>
This commit is contained in:
parent
4a4981e1d8
commit
ba8fa7344a
3 changed files with 7 additions and 2 deletions
|
|
@ -1,5 +1,9 @@
|
|||
# Changelog
|
||||
|
||||
### 2.30.1
|
||||
|
||||
- `Fix` – Remove fake selection after multiple "convert to" inline tool toggles
|
||||
|
||||
### 2.30.0
|
||||
|
||||
- `New` – Block Tunes now supports nesting items
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@editorjs/editorjs",
|
||||
"version": "2.30.0",
|
||||
"version": "2.30.1",
|
||||
"description": "Editor.js — open source block-style WYSIWYG editor with JSON output",
|
||||
"main": "dist/editorjs.umd.js",
|
||||
"module": "dist/editorjs.mjs",
|
||||
|
|
|
|||
|
|
@ -127,8 +127,9 @@ export class PopoverInline extends PopoverDesktop {
|
|||
*/
|
||||
protected override showNestedItems(item: PopoverItemDefault | PopoverItemHtml): void {
|
||||
if (this.nestedPopoverTriggerItem === item) {
|
||||
this.nestedPopoverTriggerItem = null;
|
||||
this.destroyNestedPopoverIfExists();
|
||||
|
||||
this.nestedPopoverTriggerItem = null;
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue