List block: pasting a single (Markdown) item from a list converts item to a paragraph #33312
Labels
[Block] List
Affects the List Block
[Feature] Paste
Needs Dev
Ready for, and needs developer efforts
[Type] Bug
An existing feature does not function as intended
Description
When you paste an ordered list from i.e. Notepad, Gutenberg handles this gracefully (and changes Paragraph block into List block automatically) only, if you are pasting a list having more than one item.
If you're pasting just a single line, with any number in the beginning then block remains as Paragraph (maybe by design), but the number is strip-off (certainly a bug).
Step-by-step reproduction instructions
Expected behaviour
Pasted text is exactly the same as copied from source (i.e. with number)
Actual behaviour
Numbering is stripped off.
Screenshots
WordPress information
Device information
The text was updated successfully, but these errors were encountered: