Skip to content

Fix markdown header toolbar showing in compact preview view

What does this MR do and why?

For all markdown editor textboxes, the compact/mobile view was showing the toolbar buttons when the Preview tab was selected, but they're supposed to be hidden. This MR fixes that.

Before (toolbar buttons are shown) After (toolbar buttons are hidden)
ksnip_20220319-015523 ksnip_20220319-015453

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #344429 (closed)

Merge request reports