Skip to content

Switching between list types is not possible anymore #3256

Closed

Description

@juliusknorr

When having the cursor set in a list it is no longer possible to switch to a different type, e.g. from bullet list to checkbox

Activity

  1. moved this to 📄 To do (~10 entries) in 📝 Productivity teamon Oct 17, 2022
  2. max-nextcloud commented on Oct 18, 2022

    @max-nextcloud
    Contributor

    Switching between bullet and numbered list seems to work fine for me.
    "Only" issue seems to be switching between checkbox and the other two list types in either way.
    When on a checkbox list the other two list types are greyed out. So looks like tiptap already thinks it cannot do this.

    I don't remember how this was fixed after the tiptap2 migration but i remember discussing it at length in a tiptap issue: ueberdosis/tiptap#2428

  3. mejo- commented on Jun 7, 2023

    @mejo-
    Member

    The problem seems that some commands are reported as not possible by $editor.can() even though they can be used without problems. E.g. switching from a bullet list to either of ordered list (Ctrl-Shift-7), check list (Ctrl-Shift-9) or blockquote (Ctrl-Shift-B) works well via keyboard shortcuts, even though e.g. $editor.can().toggleOrderedList() returns false, leading to the corresponding menu action being disabled.

    Related upstream issue: ueberdosis/tiptap#4057

  4. juliusknorr commented on Aug 29, 2023

    @juliusknorr
    MemberAuthor

    I looked a bit into this when checking other list issues:

    It seems that this part here is failing to validate that the list items are valid content for the different types bullet and task list for example, as task list uses a different taskitem node type: https://github.com/ueberdosis/tiptap/blob/d6657233e718ee465dbe096c8f40a7910d15e696/packages/core/src/commands/toggleList.ts#L98

    We or tiptap either would need to switch to a shared item node type or maybe could rework the command to not only change the list type but also the list item types. Haven't looked further on what would be the best or lowest effort approach.

  5. moved this from 📄 To do (~10 entries) to 🧭 Planning evaluation (don't pick) in 📝 Productivity teamon Oct 16, 2023
  6. jospoortvliet commented on Oct 2, 2025

    @jospoortvliet
    Member

    The problem seems that some commands are reported as not possible by $editor.can() even though they can be used without problems. E.g. switching from a bullet list to either of ordered list (Ctrl-Shift-7), check list (Ctrl-Shift-9) or blockquote (Ctrl-Shift-B) works well via keyboard shortcuts, even though e.g. $editor.can().toggleOrderedList() returns false, leading to the corresponding menu action being disabled.

    Related upstream issue: ueberdosis/tiptap#4057

    So it is possible to do it with a shortcut but the menu can't do it? That's very confusing 🥲

    Image

    It's a bit of a frequent annoyance so I'm going to try to learn the shortcuts then, I'm very happy with the shortcut overview in that regard. Makes it easy.

  7. moved this from 🧭 Planning evaluation (don't pick) to 📄 To do (~10 entries) in 📝 Productivity teamon Oct 16, 2025
  8. moved this from 📄 To do (~10 entries) to 🧭 Planning evaluation (don't pick) in 📝 Productivity teamon Oct 16, 2025
  9. janbaum commented on Feb 11, 2026

    @janbaum

    Just saw this, weeks after creating #8112. I think my issue is kind of a duplicate of this one, so I will comment here, feel free to close #8112 if you agree 👍 Also, I don't fully understand the previous analysis you all did on this issue, so I thought I just describe what I see and you can happily ignore it, if says what you figured out previously 😬

    First, switching between all types of lists works, if:

    1. you switch off the current type
    2. open the menu again
    3. select the desired type

    There seems no option to changes list types directly, no matter from which/to which type. As said by you before, shortcuts work fine.

    I think this is a rather famous papercut among users, too :)

  10. mejo- commented on May 7, 2026

    @mejo-
    Member

    Crazy news, but apparently this got fixed 🎉 Most likely it happened with the upgrade to Tiptap v3. I can no longer reproduce this issue in Nextcloud 33 and above.

  11. moved this from 🧭 Planning evaluation (don't pick) to ☑️ Done in 📝 Productivity teamon May 7, 2026
  12. janbaum commented on May 28, 2026

    @janbaum

    Crazy news, but apparently this got fixed 🎉 Most likely it happened with the upgrade to Tiptap v3. I can no longer reproduce this issue in Nextcloud 33 and above.

    Yes, I can now directly change between ordered-, and unordered lists :) Although changing from (un)ordered list to task list still requires to first disable the previous type and then manually select task list

  13. mejo- commented on May 28, 2026

    @mejo-
    Member

    Although changing from (un)ordered list to task list still requires to first disable the previous type and then manually select task list

    This will be fixed with the upcoming server releases as well, see #8536

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions