giuspen / cherrytree

cherrytree
https://www.giuspen.net/cherrytree/
Other
3.31k stars 456 forks source link

Remove formatting globally ? #2346

Closed repsorp closed 10 months ago

repsorp commented 10 months ago

Is there a way to completely remove formatting (Shift+Ctrl+R) globally, I mean "All the tree" ?

giuspen commented 10 months ago

No it's pretty dangerous to do this blindly. If you don't have images/codeboxes/tables/latex there is a command in the tree to change all the nodes to plain text though and then you can return to rich text later, that will do. Note you will also lose the links target (retain the link name)

repsorp commented 10 months ago

Change Node Properties > Node Type > Plain Text Apparently doesn't remove the "Text Color Background"...

My problem is that I'd like to change a "Light Style Scheme" for a "Dark Style Scheme" but "Text Color Background" also needs to be modified globally for legibility...

giuspen commented 10 months ago

The plain text is following its own theme or style scheme. Go to the preferences dialog, tab Theme. Under the Style Schemes choose an existing one or a customisable user-1 or user-2.

repsorp commented 10 months ago

Thanks but doesn't solve the problem of "Text Color Background" (Shift+Alt+B) who can't be modified globally.

giuspen commented 10 months ago

The plain text doesn't support a background tag, doesn't support any tag, has only global properties associated to the whole tree. Maybe use screenshots to better describe your issue.

repsorp commented 10 months ago

Node Properties > Node Type has been set to "Plain Text" 2023-09-10 22-38-51

However "Text Color Background" (Shift+Alt+B) is still active

2023-09-10 22-37-40

giuspen commented 10 months ago

Yes but you changed the property of the node named ANDROID, not of all the children. Not of createTarFork... In the right click menu, not the properties of the node, there's a command to change the syntax of the children (node type) to be the same of the parent. Right click on the node ANDROID and try that.

repsorp commented 10 months ago

It's working fine now but losing all the links target is a bummer :-( Unfortunately I'll have to stick to the light theme Thanks for your help