Skip to main content
[bug] - the editor's textarea doesn't preserve tab-index Started by emanuele · · Read 9669 times 0 Members and 1 Guest are viewing this topic. previous topic - next 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