Closed Bug 1553780 Opened 5 years ago Closed 5 years ago

Can't type/paste text into attachment contents and set text/html mimetype

Categories

(bugzilla.mozilla.org :: User Interface, defect)

Production
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: Gijs, Assigned: kohei)

Details

Attachments

(1 file)

46 bytes, text/x-github-pull-request
Details | Review

STR:

  1. click 'attach file' link on extant bug
  2. put some html in the attachment contents box, e.g. <button onclick=alert('hi')>Click</button>

AR:
no matter what you do with the mime type UI, the attachment gets created as text/plain (I seem to sometimes be able to select something in the selectbox, sometimes not, and sometimes I can type in the text field for a custom mimetype, but none of it makes any difference in the end, AFAICT)

ER:
you're able to pick other text-based mimetypes.

Hmm, I don’t know why I missed such a case. Text can be any: HTML, JavaScript, CSS, Markdown, or whatever. I’ll fix it. Thanks for the heads-up!

Assignee: nobody → kohei.yoshino
Attached file GitHub Pull Request
Status: NEW → ASSIGNED
Version: Staging → Production

Merged to master.

Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.