Fix ResolveInlineFormatRule

pull/13/head
singerdmx 4 years ago
parent 8dfb2f3d4b
commit d9ccbc51b3
  1. 2
      lib/models/rules/format.dart

@ -101,7 +101,7 @@ class ResolveInlineFormatRule extends FormatRule {
@override @override
Delta applyRule(Delta document, int index, Delta applyRule(Delta document, int index,
{int len, Object data, Attribute attribute}) { {int len, Object data, Attribute attribute}) {
if (attribute.scope != AttributeScope.BLOCK) { if (attribute.scope != AttributeScope.INLINE) {
return null; return null;
} }

Loading…
Cancel
Save