Draggable droppable resizable and clone

Draggable droppable resizable and clone

Having a error when i try to resize element after i'v been dragged it inside of container. And another thing is that i cant send right width and height after element is resized. It sent element last size.