Skip to content

[ASEditableTextNode] First line is eating emojis #120

Open
@garrettmoon

Description

@garrettmoon

From @logicsb on January 30, 2016 20:35

Hi, the ASEditableTextNode component is eating emojis in the first line when using custom font styles

// style of the attributedText
class func feedPostCellContent () -> [String:AnyObject] { // Content
        var style = [NSFontAttributeName: UIFont(name:"MyriadPro-Light", size:14.0)!, NSForegroundColorAttributeName: UIColor.blackColor()]
        let paragraph = NSMutableParagraphStyle()
        paragraph.lineSpacing = 8
        style[NSParagraphStyleAttributeName] = paragraph

        return style
 }

Screenshot:
screen shot 2016-01-30 at 6 24 50 pm

Copied from original issue: facebookarchive/AsyncDisplayKit#1154

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions