Skip to content
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

Umbraco V8 RTE - Make menu bar sticky #9315

Closed
mattbrailsford opened this issue Oct 30, 2020 · 3 comments · Fixed by #9316
Closed

Umbraco V8 RTE - Make menu bar sticky #9315

mattbrailsford opened this issue Oct 30, 2020 · 3 comments · Fixed by #9316

Comments

@mattbrailsford
Copy link
Contributor

I'm pretty sure prior to Umbraco v8, the rich text editor fields were independently scrollable, however in v8 I think this has been updated so that the input resizes based on the content within it. This is cool, but now if you create a lot of rich text content the editor toolbar goes off page and can be a pain to relocate. I know there is a new "distraction free" mode, but I'm not a fan of that approach as it can be buggy to get the toolbar to show when you need it.

A nice, simple alternative could be to just make the RTE toolbar sticky such that when you scroll the main editor window, the rte toolbar remains stuck just below the main menu bar. If you were to scroll beyond the RTE area, you could then just let it disapear and only re-appear when the RTE comes back into view.

I think this would be a much nicer UX and means the RTE toolbar is never out of reach.

@mattbrailsford
Copy link
Contributor Author

Just doing a real simple quick test, even just adding these styles seems to make a big difference (might need testing more though).

.umb-rte .mce-top-part {
	position: sticky;
	top: 0;
}

Edit_ Deploying a Vendr Store with Umbraco Deploy and uSync - Content - vendr net

@mattbrailsford
Copy link
Contributor Author

PR #9316

@nul800sebastiaan
Copy link
Member

Fixed in #9316

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants