nnhubbard / ZSSRichTextEditor

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

Input text after insert image , scrollview will shock #160

Open wellswong1990 opened 7 years ago

wellswong1990 commented 7 years ago

After insert image, bring the focus to the bottom of the image, then use your finger scroll up, input some text at the botoom of the image, scrollview will shock, how to fix it?

wellswong1990 commented 7 years ago

I can shoot a video for show my steps

wellswong1990 commented 7 years ago

(void)viewDidLoad { [super viewDidLoad];

self.title = @"Standard";

//Set Custom CSS NSString *customCSS = @""; [self setCSS:customCSS];

self.alwaysShowToolbar = YES; self.receiveEditorDidChangeEvents = YES;

// Export HTML self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"Export" style:UIBarButtonItemStylePlain target:self action:@selector(exportHTML)];

// Set the base URL if you would like to use relative links, such as to images. self.baseURL = [NSURL URLWithString:@"http://www.zedsaid.com"]; self.shouldShowKeyboard = NO;

} This is my setting; I try to export my HTML, If I enter a return my new text will put into image

LuKane commented 7 years ago

Do you fix that?

nnhubbard commented 7 years ago

This has not yet been fixed. You are welcome to submit a pull request.

FWBGitHub commented 6 years ago

Do you fix that?