Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Section headers in non-rendered MD cells always appear as foldable #53

Closed
OliverEvans96 opened this issue Sep 22, 2018 · 2 comments
Closed

Comments

@OliverEvans96
Copy link

Hi there,

This extension is looking awesome - thanks for the hard work!

I just wanted to report a very minor bug. It seems that when a markdown cell with a section header is in edit mode (not rendered as markdown), that section has a folding triangle next to it in the left area, even when it doesn't have children to display. Clicking the triangle toggles the icon, but has no other effect.

Demonstrated in Section 2. in the following screenshot.

2018-09-21-204052_1596x861_scrot

When the cell is re-rendered, the triangle disappears, but only after selecting another cell.
Similarly, when the cell is un-rendered, the triangle reappears, but only after selecting another cell.

Again, very minor, but thought it would be good to point out in case it comes up again later.

Thanks!
Oliver

echarles pushed a commit to datalayer-externals/jupyterlab-toc that referenced this issue Sep 25, 2018
@ian-r-rose
Copy link
Member

Thanks for the report @OliverEvans96!

@ian-r-rose
Copy link
Member

Fixed by #70.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants