Closed hstdt closed 7 years ago
Before: After:
👍
In the future, though, be a bit careful about your pull requests -- your changes in RichTextEditor.m
from #8 showed up here!
@Deadpikle
When saving attributedString to rtfd data,attachmentBoundsForTextContainer
in RichTextImageAttachment
will lost, but NSKeyedArchiver
works well(slower).
Maybe this is not the best way of solving image size..😓
@hstdt Perhaps there is something you/we could do with DTCoreText to save and load the text with attachment? At the very least, you could save it as HTML more easily that way. Something to look into...hmm...
See #11.
To show large size images, here's my idea of resize.