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

Image size is not correctly handled in DTRichTextEditor #18

Open
ftkghost opened this issue Aug 8, 2016 · 0 comments
Open

Image size is not correctly handled in DTRichTextEditor #18

ftkghost opened this issue Aug 8, 2016 · 0 comments

Comments

@ftkghost
Copy link

ftkghost commented Aug 8, 2016

Repro steps:

  1. Copy rich text content from a web page with text and image (image should be wider than DTRichTextEditor width).
  2. Paste it to DTRichTextEditor (Parse the copied "Apple Web Archive pasteboard type" with DTWebArchieve, then create NSAttributeString with DTWebArchieve).

Expected:
The image should fit in DTRichTextEditor

Actual:
The image is not property resized, part of the image is cut by DTRichTextEditor bounds.

@ftkghost ftkghost changed the title Image layout is not correctly handled Image size is not correctly handled in DTRichTextEditor Aug 8, 2016
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

1 participant