[wp-trac] [WordPress Trac] #29368: Pasted media do not appear in the library

WordPress Trac noreply at wordpress.org
Thu Aug 28 17:34:30 UTC 2014


#29368: Pasted media do not appear in the library
-----------------------------+------------------------------
 Reporter:  Matt McLaughlin  |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Media            |     Version:  3.9.2
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:  ui
-----------------------------+------------------------------

Comment (by azaozz):

 > ...this looks like a behaviour the browser is responsible for.

 Right, and is different for different browsers. By default Firefox and
 Safari would encode the image with base64 and paste the whole thing as
 text, even if it is several MB in size. This is disabled by default in
 TinyMCE 4.0.

 Seems best we could do is to prevent pasting of images with `src="webkit-
 fake-url://..`. No point having broken images anywhere.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29368#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list