We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6486d3 commit 3ea667bCopy full SHA for 3ea667b
packages/dom-adapters/src/BlockToolAdapter/index.ts
@@ -71,8 +71,6 @@ export class BlockToolAdapter implements BlockToolAdapterInterface {
71
72
/**
73
* Inputs that bound to the model
74
- *
75
- * @todo handle inputs deletion — remove inputs from the map when they are removed from the DOM
76
*/
77
#attachedInputs = new Map<DataKey, HTMLElement>();
78
@@ -165,6 +163,9 @@ export class BlockToolAdapter implements BlockToolAdapterInterface {
165
163
return;
166
164
}
167
+ /**
+ * @todo Let BlockTool handle DOM update
168
+ */
169
input.remove();
170
this.#caretAdapter.detachInput(
171
new IndexBuilder()
0 commit comments