Skip to content
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

AUI-3148 #837

Closed
wants to merge 2 commits into from
Closed

AUI-3148 #837

wants to merge 2 commits into from

Conversation

jonmak08
Copy link

@jonmak08 jonmak08 commented May 11, 2018

Hey @liferay,

Attached is an update for http://issues.liferay.com/browse/AUI-3148.

Prelude

A customer noted to us that users are unable to drag and drop text or images internally in AlloyEditor. I verified that this is not only the case in the portal but on alloyeditor.com as well.

Issue

https://issues.liferay.com/browse/AUI-3148

Solution

I made it so the preventDefault is only fired by AlloyEditor's dragdrop function when we need to specifically override the behavior, otherwise the default CKEditor dragDrop should be use.

Test

Tested on Chrome, Firefox, MS Edge, and IE11.

Please let me know if you have any questions. Thanks!

@jonmak08
Copy link
Author

/cc @jbalsas

@jbalsas
Copy link
Contributor

jbalsas commented May 14, 2018

Hey @jonmak08, @gregory-bretall, could you please create an issue in this repo and remove the AUI- reference in the commits? As it can be reproduced in the standalone AlloyEditor distribution, it's better to avoid mixing projects and having to jump from one place to another to find the issue.

I'm keeping this open and I'll do this myself on wednesday (tomorrow is a bank holiday here) if you guys don't have time for it.

@gregory-bretall
Copy link
Contributor

gregory-bretall commented May 14, 2018

Hi @jbalsas I created an issue for this in the AUI repo. Should I resend this PR with references to the AUI project removed to the AUI repo? Issue is found here #839

@jbalsas
Copy link
Contributor

jbalsas commented May 14, 2018

Oh, I see. Here we should just refer to the issue in this repo. The commit messages should read as:

Do not prevent default drop behavior unless a file is being dropped from outside of the editor.

Fixes #839

As this has nothing to do with AlloyUI

@gregory-bretall
Copy link
Contributor

Thanks @jbalsas I resent it with the messages changed to the AlloyEditor repo, PR is here #840

@jbalsas
Copy link
Contributor

jbalsas commented May 17, 2018

Superseeded by #840

@jbalsas jbalsas closed this May 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants