Update AutoExitBlockRule

pull/13/head
singerdmx 4 years ago
parent 8549475c2b
commit 3b0225a493
  1. 4
      lib/models/rules/insert.dart

@ -155,8 +155,8 @@ class AutoExitBlockRule extends InsertRule {
return null; return null;
} }
// retain(1) should be '\n', set it with no attribute // retain(1) should be '\n', set it with no attribute (default to null)
return Delta()..retain(index)..retain(1, {}); return Delta()..retain(index)..retain(1);
} }
} }

Loading…
Cancel
Save