diff --git a/lib/models/documents/attribute.dart b/lib/models/documents/attribute.dart index 1e2cb97b..cd152e53 100644 --- a/lib/models/documents/attribute.dart +++ b/lib/models/documents/attribute.dart @@ -202,8 +202,8 @@ class StrikeThroughAttribute extends Attribute { StrikeThroughAttribute() : super('strike', AttributeScope.INLINE, true); } -class FontAttribute extends Attribute { - FontAttribute(double val) : super('font', AttributeScope.INLINE, val); +class FontAttribute extends Attribute { + FontAttribute(String val) : super('font', AttributeScope.INLINE, val); } class SizeAttribute extends Attribute {