Skip to content
Merged
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 .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ runs:
using: composite
steps:
- name: Install pnpm
uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10

- name: Setup node
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"type": "module",
"version": "0.64.2",
"private": true,
"packageManager": "pnpm@11.18.0",
"packageManager": "pnpm@11.20.0",
"scripts": {
"dev": "pnpm --filter ./website run dev",
"build": "pnpm -r run build",
Expand All @@ -27,7 +27,7 @@
},
"devDependencies": {
"@meowdown/eslint-rules": "workspace:*",
"@ocavue/eslint-config": "^4.13.0",
"@ocavue/eslint-config": "^4.13.1",
"@ocavue/tsconfig": "^0.7.1",
"@types/node": "^24.0.0",
"@vitest/coverage-v8": "^4.1.10",
Expand All @@ -36,7 +36,7 @@
"knip": "^6.31.0",
"monorepo-typescript-references": "^1.1.2",
"nano-staged": "^1.0.2",
"oxfmt": "^0.61.0",
"oxfmt": "^0.62.0",
"pkg-pr-new": "^0.0.86",
"playwright": "^1.62.0",
"simple-git-hooks": "^2.13.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"build": "cmk && tsdown"
},
"dependencies": {
"@base-ui/react": "^1.6.0",
"@base-ui/react": "^1.7.0",
"@meowdown/core": "workspace:*",
"@ocavue/utils": "^1.7.0",
"@prosekit/core": "^0.13.0-beta.7",
Expand Down
10 changes: 4 additions & 6 deletions packages/react/src/components/markdown-view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -651,12 +651,10 @@ function renderInline(node: ProseMirrorNode, context: RenderContext): ReactNode
)
// Sort each chunk's marks into ProseMirror's canonical order so the grouping
// and nesting match the editor.
const runs = chunks.map(
([from, to, marks]): InlineRun => ({
text: text.slice(from, to),
marks: Mark.setFrom(marks),
}),
)
const runs = chunks.map(([from, to, marks]): InlineRun => ({
text: text.slice(from, to),
marks: Mark.setFrom(marks),
}))
return renderRuns(runs, 0, context)
}

Expand Down
Loading
Loading