Skip to content

Commit 3ea667b

Browse files
committed
Add todo
1 parent b6486d3 commit 3ea667b

File tree

1 file changed

+3
-2
lines changed
  • packages/dom-adapters/src/BlockToolAdapter

1 file changed

+3
-2
lines changed

packages/dom-adapters/src/BlockToolAdapter/index.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,6 @@ export class BlockToolAdapter implements BlockToolAdapterInterface {
7171

7272
/**
7373
* Inputs that bound to the model
74-
*
75-
* @todo handle inputs deletion — remove inputs from the map when they are removed from the DOM
7674
*/
7775
#attachedInputs = new Map<DataKey, HTMLElement>();
7876

@@ -165,6 +163,9 @@ export class BlockToolAdapter implements BlockToolAdapterInterface {
165163
return;
166164
}
167165

166+
/**
167+
* @todo Let BlockTool handle DOM update
168+
*/
168169
input.remove();
169170
this.#caretAdapter.detachInput(
170171
new IndexBuilder()

0 commit comments

Comments
 (0)