Skip to content

Autoresize markdown preview

Clement Ho requested to merge didemacet-markdown-area-height-fix into master

This MR is a completion of ~"Community Contribution" !7439 (closed)

What does this MR do?

Restores markdown textarea height when preview and write tabs are changed.

Are there points in the code the reviewer needs to double check?

No.

Why was this MR needed?

Because when changing tabs textarea becomes smaller

Screenshots (if relevant)

Before

markdown-height-fix-before

After

markdown-height-fix-after

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/24372

Merge request reports