fastmail/Squire

getFontInfo returns undefined for fontFamily and fontSize when they are both set on the same selection

Closed this issue · 0 comments

Hello,
When setFontFace and setFontSize are called on the same selection getFontInfo returns undefined for both fontFamily and fontSize regardless of the order they are called in. Deselecting and selecting the same selection again returns the correct information.

I am using demo.html and v2.2.8, please see the attached video.

2024-03-26_00-26-16.mp4

Thanks!