Skip to content

Commit 838fcf5

Browse files
Fix: Can now convert paragraph to task and begin with task completed (Resolves #2109) (#2110)
1 parent 60803ed commit 838fcf5

File tree

2 files changed

+61
-205
lines changed

2 files changed

+61
-205
lines changed

super_editor/lib/src/default_editor/tasks.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ class ConvertParagraphToTaskCommand implements EditCommand {
636636
final taskNode = TaskNode(
637637
id: existingNode.id,
638638
text: existingNode.text,
639-
isComplete: false,
639+
isComplete: isComplete,
640640
);
641641

642642
executor.executeCommand(

0 commit comments

Comments
 (0)