mozilla / notes

DEPRECATED - A notepad for Firefox
https://testpilot.firefox.com/experiments/notes
Mozilla Public License 2.0
495 stars 130 forks source link

Copying Numbered points to clipboard, does not copy the numbering #1522

Closed sesamepaste closed 1 year ago

sesamepaste commented 4 years ago

[Description]:

Occurs while writing notes with a numbered list of points. While copying it to clipboard, the numbering is not retained and only the text is copied. Moreover there is no way to export to plain text or Markdown. Exporting as HTMl adds a bunch of unnecessary tags to the text and it uses <ol><li> tags to indicate a numbered list instead of the number itself as text. As such it becomes hard to extract the text of the notes before using it in any other program.

Personal use case which was affected - Stage a long message in firefox notes before copying the text to the message box of chat website. To avoid accidentally hitting send midway

[Affected versions]:

4.3.5

[Prerequisites]:

[Steps to reproduce]:

Create a new note Use the numbering feature to add a list of points. Try to copy the text of the message to a clipboard or a text editor The numbers will not appear in the copied text and new lines between points will be missing

[Expected result]:

The numbering should be copied along with the text, and space and line spacing should be preserved (additional)

[Actual result]:

The numbers will not appear in the copied text and new lines between points will be missing

[Additional Notes]: