-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drag and Drop #133
Comments
Actually it's not a bad idea to extend drag'n'drop container to allow dragging items to the tree panel. I have to check capabilities.
What exact "div outside of the file manager" do you mean? Screenshots are welcome. |
Seems you use RFM in a way as it appears at the demo page - spreading to full page size. It's ok, however the most cases are tend to include RFM via iframe. In this case it will not be possible to use any "div" outside iframe to drag'n'drop. But even if you use full page installation it will be a bad practice to attach drag'n'drop to the "body". Taking this into accong I can try attach it to the element with class ".fm-splitter", to cover both (left and right) panels, but not more.
Perhaps you would like implement your own plugin for PHP connector? You can explore how the AWS S3 plugin is implemented, which also handles files located at the S3 cloud. |
My goal was for it to look like it was part of the same page, but in fact, it is inside an iframe. However, if you make it so that we can drop to and from the tree, I'll take what I can get then solve my problem another way. The way I did it in the previous version was to add an additional menu item to each file which allowed them to add it to my app. |
Implemented in v2.3.1 |
Great work, thanks! |
I have tested it, but if you face any related issues let me know, please. |
Will do. |
The drag and drop feature appears to limit this feature to staying within the container, i.e. you can only drag and drop on one side of the splitter.
Is this by design, and is there a config option to allow the items to be appended to the body to allow the files to escape their folder.
FYI: I'm not asking this to be able to drag and drop between views, but to do this to drop files on a div outside of the file manager.
Thank you!
The text was updated successfully, but these errors were encountered: