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
{{ message }}
Repository navigation
Support Initially Expanded Accordions (<details open>) #9509
Nextcloud Notes already supports collapsible sections (accordions) using the HTML <details> and <summary> elements.
However, these sections are always displayed in a collapsed state by default.
In HTML, the open attribute allows a <details> element to be expanded immediately when the page is loaded.
For example:
<detailsopen><summary>Title</summary>
Content that is visible by default.
</details>
Currently, there appears to be no way to achieve this behavior in Nextcloud Notes.
Suggested Improvement
Please support the open attribute for <details> elements, allowing accordion sections to be expanded by default.
The expected behavior would be:
<details> — collapsed by default.
<details open> — expanded by default.
Users can still manually expand or collapse either type.
The initial expanded or collapsed state is preserved when reopening the note.
Expected Benefit
This would provide greater flexibility when organizing longer notes with collapsible sections.
Some sections are intended to remain visible by default, while others should only be expanded when needed. Supporting both behaviors would make accordions considerably more useful and bring Nextcloud Notes closer to standard HTML functionality.
@blizzz it might have been reverted by my cleanup PRs, would have to check. Also, there was never a way in UI to actually insert a <details open> element, apart from uploading a Markdown file that already contains it.
Activity
blizzz commentedon Nov 2, 2026
Moving to text app as its component is rendering the contents
blizzz commentedon Nov 2, 2026
Actually this seems to be already implemented within #9049
Can you check again on NC 35?
mejo- commentedon Nov 3, 2026
@blizzz it might have been reverted by my cleanup PRs, would have to check. Also, there was never a way in UI to actually insert a
<details open>element, apart from uploading a Markdown file that already contains it.anyworx commentedon Nov 7, 2026
blizzz commentedon Nov 9, 2026