@rufous/ui 0.2.61 → 0.2.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.cjs +2 -2
- package/dist/main.js +2 -2
- package/package.json +1 -1
package/dist/main.cjs
CHANGED
|
@@ -9644,7 +9644,7 @@ var CustomTaskItem = import_extension_task_item.default.extend({
|
|
|
9644
9644
|
}
|
|
9645
9645
|
}
|
|
9646
9646
|
if (taskDepth === -1) {
|
|
9647
|
-
if (this.editor.storage.taskTodoEnabled
|
|
9647
|
+
if (this.editor.storage.taskTodoEnabled) {
|
|
9648
9648
|
const schema2 = state.schema;
|
|
9649
9649
|
const taskItemType = schema2.nodes.taskItem;
|
|
9650
9650
|
const taskListType = schema2.nodes.taskList;
|
|
@@ -9661,7 +9661,7 @@ var CustomTaskItem = import_extension_task_item.default.extend({
|
|
|
9661
9661
|
}
|
|
9662
9662
|
return false;
|
|
9663
9663
|
}
|
|
9664
|
-
if (this.editor.storage.taskTodoEnabled
|
|
9664
|
+
if (!this.editor.storage.taskTodoEnabled) {
|
|
9665
9665
|
return false;
|
|
9666
9666
|
}
|
|
9667
9667
|
const taskNode = $from.node(taskDepth);
|
package/dist/main.js
CHANGED
|
@@ -9578,7 +9578,7 @@ var CustomTaskItem = TaskItem.extend({
|
|
|
9578
9578
|
}
|
|
9579
9579
|
}
|
|
9580
9580
|
if (taskDepth === -1) {
|
|
9581
|
-
if (this.editor.storage.taskTodoEnabled
|
|
9581
|
+
if (this.editor.storage.taskTodoEnabled) {
|
|
9582
9582
|
const schema2 = state.schema;
|
|
9583
9583
|
const taskItemType = schema2.nodes.taskItem;
|
|
9584
9584
|
const taskListType = schema2.nodes.taskList;
|
|
@@ -9595,7 +9595,7 @@ var CustomTaskItem = TaskItem.extend({
|
|
|
9595
9595
|
}
|
|
9596
9596
|
return false;
|
|
9597
9597
|
}
|
|
9598
|
-
if (this.editor.storage.taskTodoEnabled
|
|
9598
|
+
if (!this.editor.storage.taskTodoEnabled) {
|
|
9599
9599
|
return false;
|
|
9600
9600
|
}
|
|
9601
9601
|
const taskNode = $from.node(taskDepth);
|