webxdc/editor
16
9
Fork
You've already forked editor
2

Nested List items are hard to create #81

Open
opened 2023年12月06日 22:34:44 +01:00 by treefit · 1 comment

on desktop: nested lists are possible but really annoying (guessing number of spaces before - and then pressing space again hoping that it works)

-> other apps use tab and shift tab to change list item level / indentation.

on mobile (tested on iOS): it is impossible (for me at-least) to make nested list items.

-> other apps like obsidian (see attachment) offer buttons in their toolbar to change indentation level, we should copy that.

BTW: obsidian also puts the toolbar on top of the keyboard on which is a good design choice, I don't know if we can detect when the keyboard is open in JS, but if we can we could try to copy this.

**on desktop**: nested lists are possible but really annoying (guessing number of spaces before `-` and then pressing space again hoping that it works) -> other apps use `tab` and `shift tab` to change list item level / indentation. **on mobile (tested on iOS)**: it is impossible (for me at-least) to make nested list items. -> other apps like obsidian (see attachment) offer buttons in their toolbar to change indentation level, we should copy that. BTW: obsidian also puts the toolbar on top of the keyboard on which is a good design choice, I don't know if we can detect when the keyboard is open in JS, but if we can we could try to copy this.

The current behavior/code is based on an example from the official Prosemirror site. Maybe there are better examples, would be wise to look for them first.

The current behavior/code is based on an example from the official Prosemirror site. Maybe there are better examples, would be wise to look for them first.
Sign in to join this conversation.
No Branch/Tag specified
main
tooling
add-presence
link2xt/autosave-interval-limit
hpk/tryquill
hpk/cleanup-indexhtml
target-legacy
inline-b64
webxdc-x-web-version
pages-demo
status-string
toolbar-position-sticky
v3.2.0
v3.1.1
v3.1.0
v3.0.0
v2.7.0
v2.6.0
v2.5.1
v2.5.0
v2.4.0
v2.3.0
v2.2.1
v2.2.0
v2.1.0
v2.0.2
v2.0.1
v2.0.0
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
webxdc/editor#81
Reference in a new issue
webxdc/editor
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?