Debugging HTMLArea-3.0-rc1

Mon 23rd August 2004 16:48 EEST

There were two bugs in htmlarea.js that affected some of the end users.

  1. Language file not loaded: those who use MS Internet Explorer and/or any other language than English found out that the HTMLArea.I18n.lang variable was not set. This was obviously due to the fact that the requested variable was not set at the time of loading. I remedied the situation by using the global variable _editor_lang .
  2. Those using Finnish keyboard (might affect some other keybs too) found out that they couldn't use AltGr (Alt+Ctrl) -key to insert characters like $, €, @, etc. The problem here was that HTMLArea didn't check for Alt-key when waiting for keyboard shortcuts (like undo, bold, etc.). The problem was fixed by adding !ev.altKey to the if statement.

Both fixes have been applied to the MidCOM CVS server and will be out in the next CVS commit. Both of the problems may also have been resolved in the CVS version of the HTMLArea.