In this episode, we make a quick but useful improvement to our markdown editor by adding the "mention" (@) functionality to the toolbar. Previously, we had the ability to add mentions in the editor, but the toolbar didn’t have a dedicated button for it. We walk through how to add the mention button, reusing the existing mention icon (make sure you have that; you can grab it from the source code if not).
We update the toolbar code, swap out the reference for the correct icon (it's named icon-at
), and double-check that it shows up properly after a refresh. Now, our users will see the familiar @ symbol in the markdown toolbar. Clicking it lets them easily insert mentions without needing to remember the syntax—a nice usability boost!