anyproto / anytype-ts

Official Anytype client for MacOS, Linux, and Windows
https://anytype.io
Other
3.64k stars 215 forks source link

Fix emoji's baseline #722

Closed LavaCxx closed 1 month ago

LavaCxx commented 1 month ago


Description

There is a problem with the height of emojis entered in different ways, and this modification is to make them look better in multiple formats.

What type of PR is this? (check all applicable)

Related Tickets & Documents

Mobile & Desktop Screenshots/Recordings

before after

Added tests?

Added to documentation?

[optional] Are there any post-deployment tasks we need to perform?

ra3orblade commented 1 month ago

I can't merge this right now as I have this code refactored in a different branch. And need to check how selection works with the emoji as it was display: inline for purpose. By the way the sizes are different on your picture.

LavaCxx commented 1 month ago

I can't merge this right now as I have this code refactored in a different branch. And need to check how selection works with the emoji as it was display: inline for purpose. By the way the sizes are different on your picture.

Actually, this pr is not that important. I personally think that the current emoji selection can be adjusted, such as outputting font emoji instead of images, otherwise it will still encounter the problem of font and image size mismatch.

ra3orblade commented 1 month ago

I can't merge this right now as I have this code refactored in a different branch. And need to check how selection works with the emoji as it was display: inline for purpose. By the way the sizes are different on your picture.

Actually, this pr is not that important. I personally think that the current emoji selection can be adjusted, such as outputting font emoji instead of images, otherwise it will still encounter the problem of font and image size mismatch.

You can't use Apple emoji font because of copyright.