Skip to content

Commit

Permalink
Merge pull request #1253 from lucky781123/1.6.26-HuiLiu-fix#1249
Browse files Browse the repository at this point in the history
let the DTTextAttachment be a subclass of the NSTextAttachment
  • Loading branch information
odrobnik authored Sep 30, 2022
2 parents 51b501b + 7908fee commit 9d2d4d2
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 9d2d4d2

Please sign in to comment.