Skip to content

Commit

Permalink
Continue all tasks as unchecked
Browse files Browse the repository at this point in the history
  • Loading branch information
dmsnell committed Aug 10, 2020
1 parent 373d3e4 commit 20c4bc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/note-content-editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ class NoteContentEditor extends Component<Props> {
thisLine.length
);
const identifier = { major: 1, minor: 1 };
const text = prevList[0];
const text = prevList[0].replace('\ue001', '\ue000');
const op = { identifier, range, text, forceMoveMarkers: true };
this.editor.executeEdits('autolist', [op]);

Expand All @@ -369,7 +369,7 @@ class NoteContentEditor extends Component<Props> {

return (
value.slice(0, lineStart) +
prevList[0] +
prevList[0].replace('\ue001', '\ue000') +
event.eol +
value.slice(nextStart)
);
Expand Down

0 comments on commit 20c4bc6

Please sign in to comment.