openedx / frontend-lib-content-components

[Moved to openedx/frontend-app-course-authoring] A library of high-level components for content handling (viewing, editing, etc. of HTML, video, problems, etc.), to be shared by multiple MFEs.
GNU Affero General Public License v3.0
11 stars 33 forks source link

fix: HTML screen should expand with content #474

Closed rayzhou-bit closed 6 months ago

rayzhou-bit commented 7 months ago

HTML screen in text editor would not expand vertically when there is more content. This PR lets HTML screen expand vertically when more text is entered.

Testing:

  1. Edit/create a text editor block in studio.
  2. Click the HTML button to popup the Edit Source Code window.
  3. Enter new lines of text until the screen should scroll.
  4. The window should expand vertically to hold the newly entered text.