Fix /unlink behaviour on Content Editor
What does this MR do and why?
Fixes /unlink quick action behaviour on content editor to be consistent with plain markdown editor where it should only show currently linked items when /unlink # is used.
References
Screenshots or screen recordings
| Before | After |
|---|---|
| Screen_Recording_2025-07-17_at_3.40.29_PM | Screen_Recording_2025-07-17_at_3.38.05_PM |
How to set up and validate locally
- Go to a work item
- Add a few work items to it as Linked items
- Go to comment field and switch to Rich Text Editing
- Type
/unlink #
- With changes in this MR, it should only show currently linked items in autocomplete menu.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #556263 (closed)
Edited by Kushal Pandya