Skip to content

Implement target [<number>] (above | below | before | after) <hint> #108

Description

@david-tejada

This could be useful for several situations. For example, in Notion sometimes I need to place the cursor in a field but there's no hint for the field (it might be because it only becomes contenteditable once you click). Most of the time there's a hint above that I could just refer to.

For example, here saying click below gust here would allow me to continue adding checklist items.

Screenshot 2023-04-27 at 11 57 01

Another use for this would be to use with the command drag as defined in #109.

<number> is the number of pixels for the target position relative to the hinted element. By default it could be something like 10.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions