Skip to content

Commit

Permalink
let the DTTextAttachment be a subclass of the NSTextAttachment
Browse files Browse the repository at this point in the history
  • Loading branch information
lucky781123 committed May 16, 2022
1 parent b664664 commit 7908fee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/Source/DTTextAttachment.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ typedef NS_ENUM(NSUInteger, DTTextAttachmentVerticalAlignment)
/**
An object to represent an attachment in an HTML/rich text view.
*/
@interface DTTextAttachment : NSObject <NSCoding>
@interface DTTextAttachment : NSTextAttachment
{
CGSize _displaySize; // the display dimensions of the attachment
CGSize _originalSize; // the original dimensions of the attachment
Expand Down

0 comments on commit 7908fee

Please sign in to comment.