feat: Allow embeds to be used inside tables (#5315)

This commit is contained in:
Tom Moor
2023-05-07 21:05:54 -04:00
committed by GitHub
parent 738fa55e12
commit a0df79ea5a
8 changed files with 23 additions and 17 deletions

View File

@@ -18,7 +18,7 @@ export default class TableCell extends Node {
get schema(): NodeSpec {
return {
content: "paragraph+",
content: "(paragraph | embed)+",
tableRole: "cell",
isolating: true,
parseDOM: [{ tag: "td" }],