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

Drag-drop or copy-pasted images break the editor #100

Closed
DeZZar opened this issue May 31, 2019 · 1 comment
Closed

Drag-drop or copy-pasted images break the editor #100

DeZZar opened this issue May 31, 2019 · 1 comment

Comments

@DeZZar
Copy link

DeZZar commented May 31, 2019

Hi @JiHong88,

I have found a couple of issues with images.

First is that any images that are either copy-pasted or dragged and dropped into the editor appear to break all the standard image functionality. I.e. none of the resize works or any other image features. To replicate just find any online content that contains an image, copy it and paste it into the editor. You'll find attempting to resize to say 25% wont work.

Second is that you dont seem to be able to place the cursor at the beginning of the image and move it down. When an image is inserted as the first thing into the editor an empty pararaph is created on top of the image (I suspect as a way to allow the cursor to be placed above the image for new lines) which cannot be removed (unless you direct edit HTML). However, it would be far better to remove the auto addition of the paragraph and allow the user to place the cursor at the start of the image where pressing enter would move the image down (create paragraphs above).

Regards,
Derrick

@JiHong88
Copy link
Owner

JiHong88 commented Jun 1, 2019

Hi @DeZZar

Thank you very much for your feedback.

Fixed in v2.15.3

Thank you.

@JiHong88 JiHong88 closed this as completed Jun 9, 2019
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

No branches or pull requests

2 participants