#2526·docmost

Mobile toolbar indent/outdent buttons do not indent list items

Author: drago1520Created Sep 27, 2026Updated Sep 27, 2026

On mobile, the fixed toolbar contains Increase indent / Decrease indent actions, but they do not work for bullet or numbered list items.

Steps to reproduce

  1. Open Docmost on mobile/iOS.
  2. Create a bullet or numbered list.
  3. Place the cursor inside a list item.
  4. Open the formatting toolbar.
  5. Tap Increase indent or Decrease indent.

Actual behavior

Nothing happens.

Expected behavior

For list items:

  • Increase indent should nest the current item under the previous item.
  • Decrease indent should move the item one level up.

This is especially important on mobile because there is no physical Tab / Shift+Tab key available.

Likely cause

The toolbar currently calls:

typescript
editor.chain().focus().indent().run()
editor.chain().focus().outdent().run()

But the indentation extension intentionally excludes listItem / taskItem, since list nesting uses separate commands.

For lists, the toolbar should probably call something like:

typescript
sinkListItem("listItem")
liftListItem("listItem")

while retaining indent() / outdent() for normal paragraphs/headings.

Related

  • Discussion #1047 — mobile list indentation problem
  • PR #2174 — indentation support
  • PR #2185 — fixed toolbar

Environment

  • IOS 18
  • Safari PWA
  • latest Docmost v0.96.0

image