Add Visual Editor for Custom Card

Hi, I made a Custom Drag-Card… But I need help to add a visual Editor
I know the Code is a mess. I never did anything like this.

I want to be able to select 5 entitys and 5 icons
DragCard