Open andershansander opened 6 years ago
https://github.com/fritz-c/react-sortable-tree#if-it-doesnt-work-with-other-components-that-use-react-dnd Try the method explained there. react-dnd only allows for one dnd context at a time, so you'll also need to see if the froala editor allows you to get their component without the dnd context wrapping it.
Thank you for the quick response. I tried the method mentioned but the problem remains. I believe that Froala is using the jQuery draggable plugin for drag and drop. Do you know if there is any compatibility issues with that library?
Ah, I wouldn’t know, in that case.
Thank you for the quick response. I tried the method mentioned but the problem remains. I believe that Froala is using the jQuery draggable plugin for drag and drop. Do you know if there is any compatibility issues with that library?
@andershansander did you get an answer to your issue?
Thank you for the quick response. I tried the method mentioned but the problem remains. I believe that Froala is using the jQuery draggable plugin for drag and drop. Do you know if there is any compatibility issues with that library?
@andershansander did you get an answer to your issue?
@jonccooke I don't think I did, sorry. I have moved to another company since so cannot check if it got solved, I am afraid.
Thank you for the quick response. I tried the method mentioned but the problem remains. I believe that Froala is using the jQuery draggable plugin for drag and drop. Do you know if there is any compatibility issues with that library?
@andershansander did you get an answer to your issue?
@jonccooke I don't think I did, sorry. I have moved to another company since so cannot check if it got solved, I am afraid.
Ah, ok. Thanks for letting me know.
are people still having trouble with this?
are people still having trouble with this?
Hi I have posted another issue https://github.com/frontend-collective/react-sortable-tree/issues/757, whereby I need the tree to recieve a drop event from another framework that uses JQuerys' draggable plugin and was trying to work out how to do this.
This thread had a similar topic.
I you could point the way that would be fantastic.
Hi!
When using react-sortable-tree with another drag-n-drop component like react-froala-wysiwyg the tree work as expected but the drag-n-drop in react-froala-wysiwyg is blocked.
Here are the steps to create a project with the issue:
Replace the index.js content with this:
Now if you run "npm start" and insert an image in the Froala editor it cannot be dragged and dropped to another location in the editor window.
I understand if interoperability issues are not really something you look into so feel free to close this issue if that is the case.