nextcloud / nextcloud/text

List markdown shortcut does not work when pasting

Open
#5,019 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug feature: formatting feature: formatting - lists
Dominant language
JavaScript
Stars
659
Forks
133
Avg merge
1d 20h
Merged PRs (30d)
110

Description

Describe the bug
When starting to type a list and paste something for the content it is not converted to a list

To Reproduce
Steps to reproduce the behavior:

  1. Type -
  2. Paste text or a link

Expected behavior
The document contains a list item

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the editor behavior: type - , then paste text or a link. Trace the markdown shortcut and list handling used during paste, and verify that the pasted content produces a list item rather than plain text.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, markdown
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.