-
-
Notifications
You must be signed in to change notification settings - Fork 314
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resizable elements window #3097
Conversation
Tinymce has a new css class prefix, that broke the fullscreen mode.
Allows to drag the divider between the preview and elements windows in order to resize the elements window. This is very helpful, if the elements window is too narrow when lots of nested elements exist.
Makes sure the elements window width is the same across pages. Uses a cookie, so we can read the value from Rails and put it on the body tag, so it is immediatly available on page render. Otherwise we would see the element window resizing on every page visit. SSR ftw \o/
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3097 +/- ##
=======================================
Coverage 96.58% 96.58%
=======================================
Files 236 236
Lines 6334 6334
=======================================
Hits 6118 6118
Misses 216 216 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice. I like the cookie solution
💔 All backports failed
Manual backportTo create the backport manually run:
Questions ?Please refer to the Backport tool documentation and see the Github Action logs for details |
What is this pull request for?
Allows to drag the divider between the preview and elements windows in order to resize the elements window.
This is very helpful, if the elements window is too narrow when lots of nested elements exist.
It makes sure the elements window width is the same across pages. Uses a cookie, so we can read the value from Rails and put it on the body tag, so it is immediately available on page render. Otherwise we would see the element window resizing on every page visit.
SSR ftw \o/
refs #2733
Screencast
https://www.loom.com/share/87151d6797c04b2aa10900e384e54cf7
Checklist