You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the Collapsible Headings extension enabled, copy-pasting a collapsed heading does not work.
Steps to reproduce:
make a heading and collapse it
copy the collapsed heading
paste it below any collapsed heading
The pasted heading (and any collapsed contents) is not displayed! However, if you save and then reload the notebook, the heading is displayed correctly.
The text was updated successfully, but these errors were encountered:
Hmm. I guess this might be something to do with the new heading cell not being rendered when it's pasted. I've managed to reproduce this on mobile, but will need to debug a little better when I get back to a desktop. Thanks for reporting!
jcb91
added a commit
to jcb91/jupyter_contrib_nbextensions
that referenced
this issue
Sep 25, 2017
yeah, so this is because when the cell gets added, it's hidden by the (existing) heading, then when it gets rendered, the update only considers cells below the rendering one (since it assumes the cell being rendered is visible). The simplest fix is to simply always consider all cells when updating on a render event.
With the Collapsible Headings extension enabled, copy-pasting a collapsed heading does not work.
Steps to reproduce:
The pasted heading (and any collapsed contents) is not displayed! However, if you save and then reload the notebook, the heading is displayed correctly.
The text was updated successfully, but these errors were encountered: