nextcloud / nextcloud/files_mindmap

Pasting multiple lines of text into new topic doesn't work as expected

Open
#138 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
197
Forks
52
Avg merge
22h 14m
Merged PRs (30d)
13

Description

Mind Map 0.0.24
Nextcloud 20.0.4

Wondering if something has changed in regards to pasting text into the topic of a node?
Previously (not sure on which version) I'm pretty sure I could just paste in multiple lines of text for the topic of a node.
Now when I do the same thing, for each line it creates a child node with the text from that line.
If I manually type in the text in the topic, and use SHIFT-ENTER at the end of each line the multiple line topic is created OK. I just can't do this using copy/paste any more.
There is also no setting that I can find to change this behaviour in any way.

For most Mind Maps I need to be able to have text in the node itself rather than using notes. You can't view two notes at the same time for example, whereas I can see the text topic of two nodes at the same time.

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

Reproduce the issue in the mind map editor using the reported Mind Map 0.0.24 and Nextcloud 20.0.4 versions, then trace the paste handling entry point. Confirm that pasted multiline text stays within one node topic, while manually entered lines with SHIFT-ENTER retain their existing behavior.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.