fix editor placeholder bug

This commit is contained in:
Philipinho
2024-07-21 20:50:08 +01:00
parent 89f6311e46
commit 8f3e2ff663

View File

@ -66,7 +66,9 @@ export const mainExtensions = [
if (node.type.name === "detailsSummary") { if (node.type.name === "detailsSummary") {
return "Toggle title"; return "Toggle title";
} }
return 'Write anything. Enter "/" for commands'; if (node.type.name === "paragraph") {
return 'Write anything. Enter "/" for commands';
}
}, },
includeChildren: true, includeChildren: true,
}), }),