[wp-trac] [WordPress Trac] #31988: TinyMCE: pasting an embeddable URL in Firefox doesn't show preview

WordPress Trac noreply at wordpress.org
Mon Apr 20 20:40:45 UTC 2015


#31988: TinyMCE: pasting an embeddable URL in Firefox doesn't show preview
------------------------------+-----------------------
 Reporter:  azaozz            |       Owner:  azaozz
     Type:  defect (bug)      |      Status:  assigned
 Priority:  high              |   Milestone:  4.2
Component:  TinyMCE           |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:
------------------------------+-----------------------

Comment (by azaozz):

 Yeah, we can use either patch, they are equivalent. I'd still do

 {{{
 /^[\s\uFEFF\u00A0]*$/.test( $( node ).text() || '' )
 }}}

 just in case as it is passed directly to a regex method that expects
 string.

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


More information about the wp-trac mailing list