Skip to main content
Topic: [bug] - the editor's textarea doesn't preserve tab-index (Read 6164 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[bug] - the editor's textarea doesn't preserve tab-index

Start a new topic
enter the subject
press tab
the focus is moved to the "post" button while it should go to the textarea.

It may be related to the upgrade to SCEditor 1.4, I fixed it somewhere for the previous version of SCEditor.
If I remember (or you are not faster) I can try to do a diff.
Bugs creator.
Features destroyer.
Template killer.

Re: [bug] - the editor's textarea doesn't preserve tab-index

Reply #1

If you get a change to find that would be  8)  ... there are several other things not quite right since I moved it to 1.4.  Sounds like Sam will be making a mod for SMF as well so that will help us see how he goes about integrating things.

Re: [bug] - the editor's textarea doesn't preserve tab-index

Reply #2

 emanuele takes note
Bugs creator.
Features destroyer.
Template killer.

Re: [bug] - the editor's textarea doesn't preserve tab-index

Reply #3

Code: [Select]
			
$sourceEditor = $('<textarea></textarea>').attr('tabindex', $original.attr('tabindex')).hide();
$wysiwygEditor = $('<iframe frameborder="0"></iframe>').attr('tabindex', $original.attr('tabindex'));

Needed to add this from the 1.3.7 version you did (with the name changes needed by 1.4) ... really it should be opened as an issue on sceditor, as it should check for tabindex and respect that when it initializes.

Anyway should be fixed now