Reset font to body font on new line in text editor #209
Unanswered
fralondon83
asked this question in
Q&A
Replies: 1 comment
-
Hi @fralondon83 There seems to be some problems with how fonts are handled. I'm not working on this project atm, due to business prioritizations, but I will keep this in mind. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I’m working on a test editor and I’m trying to achieve a behavior similar to Apple’s Notes app. Specifically, when the user goes to a new line, I want the font to automatically reset to the body font.
I managed to implement something close to this, but I’ve noticed an issue: when I move the cursor and print the font attributes, they appear incorrect, even though the UI displays the correct font. Has anyone encountered a similar problem or knows how to fix this? Any guidance would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions