Browse Source

Remove old fix

pull/6291/head
mohamedsalem401 1 year ago
parent
commit
a78578bc8b
  1. 7
      packages/core/src/dom_components/model/ComponentHead.ts

7
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,
};
}
}

Loading…
Cancel
Save