Skip to content

Commit 9d2d4d2

Browse files
authored
Merge pull request #1253 from lucky781123/1.6.26-HuiLiu-fix#1249
let the DTTextAttachment be a subclass of the NSTextAttachment
2 parents 51b501b + 7908fee commit 9d2d4d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Core/Source/DTTextAttachment.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ typedef NS_ENUM(NSUInteger, DTTextAttachmentVerticalAlignment)
7575
/**
7676
An object to represent an attachment in an HTML/rich text view.
7777
*/
78-
@interface DTTextAttachment : NSObject <NSCoding>
78+
@interface DTTextAttachment : NSTextAttachment
7979
{
8080
CGSize _displaySize; // the display dimensions of the attachment
8181
CGSize _originalSize; // the original dimensions of the attachment

0 commit comments

Comments
 (0)