htmlArea

A directory of browser-based WYSIWYG editors

  MAIN
INDEX
SEARCH
POSTS
WHO'S
ONLINE
LOG
IN

Home: htmlArea 3 (beta): htmlArea 2 & 3 archive (read only): htmlArea v3.0 - Bug Reports & Fixes:
Bug: Can't type @ - it gives me a h2 tag!?


The htmlArea 2 & 3 editors have been discontinued.

We've made these forums available as a read-only reference and knowledge-base for people using or developing editors based on htmlArea 2 or 3.

Anyone who is interested in taking over version 2 or 3 is free to do so. All we ask is that you choose a new name that doesn't have "htmlarea" in it to avoid confusion with this site. We'll even give you a link in the directory to make it easier for people to find you. If you are developing or hosting an htmlArea based-editor under a new name, please submit it to our directory.

 


fredpallesen
New User

Feb 3, 2005, 12:47 AM

Post #1 of 1 (6051 views)
Shortcut
Bug: Can't type @ - it gives me a h2 tag!? Can't Post

I am on a norgegian keyboard and the @ character is
located on the [Alt Gr] + 2

The moment I press it ... the text becomes <h2>!!

Guess I have to look somewhere near the
if (keyEvent && ev.ctrlKey) { ... code in the
htmlarea.js file ...

This looks like it:
// headings
case '1':
case '2':
case '3':
case '4':
case '5':
case '6':
cmd = "formatblock";
value = "h" + key;
if (HTMLArea.is_ie) {
value = "<" + value + ">";
}
break;


But I do not use [Alt] ... I use [Alt Gr] ...
hmm ... how may I test for that?

 
 
 


Search for (options)