[wp-trac] [WordPress Trac] #27976: TinyMCE no longer uses autolink when pasting URLs in IE

WordPress Trac noreply at wordpress.org
Tue Apr 22 20:35:07 UTC 2014


#27976: TinyMCE no longer uses autolink when pasting URLs in IE
--------------------------+------------------------------
 Reporter:  jeremyfelt    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  TinyMCE       |     Version:  3.9
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by azaozz):

 Yes, WordPress doesn't include TinyMCE's 'autolink' plugin by default. I
 believe this was done to normalize the behavior in all browsers. We can
 re-enable autolinking in IE, would break WP's auto-embed though. Something
 like this that runs on editor.init should do it:

 {{{
 if ( tinymce.Env.ie ) {
   try {
     editor.getDoc().execCommand( 'AutoUrlDetect', false, true );
   } catch (ex) {
     // Ignore
   }
 }
 }}}

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


More information about the wp-trac mailing list