fix: Cannot comment in code blocks, closes #6154

This commit is contained in:
Tom Moor
2023-11-16 19:48:22 -05:00
parent 67a1033ded
commit 1ba8e756d9

View File

@@ -71,7 +71,7 @@ export default class ExtensionManager {
// in the schema for the current editor.
nodes[i].marks = nodes[i].marks
.split(" ")
.filter((m: string) => Object.keys(nodes).includes(m))
.filter((m: string) => Object.keys(this.marks).includes(m))
.join(" ");
}
}