cherrytree icon indicating copy to clipboard operation
cherrytree copied to clipboard

Collapsable Text Selections

Open ventolinmx opened this issue 2 years ago • 3 comments

It would be great to have collapsable sections of text inside a node where users could select a piece of text and hide it and expand it with a little [+] button. This helps to read different parts of a note at the same time that are big. For example, suppose I have on my note a title and a general description. Then I have many different sections below but on each I would like to refer constantly to the general description because it has an important definition or something. This way i can make the description visible and navigate through the rest of the collapsed contents without scrolling too much. Also it would help to hide less relevant, detailed or redundant info and keep only the main sections in view that would help skim through the contents more efficiently.

ventolinmx avatar Sep 24 '23 18:09 ventolinmx

I concur. Some function similar to html's

<details>
    <summary>Title here</summary>
    Content here
</details>

guidomz avatar Oct 15 '23 01:10 guidomz

Yes! Word does this (using headings) and it is extremely useful for very long text bodies. (my HUGE todo list) https://support.microsoft.com/en-us/office/collapse-or-expand-parts-of-a-document-701786e0-95e2-40bf-bfe5-f0233cd3520c I hate having to copy to Word just for this feature and do my editing there and then copy it back to Cherry tree.

Please implement this - the headings are already there (h1,h2,h3) make them collapsible please! I will make a large donation!

RFImages avatar Nov 14 '23 11:11 RFImages

I am noting other requests and curious where (if?) this might be in the queue

https://github.com/giuspen/cherrytree/issues/2389

https://github.com/giuspen/cherrytree/issues/2026

RFImages avatar Mar 30 '24 10:03 RFImages