Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"fumadocs-twoslash": "^3.1.12",
"fumadocs-typescript": "^5.1.1",
"fumadocs-ui": "npm:@fumadocs/base-ui@16.5.0",
"katex": "^0.16.11",
"katex": "^0.18.9",
"lib0": "1.0.0-rc.22",
"lucide-react": "^0.562.0",
"mathjax-full": "^3.2.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"@blocknote/math-block": "latest",
"@blocknote/xl-docx-exporter": "latest",
"@blocknote/xl-multi-column": "latest",
"katex": "^0.16.11"
"katex": "^0.18.9"
},
"pro": true
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@blocknote/math-block": "latest",
"@blocknote/xl-docx-exporter": "latest",
"@blocknote/xl-multi-column": "latest",
"katex": "^0.16.11"
"katex": "^0.18.9"
},
"devDependencies": {
"@types/react": "^19.2.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"@blocknote/math-block": "latest",
"@blocknote/xl-multi-column": "latest",
"@blocknote/xl-odt-exporter": "latest",
"katex": "^0.16.11"
"katex": "^0.18.9"
},
"pro": true
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@blocknote/math-block": "latest",
"@blocknote/xl-multi-column": "latest",
"@blocknote/xl-odt-exporter": "latest",
"katex": "^0.16.11"
"katex": "^0.18.9"
},
"devDependencies": {
"@types/react": "^19.2.3",
Expand Down
4 changes: 3 additions & 1 deletion packages/core/src/editor/Block.css
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,9 @@ NESTED BLOCKS
}

/* Additional right padding for equation numbers. */
.bn-block-content .bn-preview-container .katex-html:has(> .tag) {
.bn-block-content
.bn-preview-container
.katex-html:has(> :is(.tag, .katex-tag)) {
box-sizing: border-box;
width: max-content;
min-width: 100%;
Expand Down
2 changes: 1 addition & 1 deletion packages/math-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"@blocknote/core": "workspace:^",
"@blocknote/react": "workspace:^",
"@handlewithcare/prosemirror-inputrules": "^0.1.4",
"katex": "^0.16.11",
"katex": "^0.18.9",
"prosemirror-model": "^1.25.11",
"prosemirror-state": "^1.4.4"
},
Expand Down
44 changes: 0 additions & 44 deletions patches/katex@0.16.47.patch

This file was deleted.

2 changes: 1 addition & 1 deletion playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@blocknote/xl-multi-column": "workspace:^",
"@blocknote/xl-odt-exporter": "workspace:^",
"@blocknote/xl-pdf-exporter": "workspace:^",
"katex": "^0.16.11",
"katex": "^0.18.9",
"@emotion/react": "11.14.0",
"@emotion/styled": "11.14.1",
"@liveblocks/client": "^3.17.0",
Expand Down
4 changes: 2 additions & 2 deletions playground/src/examples.gen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1159,7 +1159,7 @@ export const examples = {
"@blocknote/math-block": "latest",
"@blocknote/xl-docx-exporter": "latest",
"@blocknote/xl-multi-column": "latest",
katex: "^0.16.11",
katex: "^0.18.9",
} as any,
pro: true,
},
Expand Down Expand Up @@ -1187,7 +1187,7 @@ export const examples = {
"@blocknote/math-block": "latest",
"@blocknote/xl-multi-column": "latest",
"@blocknote/xl-odt-exporter": "latest",
katex: "^0.16.11",
katex: "^0.18.9",
} as any,
pro: true,
},
Expand Down
Loading
Loading