-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mac OS - Emoji scramble #2244
Comments
Seems to only happen with certain emoji/unicode characters. 😀foo is fine |
It looks like emojis that are 4 bytes are fine but the issue only appears with 3 bytes emojis: https://apps.timwhitlock.info/emoji/tables/unicode |
Appears to be an upstream bug in React-Ace, which is used for that editor panel. Can be reproduced in the online demo http://securingsincity.github.io/react-ace/ |
Which I guess is a React Wrapper around "Ace" which is a vanilla Javascript editor, with the same issue as well. |
😢 ajaxorg/ace#4142 FWIW |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions. |
Still an issue. |
As suggested by the presence of an upstream issue (#2244 (comment)), this also affects Windows (and presumably any other platform using ace). |
With some minimal playing around, the Code Mirror editor (#3284) seems to solve the issue, at least with characters that I've observed breaking in Ace, as well as the ones listed in ajaxorg/ace#4142. One oddity that I noticed is that compound emoji (?; not sure what to call them) are split into their components in the editor, but rendered as expected in the preview. Some examples; 🤦♀️, 👮♀️, 👨⚕️, 👨🌾. Screenshot: I'm using the windows 1.0.220 build. |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions. |
Not yet solved but looks like it's getting there. |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions. |
Not resolved (just tested with 1.0.233 on Mac). |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions. |
Not resolved on Joplin 1.0.245 (prod, darwin) |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions. |
Resolved in Joplin 1.2.6 (prod, darwin) |
Environment
Joplin version:
Platform: macOS Mojave 10.14.6
Steps To Reproduce
|foo
✅foo
Expected: cursor works as usual.
Actual: The cursor has issues.
|
represents the cursor:✅fo|o
.✅|f
When deleting using backspace, it deletes the character on the right of the cursor.
Logfile
console:
log.txt:
log.txt
The text was updated successfully, but these errors were encountered: