Open
Bug 1610220
Opened 6 years ago
Updated 3 years ago
Dropping non-image file is handled as inserting `<img>` element with data URI
Categories
(Core :: DOM: Editor, defect, P3)
Core
DOM: Editor
Tracking
()
NEW
| Tracking | Status | |
|---|---|---|
| firefox74 | --- | affected |
People
(Reporter: masayuki, Unassigned)
References
Details
See also bug 1610219.
HTMLEditor inserts <img> element even when a non-image file is dropped.
Like, <img src="data:text/plain;base64,...">.
Same as bug 1610219, Chrome loads the file (i.e., their editor does not handle nor consume the file drop). Safari does nothing (just dispatching beforeinput and oddly dispatching input event even though without DOM change).
Perhaps, HTMLEditor should just fire beforeinput event if it's in web apps.
Updated•6 years ago
|
Priority: -- → P3
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•