I tried to use markdowneditor on IE9 and was greeted by some JS errors.

First, INVALID_CHARACTER (5) error.

markdowneditor.js line 292:
o = document.createElement ("<" + name + ' name="' + attributes.name + '">');

This is not correct useage of createElement. I recoded to this and it worked:

o = document.createElement (name);
o.setAttribute('name', attributes.name)

HOWEVER this still leaves a whole bunch of bugs, specifically with the Function.prototype imported helpers.
I'm forced to set the document standards to IE-8.

This module is not compatible with IE9 - hoping someone can help fix this.

Comments

mugginsoft.net’s picture

This issue persists in IE 9 and is not resolved in the current development release.
In particular the Heading and Footnote buttons are throwing errors.

Forcing IE to use the IE 8 document compatibility mode produces a working solution, though it is obviously less than ideal. The following meta tag defines IE 8 emulation and can included in page.tpl.php following <head>.

<!-- Mimic Internet Explorer 8 for BUEditor Markdown -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" >

Current versions of Safari, Firefox and Chrome are unaffected.

tmsimont’s picture

Version: 6.x-1.1 » 7.x-1.x-dev

I can confirm this is still an issue in 7.x-1.x-dev

The IMCE plugin also has errors. Thanks mugginsoft for the hints

Has this module been abandoned?

frjo’s picture

Assigned: Unassigned » frjo
Status: Active » Postponed (maintainer needs more info)

I have just become co-maintainer of this module and have committed some new code to 7-dev. I have removed all the old IE hacks.

I'm interested in having it work for IE9 and later. Please test 7-dev and report back here.

frjo’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (outdated)