If I set the value of "WholeCellGroupOpener" to True, the cell with "Input" CellStyle can be folded with a mouse click. I wonder if there is a way that we can set "WholeCellGroupOpener" only for cells that have "Section" or "Chapter" CellStyle, and not be working for "Input" CellStyle.
I've tried "WholeCellGroupOpener" -> If[CellStyle[] != "Input", True, False], but it didn't work.
WholeCellGroupOpenercommand is not documented. – user64494 Feb 17 '24 at 08:29