instructure / canvas-lms

The open LMS by Instructure, Inc.
https://github.com/instructure/canvas-lms/wiki
GNU Affero General Public License v3.0
5.43k stars 2.43k forks source link

Pasting content into discussion posts causes duplicate #2163

Closed anchen08 closed 1 year ago

anchen08 commented 1 year ago

Summary:

When copy pasting text into the textbox of a canvas discussion post reply, the text is duplicated.

Steps to reproduce:

  1. Go to an open discussion post on any course page in canvas.
  2. Click on reply box, opening the text editor
  3. Paste text into the text box

Expected behavior:

Text is pasted in full into the reply.

Actual behavior:

Text is pasted into the reply, but the text is duplicated. In other words, it's pasted twice.

Additional notes:

Bug was somewhat recent; roughly two or three weeks ago, there was no issue with copy pasting text. This issue is present on Chrome, though I have not tested any other browsers.