Describe the bug
There's many issues and complaints about how the outline / table of contents feature currently works:
Expected behavior
It should be easy to toggle the table of contents. We should have a good design concept of where and how to display it, both on wide screens with much whitespace left and right to the editor, and on narrow screens without any extra horizontal whitespace.
Screenshots
See linked issues.
Cc @marcoambrosini @nextcloud/designers
Describe the bug
There's many issues and complaints about how the outline / table of contents feature currently works:
display: gridfor the Text editor.content-wrappercontainer and its left and right siblings just to have a container for the outline. This leads to all kinds of problems with printing the document (see printing to pdf: lines cut off at page break #7553) and full width view of documents that contain a table (Markdown table will breake the whole design, if wide-text is enabled and you make the table wide enough to have a scroll bar #7228).Expected behavior
It should be easy to toggle the table of contents. We should have a good design concept of where and how to display it, both on wide screens with much whitespace left and right to the editor, and on narrow screens without any extra horizontal whitespace.
Screenshots
See linked issues.
Cc @marcoambrosini @nextcloud/designers