Make WordPress Core

Opened 10 years ago

Closed 9 years ago

#27976 closed defect (bug) (wontfix)

TinyMCE no longer uses autolink when pasting URLs in IE

Reported by: jeremyfelt's profile jeremyfelt Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.9
Component: TinyMCE Keywords:
Focuses: javascript Cc:


IE 10, Windows 7.

Through WordPress 3.8.3, and then through changeset [27060], a URL pasted in the editor window in IE would automatically be converted to a link. In [27060], autolinking is explicitly disabled with a note for it to be reenabled with the TinyMCE autolink plugin:

Disables the autolinking in IE 9+ this is then re-enabled by the autolink plugin.

It does not appear that the autolink plugin was ever enabled after this changeset.

I'm not entirely certain if it is our intention to enable autolink by default, though it sounds like this is a feature IE users are familiar with.

Change History (2)

#1 @azaozz
10 years ago

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 ( ) {
  try {
    editor.getDoc().execCommand( 'AutoUrlDetect', false, true );
  } catch (ex) {
    // Ignore
Version 0, edited 10 years ago by azaozz (next)

#2 @iseulde
9 years ago

  • Focuses javascript added
  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

No traction or similar reports. Also only happened in IE and makes sense to normalise the behaviour. Links have never been autolinked for other users and it doesn't make sense to re-enable just for IE.

Note: See TracTickets for help on using tickets.