Skip to content

Commit

Permalink
Save state when task-item is updated in View mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Zyten committed Sep 14, 2023
1 parent e38cd8a commit f17e472
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wiki/public/js/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ const editor = new Editor({
TaskList,
TaskItem.configure({
nested: true,
//Save state when task-item is updated in View mode
onReadOnlyChecked: () => true,
}),
],
inputRules: [disableMarkdownShortcut("#", "#")],
Expand Down

0 comments on commit f17e472

Please sign in to comment.