Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copying unordered list into markdown editor causes weird behavior #156

Open
Michael-Grover opened this issue Jul 22, 2020 · 12 comments
Open

Comments

@Michael-Grover
Copy link

Michael-Grover commented Jul 22, 2020

Bug Report 🐛

Copying an unordered list from outside of the markdown editor into markdown editor causes weird behavior, including:

  1. the bulleted list can not be escaped by pressing enter twice

  2. The unordered list icon in the formatting toolbar is not highlighted

  3. The bullets are not indented

  4. Pressing the unordered list icon while highlighting a bulleted list that was pasted from an outside source results in the content of the list disappearing

Expected Behavior

If a user copies an unordered list from outside of the markdown editor and pastes it into the markdown editor, it should function the same as a list created in the markdown editor.

@jeromesimeon
Copy link
Member

Works (kinda) for me?

CopyList

@Michael-Grover
Copy link
Author

It's only unordered lists copied from sources outside of the markdown editor

@jeromesimeon
Copy link
Member

It's only unordered lists copied from sources outside of the markdown editor

Behaviour on copy/paste from other sources will be highly dependent on the source (pdf, html, which page, etc).

Can you please provide details so we can reproduce.

@Michael-Grover
Copy link
Author

This is one example of a bulleted list that causes the issue

https://site.uit.no/english/writing-style/bulletlist/
image

@jeromesimeon
Copy link
Member

hm... seems to work for me. Maybe I'm doing it wrong?

CopyListAgain

@Michael-Grover
Copy link
Author

the bug only occurs if you copy and paste the highlighted area in this image
image

@Michael-Grover
Copy link
Author

it looks like copying the line before the bulleted list makes the bug not occur

@Hanaffi
Copy link

Hanaffi commented Mar 16, 2021

@Michael-Grover Can you assign this to me?
If I get some kind of guidance I will definitely complete this issue :D

@jolanglinais
Copy link
Member

@Hanaffi what sort of things do you need guidance on at the moment?

@Hanaffi
Copy link

Hanaffi commented Mar 17, 2021

@irmerk
Can you tell me which file should I work on?
What may be the cause for this issue?
I tried it and only the first item doesnt fit in the unordered list (Aka doesnt have a bullet)
zz

@jolanglinais
Copy link
Member

In the short term, I don't know. I think this Issue will take some investigating.

@Michael-Grover
Copy link
Author

I'm cleaning up old issues I created and it looks like this one hasn't been resolved, so I'm keeping it open

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants