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

UI/UX oddity: inline code vs code block #117

Closed
tremby opened this issue Apr 8, 2022 · 4 comments
Closed

UI/UX oddity: inline code vs code block #117

tremby opened this issue Apr 8, 2022 · 4 comments

Comments

@tremby
Copy link

tremby commented Apr 8, 2022

I'm not sure whether to call this a bug or a feature request.

The docs say that the "formatting" dropdown supports h1 to h6, blockquote, paragraph, and inline code.

I find this very weird. All those other things are block-level formatting and make sense in a dropdown together, but inline code is an outlier, applying to a range of text rather than a whole block. I think this leads to a weird UX.

On the other hand, code block would absolutely belong in that dropdown.

@engram-design
Copy link
Member

Yeah, you're probably not wrong here - I think my thinking was just trying to clean up the buttons.

The eventual plan will be allowing everyone to create and group any buttons into dropdowns as well, so you've got much more control over what's shown.

@tremby
Copy link
Author

tremby commented Apr 8, 2022

Perhaps an interim solution would be to allow code block in the dropdown? Both are allowed outside the dropdown already.

@engram-design
Copy link
Member

Just swapped that out of the craft-4 branch!

@tremby
Copy link
Author

tremby commented Apr 11, 2022

Thank you!

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

No branches or pull requests

2 participants