-
Notifications
You must be signed in to change notification settings - Fork 400
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
Dropping at cursor #419
Comments
@timmyg yeah works with native contenteditable. I'd check with a default scribe element and see what happens. |
@raffij any progress on this? would love to test/help |
@raffij do you have an expected release date on this? |
@timmyg The fix should be on master. It's on npm as beta3. I'll have a bit of time soon to cleanup a drag / drop branch that was going to modify the behaviour of this and fix another issue you had. https://github.com/madebymany/sir-trevor-js/tree/better-drag-and-drop This will be beta4. Then a quick mobile browser round of modifications will be needed for beta5 and we should be there for the moment. |
@raffij awesome i will test it out next week! |
@raffij what is an example of a valid draggable element? Should this work on "text" block type? |
For some reason, when I drop something into the ST area it always drops at the end, rather than where my cursor is. I have a feeling it is because it regenerates the
tags or something (when I try to take away p tags in browser, they always come back).
Any thoughts on how I can hack this? Below is a codepen linkign to my (somewhat modified) sir-trevor.js
https://codepen.io/timmyg/pen/adOPbp
The text was updated successfully, but these errors were encountered: