xiabob
xiabob
``` __weak __typeof(self)weakSelf = self; ctx[@"contentUpdateCallback"] = ^(JSValue *msg) { if (weakSelf.receiveEditorDidChangeEvents) { [weakSelf editorDidChangeWithText:[weakSelf getText] andHTML:[weakSelf getHTML]]; } [weakSelf checkForMentionOrHashtagInText:[weakSelf getText]]; }; ``` try this,it works for me.is three...
@william205 Thank you for your reply, my question is this:    but check with instruments, no leak happened   why these happened?
maybe also work for #13
Very strange, I actually didn't make any changes to this part of the content, but the formatting did change. I've pull a new commit, reformatting the code.
I tested it on my Android device, and it worked as expected.