When editing a snippet: introduce markdown toolbar for markdown blobs
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
When editing markdown snippets at the moment we do not provide the markdown toolbar as it is everywhere else in the product when working with Markdown information (blobs, comments, descriptions). Now, with Editor Lite for snippets, we have proper events listeners that allow us to know whether we are dealing with a Markdown blob or not.
Blob with the toolbar | Snippet |
---|---|
![]() |
![]() |
Since Editor Lite is the part of Vueified editing form for snippets, supposedly we could use the app/assets/javascripts/vue_shared/components/markdown/header.vue
component within snippet_blob_edit
and toggle its visibility with some flag.
Edited by 🤖 GitLab Bot 🤖