Folks,
Hopefully a simple question for the person who already knows the answer.
I've got a small project I'm working on to set up a simple web editor; the
situation is such that fckeditor would be overkill, but I've used fckeditor
in the past so I thought I might be able to glean an answer by looking at
its code base. I'm just finding it too complicated to track down the
answer.
How do you prevent the default HTML form behavior where hitting the tab
key causes focus to shift to the next entity in the form? I want to make
it possible for the user to type tabs into the text area and submit that
text when entering "code examples". I can't seem to track down an answer
to the problem, though. At first I thought I could use some sort of onblur
handler on the textarea to suppress the behavior, then I found a few hints
that it could be done with CSS styling on the textarea, but nothing has
panned out as I've tried to track it down. Obviously, fckeditor does not
lose focus when you type tabs into it -- how is this being accomplished?
thanks,
Jim
Hopefully a simple question for the person who already knows the answer.
I've got a small project I'm working on to set up a simple web editor; the
situation is such that fckeditor would be overkill, but I've used fckeditor
in the past so I thought I might be able to glean an answer by looking at
its code base. I'm just finding it too complicated to track down the
answer.
How do you prevent the default HTML form behavior where hitting the tab
key causes focus to shift to the next entity in the form? I want to make
it possible for the user to type tabs into the text area and submit that
text when entering "code examples". I can't seem to track down an answer
to the problem, though. At first I thought I could use some sort of onblur
handler on the textarea to suppress the behavior, then I found a few hints
that it could be done with CSS styling on the textarea, but nothing has
panned out as I've tried to track it down. Obviously, fckeditor does not
lose focus when you type tabs into it -- how is this being accomplished?
thanks,
Jim