platform icon indicating copy to clipboard operation
platform copied to clipboard

Bug: Comments do not work in code blocks or mermaid diagrams

Open AbigailDawson opened this issue 1 year ago • 3 comments

Summary

Comments don’t work in code blocks or mermaid diagrams - you can highlight text, click the comment icon, type a comment and submit, but it just disappears and goes nowhere.

I’m not sure what’s expected, either the comments should work or it should be disabled in the UI for code blocks and diagrams?

Steps to reproduce:

  1. Add a code block or mermaid diagram to a document
  2. Highlight some text inside
  3. Click comment icon
  4. Type a comment
  5. Click Send

AbigailDawson avatar Jan 13 '25 16:01 AbigailDawson

Connected to Huly®: UBERF-9131

huly-github-staging avatar Jan 13 '25 16:01 huly-github-staging

I think inline comments could be disabled in code block/mermaids, but up to Victor Ilyushchenko to check.

haiodo avatar Jan 13 '25 17:01 haiodo