notes icon indicating copy to clipboard operation
notes copied to clipboard

Content wrongly loses its heading after it is copied and pasted

Open Softvision-MariusComan opened this issue 7 years ago • 2 comments

[Affected versions]:

  • Firefox Release 60.0.2 and above

[Affected Platforms]:

  • All Windows
  • All Linux
  • All Mac

[Prerequisites]:

  • Have a new Firefox profile with the latest version of the "Firefox Notes" add-on (4.2.0dev custom built on 20.06.2018) installed.

[Steps to reproduce]:

  1. Open the browser with the profile from prerequisites.
  2. Click the "New Note" button and select any heading except "Body".
  3. Write a string and select it by mouse drag.
  4. Copy the selected string.
  5. Press the "Enter" key and paste the previously copied text.
  6. Observe the heading of the pasted string.

[Expected result]:

  • The pasted string has the same heading as the one from step 3.

[Actual result]:

  • The heading is reset to "Body".

[Notes]:

  • The issue is not reproducible if the content is selected using the "Ctrl+A" shortcut.
  • The style formatting options (such as bold, italic, strikethrough and underline) are not lost at paste.
  • Attached a screen recording of the issue: rec of the issue

Softvision-MariusComan avatar Jun 21 '18 14:06 Softvision-MariusComan

This seems like ckeditor behaviour, do you think it is worth filing an issue on this on their end @Softvision-MariusComan ? https://ckeditor5.github.io/ seems to reproduce this

vladikoff avatar Jun 21 '18 14:06 vladikoff

Yes, I think it's worth filing an issue on their end. We should also keep this one open in case we need to dupe others to it.

Softvision-MariusComan avatar Jun 21 '18 15:06 Softvision-MariusComan