[wp-trac] [WordPress Trac] #28195: Preview embeds with wpview and auto embed on paste

WordPress Trac noreply at wordpress.org
Mon Jul 14 20:08:57 UTC 2014


#28195: Preview embeds with wpview and auto embed on paste
----------------------------+-------------------------
 Reporter:  avryl           |       Owner:
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  4.0
Component:  Media           |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  needs-testing   |     Focuses:  javascript
----------------------------+-------------------------

Comment (by jeremyfelt):

 I'm not seeing a specific mention of this issue yet, so...

 If I paste a non-embeddable URL as the first text of a new line, wpview
 attempts to do something with it. This causes a box to flash and then the
 cursor to jump to the top of the editor - above the first line of text.
 Typing starts a new line above the pasted URL.

 Screen capture - https://cloudup.com/cWX2Bi5DmfJ

 This specific behavior starts in [28994]. Before that, the cursor would
 jump to the line below the pasted URL and the non-embeddable URL would be
 displayed as if it was embeddable with a box/delete button when selected.

 I think I expect non-embeddable URLs to result in no visual change with
 the cursor still available at the end of the pasted text. The other auto-
 embed stuff is looking fantastic. :)

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


More information about the wp-trac mailing list