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
- Open Docmost on mobile/iOS.
- Create a bullet or numbered list.
- Place the cursor inside a list item.
- Open the formatting toolbar.
- 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:
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:
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
Source: docmost/docmost