diff --git a/wiki/public/js/editor.js b/wiki/public/js/editor.js index c06fd7df..15c119c1 100644 --- a/wiki/public/js/editor.js +++ b/wiki/public/js/editor.js @@ -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("#", "#")],