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

No way to undo headline formating #5217

Closed
schiessle opened this issue Jan 9, 2024 · 11 comments
Closed

No way to undo headline formating #5217

schiessle opened this issue Jan 9, 2024 · 11 comments
Labels
design Experience, interaction, interface, … enhancement New feature or request

Comments

@schiessle
Copy link
Member

If you write a text with some headlines and later want to revert a headline to normal text there is no way beside deleting the line and write it again.

All other formatting options can be undo by clicking it again (bold, italic, bullet points,...). For headlines I only have the option to chose another headline level but not to go back to "normal text":

image

@schiessle schiessle added the enhancement New feature or request label Jan 9, 2024
@juliusknorr
Copy link
Member

You can untoggle the heading by just selecting the same heading level from the menu. We used to have a button to reset to paragraph but that was removed during a design review iirc.

cc @nextcloud/designers

@marcoambrosini
Copy link
Member

marcoambrosini commented Jan 10, 2024

I think something akin to "paragraph" should definitely be in that menu, along with all other text styles such as quote, code block, etc.
This would:

  • Clear up space in the toolbar
  • Make those functionalities clearer because those buttons would be labeled

ref (notion):
Screenshot from 2024-01-10 13-31-11

@juliusknorr
Copy link
Member

The problem is that the trigger button for the menu currently indicates the state of the current cursor. If we add more entries to that and still use that indication the headline actions would be too hidden i think.

@marcoambrosini
Copy link
Member

What about adding a label like Notion so that it's clearer that text styles and other blocks are underneath that menu? I think there would be a lot to gain from this simplification. Especially given the current amount of unlabeled buttons.

@juliusknorr
Copy link
Member

I think this is something where some mockups could help to visualize how that could fit in the current UI. Especially on mobile we are quite limited on how much space we have there.

@juliusknorr juliusknorr added the design Experience, interaction, interface, … label Jan 10, 2024
@juliusknorr
Copy link
Member

Also #2836 might have a few points to consider when thinking about redesigning the menu bar.

@szaimen
Copy link
Contributor

szaimen commented Jan 11, 2024

So in my opinion actually the chosen Headline should be selected so that if you click on it, it gets unselected, something like this:

H2 selected No headline selected
image image

Then you can disable the heading by simply clicking on it. WDYT @marcoambrosini @juliushaertl ? :)

@marcoambrosini
Copy link
Member

@szaimen as a quick fix, yes that would work. But I'd still think that it would be nicer to have a text "styles" menu.

@ckoegler
Copy link

ckoegler commented Oct 28, 2024

There still seems to be a problem.

If I format a paragraph to a H1 I cannot undo it via Ctrl+Z.
In contrast, it works for other formattings (e.g. from plain text do bold)

Should I file a separate issue?

@mejo-
Copy link
Member

mejo- commented Oct 30, 2024

If I format a paragraph to a H1 I cannot undo it via Ctrl+Z.

Dear @ckoegler, thanks for the report. Which Nextcloud version do you run? I'm unable to reproduce your problem. Given that it's not related to the topic discussed here, please open a new issue about it.

@mejo-
Copy link
Member

mejo- commented Oct 30, 2024

Let's close this issue for now, as we have clear indicators nowadays that show the enabled headline formatting with a checkmark.

@mejo- mejo- closed this as completed Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design Experience, interaction, interface, … enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants