ZSSRichTextEditor icon indicating copy to clipboard operation
ZSSRichTextEditor copied to clipboard

Image is not dislay

Open peebits opened this issue 9 years ago • 9 comments

Please help

peebits avatar Jul 11 '16 10:07 peebits

+1

willptswan avatar Jul 15 '16 10:07 willptswan

I have an issue with images not displaying, adding the first image is fine but then trying to add any more images just goes through the motions without displaying anything. Also updating images doesn't work.

willptswan avatar Jul 15 '16 10:07 willptswan

i launch the demo, also have this problem

lehom avatar Aug 23 '16 03:08 lehom

@lehom have a look at this and see if it helps you. https://github.com/nnhubbard/ZSSRichTextEditor/issues/134

willptswan avatar Aug 23 '16 11:08 willptswan

Try removing [webView stopLoading] from ZSSRichTextEditor.m (- (void)webView:(UIWebView *)webView didFailLoadWithError:(NSError *)error)

In my case some times images went to fail block so other images also stopped loading because of stopLoading method in failure block

imsrc21 avatar Aug 24 '16 12:08 imsrc21

@lehom I am now working on a fix for the images.

willptswan avatar Sep 02 '16 22:09 willptswan

Find him and comment

// element.empty();

hi-as-you avatar Dec 19 '16 07:12 hi-as-you

In my issue is the ATS forbid downloading image, so add following lines in Info.plist.

        <key>NSAppTransportSecurity</key>
	<dict>
		<key>NSAllowsArbitraryLoads</key>
		<true/>
	</dict>

JeromeTW avatar Oct 31 '17 07:10 JeromeTW

+1

czboosj avatar Apr 24 '19 06:04 czboosj