Skip to content

If the editor has focus, drop location is not read correctly #2802

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

Closed
Reinmar opened this issue May 10, 2017 · 0 comments · Fixed by ckeditor/ckeditor5-upload#47
Closed

If the editor has focus, drop location is not read correctly #2802

Reinmar opened this issue May 10, 2017 · 0 comments · Fixed by ckeditor/ckeditor5-upload#47
Assignees
Labels
package:upload type:bug This issue reports a buggy (incorrect) behavior.
Milestone

Comments

@Reinmar
Copy link
Member

Reinmar commented May 10, 2017

It may be more an issue of the clipboard or engine themselves, though.

may-10-2017 15-43-32

@Reinmar Reinmar self-assigned this Jul 14, 2017
Reinmar referenced this issue in ckeditor/ckeditor5-upload Jul 27, 2017
Fix: Fixed two issues related to dropping images. First, when dropping a file into an empty paragraph, that paragraph should be replaced with that image. Second, drop position should be read correctly when the editor is focused upon drop. Closes #42. Closes #29.

BREAKING CHANGE: `UploadImageCommand` doesn't optimize the drop position itself anymore. Instead, a separate `findOptimalInsertionPosition()` function was introduced.

BREAKING CHANGE: `UploadImageCommand` doesn't verify the type of file anymore. This needs to be done by the caller.
@mlewand mlewand transferred this issue from ckeditor/ckeditor5-upload Oct 9, 2019
@mlewand mlewand added this to the iteration 11 milestone Oct 9, 2019
@mlewand mlewand added status:confirmed type:bug This issue reports a buggy (incorrect) behavior. package:upload labels Oct 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package:upload type:bug This issue reports a buggy (incorrect) behavior.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants