Skip to content

WIP: Sticky editor toolbars

What does this MR do and why?

WIP version of sticky toolbars for markdown and rich text editors

References

Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.

Screenshots or screen recordings

A screen recording showing the behavior for both markdown and rich text, in both light and dark mode:

Screen_Recording_2024-12-17_at_10.34.13

How to set up and validate locally

  1. Check out this branch
  2. In the GDK, edit a markdown/rich text field. Since you will need to scroll the field off the top of the viewport, this is easiest to do with an issue or MR description.
  3. Scroll so that the top of the field goes past the top of the viewport
  • You will see that the markdown or rich text formatting toolbar stays stuck to the top of the viewport
  1. Scroll the field completely out of view off the top of the viewport
  • You will see that the formatting toolbar leaves the viewport with its parent

Related to #508934, #499696

Edited by Chad Lavimoniere

Merge request reports

Loading