Why is links around images not supported? #265

Closed
MattKiazyk opened this Issue Jan 3, 2013 · 1 comment

Projects

None yet

2 participants

@MattKiazyk

line 286/314 of DTAttributedTextContentView.m sets the link url to nil.

Is there a reason why we can't have href's around img src?

@odrobnik
Collaborator
odrobnik commented Jan 3, 2013

Those ARE supported. You provide your own subviews for all text attachments, which includes images. The line you quote makes sure that there is no gray rounded overlay from DTLinkButton (or other custom subview) added. Instead you would have a subview that handles the link directly. See DTLinkButton's use in the delegate.

@odrobnik odrobnik closed this Jan 3, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment