Skip to content

fix: restore editor paste menu and PDF reflow - #266

Open
PathGao wants to merge 5 commits into
alecdotdev:masterfrom
PathGao:codex/fix-editor-context-menu-and-pdf
Open

fix: restore editor paste menu and PDF reflow#266
PathGao wants to merge 5 commits into
alecdotdev:masterfrom
PathGao:codex/fix-editor-context-menu-and-pdf

Conversation

@PathGao

@PathGao PathGao commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Fixes #261

  • let Monaco receive editor context-menu events, retaining its native Paste action
  • remove stale measured fold heights during PDF printing so reflowed content occupies its actual height
  • preserve collapsed fold sections in print

Tests:

  • npm test
  • npm run check
  • cargo test --quiet

@PathGao
PathGao marked this pull request as ready for review July 28, 2026 09:43
@PathGao

PathGao commented Jul 29, 2026

Copy link
Copy Markdown
Contributor Author

@alecdotdev This branch has been rebased onto the latest #260 branch and force-pushed. Validation passed: node --test --import tsx scripts/issue261EditorPdf.test.ts, npm test, and npm run check. Please merge in this order: #254#258#260#266.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

paste of mouse and export in pdf

1 participant