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 - Discussion:
Problem with return


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.

 


abuenog
New User

Sep 13, 2004, 3:48 AM

Post #1 of 1 (3351 views)
Shortcut
Problem with return Can't Post

Code

Hello,

I have actived this code to work with <br>:


Code
  

else if
(keyEvent) {

// other keys here

switch (ev.keyCode) {

case
13: // KEY enter

if (HTMLArea.is_ie) {

this
.insertHTML("<br/>");

HTMLArea._stopEvent(ev);

}

break
;

}

}




But when I press the return, the focus not change to the new line. The code <br> is created, but the focus is not moved to the new line.

Is normal this behaviour?

 
 
 


Search for (options)