Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 1.8
-
Fix Version/s: None
-
Component/s: HTML Editor
-
Labels:None
-
Environment:Internet Explorer 6 and 7
-
Affected Branches:MOODLE_18_STABLE
Description
Can't get polish characters in HTML Editor using IE. For example pressing Alt + L displays a window for Ctrl + Alt + L but not our polish "?" character. Firefox works OK.
I can confirm this, IE seems to mistakenly treat presses like Alt+L as Ctrl+Alt+L. There is a workaround, in case someone finds it useful:
In file /moodle/lib/editor/htmlarea/htmlarea.php, the line 2205 number (as of Moodle 1.8.4+ on 2008-02-23) says currently
} else if (ev.ctrlKey && ev.altKey) { A "brutal" workaround for this bug is to change this line to } else if (ev.ctrlKey && ev.altKey && (!HTMLArea.is_ie)) {
This disables Ctrl+Alt+* shortcuts under IE, but at least Polish characters work Ok. Non-IE browsers are not affected.