-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
Description
Describe the bug
On version 7.2.0 you can create a new font element and set the font to 10pt or 10px without any issue, however on on 7.3.3 the font-size attribute gets converted to float, note this line
svgedit/packages/svgcanvas/core/undo.js
Line 192 in 2f9f6e2
elem.setAttribute(attr, isNaN(parseFloat(newValue)) ? newValue : parseFloat(newValue)) |
which use to be
svgedit/packages/svgcanvas/undo.js
Line 192 in f477598
elem.setAttribute(attr, newValue) |