-
Notifications
You must be signed in to change notification settings - Fork 94
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
Add buttons to change list indentation level #2438
Comments
I think especially on mobile such buttons would generally make sense, where I also run into this from time to time. Would be interesting to see how other editors and mobile apps handle this, as adding just more icons to the menubar is nothing we can do any longer, as is is already really crowded now that we added more general formatting options. One option might be a contextual toolbar that only displays relevant actions based on the content type, maybe at the bottom of the screen? Or a floating menu before or after the content https://tiptap.dev/api/extensions/floating-menu |
Thank you for your reactions! @nimishavijay @juliushaertl I also really like the idea of having a contextual toolbar. Nevertheless, I suggest considering the screen size for the toolbar's placement. On large screens, it perhaps would make sense to just add a second row below the top menu, whereas on smaller devices, the "split" between top menu and (contextual) bottom menu is more convenient. |
The floating menu looks ok, but I fear it might get messy like the MenuBubble for links (bad UX).
That are more than 2 buttons which would need to be replaced for the indention buttons :) |
#2836 talks about the menu bar redesign. It will hopefully allow for adding these buttons. |
can confirm that decreasing the indent is impossible to do at the moment.... 😥 |
Did you try |
On mobile, where you do not have a shift key, there is indeed no way to change the indention level |
Hmmm, now shift+tab works to decrease the indentation, but tab stopped working to increase it 😑🙂 |
Same here, but it's a bit strange: in the Text app, the menu catches focus when pressing tab, so it's not possible to increase the indentation level. But in the Collectives app (which uses the Text app afaik), it works. |
Oh yes, this is very strange. This can't be excpected, especially because Shift+Tag still works. EDIT: #3493 |
@JKBWP @maximelehericy |
Editing a However, there's no tab button on the soft keyboard on my Android phone. That definitely needs to be added! |
@max-nextcloud @mejo- what do you think about making the "Lists" action a menu? It could be this – with the indentation entries disabled unless you focus a list:
This is probably nice as grouping anyway to keep the amount of icons in the toolbar in check and prevent overflow to the 3-dot menu. |
Fixes: #2438 Contributes to: #2836 Signed-off-by: Jonas <[email protected]>
Fixes: #2438 Contributes to: #2836 Signed-off-by: Jonas <[email protected]>
Fixes: #2438 Contributes to: #2836 Signed-off-by: Jonas <[email protected]>
Fixes: #2438 Contributes to: #2836 Signed-off-by: Jonas <[email protected]>
Fixes: #2438 Contributes to: #2836 Signed-off-by: Jonas <[email protected]>
Fixes: #2438 Contributes to: #2836 Signed-off-by: Jonas <[email protected]>
Is your feature request related to a problem? Please describe.
When I tried to create (un-)ordered lists with more than one level, I couldn't find an intuitive way to do this (since there is also no way to change to code view). My first workaround was to edit the file in an external editor, but this is no good solution, I think.
After some research, I discovered the "official" way of indenting list entries: pressing the tab key. However, there was this issue which added additional problems.
And, by the way, I still don't know how to decrease the list indention level using the keyboard.
Describe the solution you'd like
I would like to have a button to easily change a list entry's level. This could also be a drop-down underneath the list buttons.
Describe alternatives you've considered
As written before: using external editors or the tab key. There is also the markdown editor app, which handles this problem by offering a code view.
Additional context
Maybe related to #234
The text was updated successfully, but these errors were encountered: