[bug]: Unable to upload an image to a work item comment without accompanying text.
Open
@aaryan610 is already working on this.
Since Jul 4, 2025.
✍️editor
🐛bug
- Dominant language
- TypeScript
- Stars
- 59.6k
- Forks
- 5.8k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 49
Description
Is there an existing issue for this?
- I have searched the existing issues
Current behavior
When creating a new comment on a work item, the entire formatting toolbar, including the "Upload Image" icon and other buttons, is disabled or grayed out. It is not possible to click on any of these toolbar buttons. The toolbar and all its buttons only become active and clickable after at least one character of text is typed into the comment input field.
Steps to reproduce
- Open any existing work item or create a new one.
- Scroll down to the comment section and click on the "Add a comment..." input field.
- Attempt to click the Attach file (or Upload Image) icon on the formatting toolbar that appears.
- Observe that the icon is disabled/grayed out and cannot be clicked.
- Now, type some text into the comment field (e.g., "test").
- Observe that the Attach file icon and the entire toolbar become active.
- Click the Attach file icon again.
- Observe that you are now able to proceed with uploading an image.
Video
https://github.com/user-attachments/assets/15c6469c-c50b-440a-856a-7582f56cef55
Environment
Production
Browser
Google Chrome
Variant
Self-hosted
Version
v0.26.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.