We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9b36b1 commit 08b5510Copy full SHA for 08b5510
packages/core/src/blocks/TableBlockContent/TableBlockContent.ts
@@ -114,6 +114,17 @@ const TableParagraph = Node.create({
114
115
parseHTML() {
116
return [
117
+ {
118
+ preserveWhitespace: "full",
119
+ // set this rule as high priority so it takes precedence over the default paragraph rule,
120
+ // but only if we're in the tableContent context
121
+ priority: 210,
122
+ context: "tableContent",
123
+ tag: "p",
124
+ getAttrs: (_element) => {
125
+ return {};
126
+ },
127
128
{
129
tag: "p",
130
getAttrs: (element) => {
0 commit comments