Repository navigation
Description
Describe the bug
The new realtime collaboration Markdown/ocNote editor (OpenCloud 8.1.0) has several usability bugs:
@mentions only work for individual users. Keycloak groups are not mentionable (@group/ members of a group).- Pasting Markdown into ocNote does not convert MD syntax into the rich UI. The same paste does auto-render for
.mdfiles. - Text selection is lost when another user makes an update. Selection inside tables is also unreliable.
- The Markdown source view of an
.mdfile is read-only. Direct copy/paste of Markdown into that view should be possible. - Copy currently copies Markdown syntax instead of raw/plain text. Pasting that into a table cell leaves a greyed-out artifact that cannot be removed, is not visible in the source view, and cannot be undone.
- The outline / table of contents does not persist its expanded (uncollapsed) state across reloads, logins, or next views of MD files.
Steps to reproduce
Bug 1 – Mentions only for users, not Keycloak groups
- Open a Markdown/ocNote document in realtime collaboration.
- Type
@and try to mention a user. - Try to mention a Keycloak group (e.g.
/Group) or all members via@group.
Bug 2 – Pasting Markdown does not render in ocNote (works for .md files)
- Copy Markdown-formatted text (e.g.
**bold**,# Heading) from an external source. - Paste it into an ocNote document.
- It is inserted as plain text instead of being parsed into rich formatting.
- Repeat the same paste into a
.mdfile: the Markdown syntax is automatically converted to the rich UI.
Bug 3 – Selection lost on collaborative updates
- Open a document with another user editing at the same time.
- Select text (including inside a table).
- Have the other user make an edit.
- Observe that the selection disappears. Table selection is also unreliable.
Bug 4 – Markdown source view is read-only
- Open a Markdown file.
- Switch to the Markdown source view.
- Try to type or paste Markdown into that view.
Bug 5 – Copy includes Markdown syntax and corrupts table cells
- Select and copy formatted text in the editor.
- Paste it into a table cell.
- The cell becomes greyed out / stuck (hidden Markdown syntax, not visible in UI or source view).
- Undo / remove does not work.
Bug 6 – Outline expanded state is not persisted
- Open a Markdown document.
- Expand (uncollapse) the outline / table of contents.
- Close the document, log out, or open another MD file, then come back.
- The outline is collapsed again.
Expected behavior
@mentions work for individual users and Keycloak groups (@userfor members and@groupfor the full group).- Pasted Markdown is automatically converted to the rich UI in ocNote as well (same behavior as for
.mdfiles). - Selections (including inside tables) survive concurrent edits from other users.
- The Markdown source view is editable so Markdown can be pasted/typed directly.
- Copy produces raw/plain text by default (Markdown paste conversion can still work). No leftover greyed-out artifacts in table cells; undo works.
- Outline / ToC expanded state is stored as a preference and kept across logins and MD file views (always fully visible, no extra click).
Actual behavior
- Only individual users can be mentioned with
@; groups from Keycloak are not available. - Pasted Markdown auto-renders only in
.mdfiles. In ocNote it is inserted as unformatted plain text. - Any update from another collaborator clears the current selection, including inside tables.
- Markdown source view is read-only.
- Copy carries Markdown syntax. Paste into a table cell produces a greyed-out, stuck cell that cannot be cleared or undone and is not visible in source view.
- Outline always reverts to collapsed on reload/reopen.
Setup
OpenCloud version: 8.1.0 (latest)
Identity provider: Keycloak (users and groups synced from Keycloak)
Realtime Markdown / ocNote editor.
Please describe how you started the server and provide a list of relevant environment variables or configuration files.
Details
OC_XXX=somevalue
OC_YYY=somevalue
PROXY_XXX=somevalueAdditional context
All issues occur in the new realtime collaboration Markdown/ocNote editor.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
micbar commentedon Oct 9, 2026
1 is not a bug.
You can only mention people which have been invited to that document already.
Mentioning: point somebody to that document that has access to it
Sharing: give somebody access to a document.
@JammingBen could you answer the other ones?
suse-coder commentedon Oct 9, 2026
but when I have /Department from Keycloak invited to the space all these can see the md, would it not be great if also I can each individual (+ the group) ping with @?
JammingBen commentedon Oct 9, 2026
3 & 5 I'd consider as bugs also. See #3969 for 5.
1 & 2 are IMO feature requests.
This is no bug but a limitation due to yjs. Instances without yjs enabled should not have it. With yjs, there is no way around that.
I'd say this is expected behavior. @tbsbdr what do you think?
suse-coder commentedon Oct 9, 2026
the problem I face is that I want to copy raw text (and not markdown), for example to paste it to somewhere else (currently i always get markdown). But on the other side I want to copy markdown (which i could with the read only view), what is fine.
suse-coder commentedon Oct 28, 2026
I am fine for copy the markdown just from the source tab, pasting markdown should automatically convert into rendered ui, copy from text inside tables or else should be raw (so i can copy it elsewhere - and be correctly conserving the formatting like returns).
How to solve it if i want to copy paste a table so it is again in markdown rendered correctly I dont know how to solve that.
JammingBen commentedon Oct 28, 2026
Do you want to copy a table from an external md source into the OpenCloud editor, or vice versa? I just tried copying tables between the OpenCloud editor and Obsidian, both directions work fine for me.
suse-coder commentedon Nov 5, 2026
Please also check the following: copy a table, select and copy paste a row, copy paste a column, select and copy and paste one item in a table cell to another one. Was not reliable working in current version.
JammingBen commentedon Nov 5, 2026
This will be fixed in #4271.
I'm closing this issue, since I think we addressed all the points: For 1. we have #4031, 2. is expected (for now, we will re-visit the notes format after the upcoming production release and bring it to production level standards), 3. seems fixed, 4. + 6. are known limitations, 5. is fixed via #4271.
tbsbdr commentedon Nov 5, 2026
known limitation. in an ideal world the ui should remember the state, i guess serverside user preferences is what we'd like to have for that