[wp-trac] [WordPress Trac] #36211: TinyMCE: allow pasting in image captions

WordPress Trac noreply at wordpress.org
Tue Oct 25 21:53:36 UTC 2016


#36211: TinyMCE: allow pasting in image captions
-------------------------------------+-----------------------
 Reporter:  azaozz                   |       Owner:  azaozz
     Type:  enhancement              |      Status:  assigned
 Priority:  normal                   |   Milestone:  4.7
Component:  TinyMCE                  |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+-----------------------

Comment (by Clorith):

 When pasting paragraphed content, we only introduce a single newline, we
 might want to do a "reverse wpautop" and get two `<br>`'s introduced if
 there's more than one paragraph in the paste, to represent the copied
 content more clearly.

 Pasting in an image URL, are we able to drop the auto-`<img>` tag
 generation? If I paste an image URL in a caption it is with the
 presumption that I am linking to an original source for the image, and not
 that I want another image there instead (others mileage may vary, I'm not
 sure how others would think here, presumptions on peoples workflows are a
 rocky path to take, but that was my initial impression with that
 behavior).

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


More information about the wp-trac mailing list