Skip to content

Add autosize support in markdown_editor

Himanshu Kapoor requested to merge himkp-ce-autosize into master

What does this MR do and why?

Similar to !114052 (merged), this MR adds support for autosize in the markdown field in the markdown_editor component. This allows moving the autosize responsibility to the container itself and avoids the need of autosizing from outside the container.

Screenshots or screen recordings

Screen_Recording_2023-03-10_at_14.44.08

How to set up and validate locally

  1. Edit a wiki page using the classic markdown editor.
  2. Press Enter many times to create lots of line breaks.
  3. Notice that the textarea grows and shrinks automatically with the content typed.

MR acceptance checklist

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

Merge request reports