feat: Allow commenting in code (#5953)

* Allow commenting in code marks

* Allow commenting in code blocks

* Floating comment toolbar in code block
This commit is contained in:
Tom Moor
2023-10-06 09:56:59 -04:00
committed by GitHub
parent ac319de1df
commit 9924fa6621
10 changed files with 42 additions and 27 deletions

View File

@@ -150,7 +150,7 @@ export default class CodeFence extends Node {
},
},
content: "text*",
marks: "",
marks: "comment",
group: "block",
code: true,
defining: true,