Small refactor

pull/13/head
singerdmx 4 years ago
parent 1c64c1a3fe
commit 607e5ded44
  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, null); return Delta()..retain(index)..retain(1);
} }
} }

Loading…
Cancel
Save