Squire icon indicating copy to clipboard operation
Squire copied to clipboard

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

Open paulflo150 opened this issue 11 months ago • 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.

https://github.com/fastmail/Squire/assets/8136504/7dd38970-b0b8-4e1f-9008-98422f27c091

Thanks!

paulflo150 avatar Mar 26 '24 04:03 paulflo150