[go: up one dir, main page]

Skip to content

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
Screenshot_2020-09-09_at_10.56.46 Screenshot_2020-09-09_at_10.56.54

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 🤖