Skip to content

Conversation

jbmorley
Copy link

I've been seeing text jumping during typing after applying formatting with different font sizes. Reproducing this is a little fiddly, but seems to stem from the fact that the typing attributes don't reliably pick up the style from the underlying NSAttributedString.

This change explicitly sets the typing attributes to match the attributes at the insertion point, failing over to the default editor font if the editor is empty.

@jbmorley
Copy link
Author

Here's the behavior I've been seeing (thanks to @gingerbeardman for the bug report and video):

ea28919b53ad818f.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant