Formatting should be removed when the user tries pasting back the data
they copied. While we can add Clone functionality that will remove the
need to do this but this should not occur.
To reproduce
Create a new paste and copy it's contents after it has been
generated, make sure to select all and then copy:
Click on "New Paste" and paste (try pasting twice to understand the
issue) the copied data:
Using contenteditable is a bad idea. To fix this you need to strip formatting, figure out cursor's location and then add the data at that position. It adds to complexity without any benefits.
Formatting should be removed when the user tries pasting back the data they copied. While we can add Clone functionality that will remove the need to do this but this should not occur.
To reproduce
Behavior
It pastes along with formatting.
Expected
Formatting should be removed.