nnhubbard / ZSSRichTextEditor

A beautiful rich text WYSIWYG editor for iOS with a syntax highlighted source view
MIT License
3.78k stars 584 forks source link

insert image method doesn't work, and image will not display!!! #275

Closed SummerHF closed 3 years ago

SummerHF commented 3 years ago

Anyone who can tell me how to solve this problem?

Even in the Demo app, i use this method to insert image

not work too!!!

[self insertImage:@"http://pubtest.edaili.com/product/ios/1599702472.jpg" alt:@""];

i have set App Transport Security Settings but also not work so many problems!!!!

/**
 *  Inserts an image
 *
 *  @param url The URL for the image
 *  @param alt The alt attribute for the image
 */
- (void)insertImage:(NSString *)url alt:(NSString *)alt;
nnhubbard commented 3 years ago

You have an @ in front of the http, is that causing the issue?

SummerHF commented 3 years ago

You have an @ in front of the http, is that causing the issue?

not! why i use demo app and insert a image url but not display, did you found this problem? thank you for replying!!

SummerHF commented 3 years ago

After insert, always get this !!!! WechatIMG380

SummerHF commented 3 years ago

insert a web image url can't show!!!!