From a78578bc8bd959bdb51d92393bfbd83c004ef9d1 Mon Sep 17 00:00:00 2001 From: mohamedsalem401 Date: Mon, 4 Nov 2024 22:02:03 +0200 Subject: [PATCH] Remove old fix --- packages/core/src/dom_components/model/ComponentHead.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/packages/core/src/dom_components/model/ComponentHead.ts b/packages/core/src/dom_components/model/ComponentHead.ts index b0122113c7..413314f5e9 100644 --- a/packages/core/src/dom_components/model/ComponentHead.ts +++ b/packages/core/src/dom_components/model/ComponentHead.ts @@ -21,11 +21,4 @@ export default class ComponentHead extends Component { static isComponent(el: HTMLElement) { return toLowerCase(el.tagName) === type; } - - toJSON(): ComponentDefinition { - return { - ...super.toJSON(), - droppable: (({ tagName }) => !tagName || droppable.includes(toLowerCase(tagName))) as DraggableDroppableFn, - }; - } }