Hi,
We have an accordion with a dhtmlxeditor attached to each section.
Drag and drop has been enabled so we can re-order them.
If the section we want to move is closed, everything works as expected.
However if the section is open (showing dhtmlxeditor and its contents) and it is dragged, everything looks okay until it is dropped. Then the editor erasers/hides the editor contents. If I close and then re-open the section manually, the content re-appears again.
I have tried to do a close and reopen after the move, which looks silly and still gives blank content (until its done manually)
I thought of only allowing the section to be draggable if its closed, but I am unable to find a way to achieve this, as onBeforeDrag is not available to accordions.
[code]
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam ac diam vel est porttitor condimentum vitae vitae tortor. Donec et laoreet lectus. Integer sodales magna sed sagittis fermentum. Nulla facilisi. Vivamus pretium non ligula non euismod. Nullam scelerisque, arcu a viverra accumsan, lorem nunc porta ligula, facilisis convallis diam orci ac eros. Etiam mollis quam sed libero finibus dignissim. Fusce tellus diam, rhoncus a arcu ut, fringilla sagittis purus. Sed a scelerisque risus. Nullam fringilla dui iaculis placerat convallis. Nullam efficitur fringilla semper. Maecenas iaculis nisl et quam tincidunt viverra. Quisque tincidunt purus ut nibh feugiat, sed cursus metus lacinia. Nulla et nunc ac felis elementum maximus. Duis in elit commodo, ultricies mi et, gravida felis.