Skip to content

Fix Resume and the left column on centered themes - #38

Merged
cursor[bot] merged 1 commit into
mainfrom
cursor/toc-reader-error-fixes-32da
Oct 1, 2026
Merged

cursor[bot] merged 1 commit into
mainfrom
cursor/toc-reader-error-fixes-32da

Conversation

@matthummel-pa

Copy link
Copy Markdown
Owner

What does this PR do?

Fixes two reader-facing bugs in 1.6.14.

  • Resume stays hidden until this visit has a saved heading. The button’s layout rule was overriding the hidden attribute, so Resume showed on every outline.
  • Fixed left keeps an 18rem column on themes that center content, including Twenty Twenty-Five. Closing the outline leaves a readable Show outline control.

Show page from 1.6.12–1.6.13 is unchanged.

Type of change

  • Bug fix
  • New feature
  • Documentation
  • Refactor / chore

How was this tested?

WordPress 6.8 and PHP 8.2 in WordPress Playground, Twenty Twenty-Five, as a reader on a published post with the block (fixedLeft, Focus, bookmark, close).

  • Wide screen: the outline is 288px, the article is not covered, there is no inner scrollbar, and the page canvas does not shift.
  • Resume is hidden until a heading is saved, then sits on the same row as Focus, collapse, and close. Clicking it jumps to that heading and hides again.
  • Focus turns the post into a sheet and leaves Show page on screen. Show page restores the outline.
  • Close leaves Show outline fully inside the left column. Restore brings the outline back.
  • At 800px the outline returns to the top of the content.
  • Settings → TOCguide: one section shows at a time, and a type size updates the preview before save.
  • No PHP notices on the post or the settings screen. No console errors.

Left outline beside the post
Focused reading with Show page

Checklist

  • npm run lint:js and npm run lint:css pass for the changed files
  • Front-end TOC links scroll to the correct headings
  • No PHP notices with WP_DEBUG on
  • I did not commit node_modules/ or build/
  • Docs / readme.txt / CHANGELOG.md updated if behavior changed
  • Text domain is the literal string tocguide (not a variable)

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

Resume stays hidden until a heading is saved. The left outline fills its column when a theme centers the content, and Show outline stays readable after close.

Co-authored-by: Matt Hummel <matthummel@proton.me>
@cursor
cursor Bot merged commit dd48155 into main Oct 1, 2026
3 checks passed
@cursor

cursor Bot commented Oct 1, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_6b8bc516-264e-4a53-a6c5-985276ee8f30)

This branch was successfully deployed

1 active deployment
github-pages — dd481558 Deployed Oct 1, 2026 by github-pages[bot] via deploy #49
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.

2 participants