github zhitongblog/solomd v3.6.1
SoloMD v3.6.1

latest releases: v4.11.11, v4.11.11-wintest, v4.11.10...
3 months ago

v3.6.1 — Hotfix for two v3.6 regressions

Two flows broke in v3.6.0 that my pre-release checks missed. Both fully reverted in v3.6.1; everything else from v3.6.0 (live-edit image/table widgets, AI route, folder memory, watermark toggle) keeps working.

Fixed

  • Image export blank (Save as PNG / Copy as image). Universal — not just Windows. The v3.6 change to pass explicit width / height / windowWidth / windowHeight to html2canvas conflicted with the off-screen render trick (the article sits at left: -10000px); telling html2canvas the window was only 800 px wide put the element outside the captured viewport, so PNGs came back blank. Reverted to default html2canvas auto-sizing.

  • Toolbar dropdowns clicked through to editor. Every dropdown — New / Open / Insert / Copy / Export — opened but clicks fell through to the editor below. The v3.6 overflow-x: auto rule on .toolbar (added for the Mac narrow-window menu-overlap fix #181) caused browsers to escalate overflow-y to auto/clip too, so the absolutely-positioned dropdown menus got clipped at the toolbar bottom. Reverted; the original #181 fix is re-queued for v3.7 with a proper <Teleport> or media-query collapse.

Self-test ran this time

Both flows verified in vite dev via chrome-devtools MCP before the release was tagged:

  • markdownToImageBlob('# Hello…') → 48 KB PNG with valid 89 50 4E 47 signature in 274 ms
  • Click "New" toolbar button → dropdown extends below toolbar (bottom 94.5 vs toolbar bottom 36) and elementFromPoint at the menu center hits a menu BUTTON, not the editor

Apologies for the v3.6.0 regression — that one shipped without me actually exercising the export + dropdown flows. Self-test step is now part of every patch release going forward.

Download

  • Mac: brew upgrade --cask solomd or grab the dmg below
  • Windows / Linux: see Assets

Full Changelog: v3.6.0...v3.6.1

Don't miss a new solomd release

NewReleases is sending notifications on new releases.