Skip to content

Commit f17e472

Browse files
committed
Save state when task-item is updated in View mode
1 parent e38cd8a commit f17e472

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

wiki/public/js/editor.js

+2
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@ const editor = new Editor({
115115
TaskList,
116116
TaskItem.configure({
117117
nested: true,
118+
//Save state when task-item is updated in View mode
119+
onReadOnlyChecked: () => true,
118120
}),
119121
],
120122
inputRules: [disableMarkdownShortcut("#", "#")],

0 commit comments

Comments
 (0)