I tried looking in the inner code but did not find the right code... Does anyone know where exactly the texteara is created, so i can insert a the tabindex?
If i know can set the tabindex for the texteara, I want to set the tabindex as a var, so that i can specify the tabindex everytime i call the editor
Hello, I know this is an old message, but I had a similar problem, and maybe the solution could be included in the fckeditor sources as I find it useful. The problem I had was using tabindex with multiple editors in one page, I managed to get it working by specifying it in the <textarea> and then in the fckeditor.js by modifying the following:
I still have a problem though, if I tab till the first editor I cannot tab out of it, I guess because the tab key event get catched for something else (inserting tabs in the editor?)...
any hints? maybe the latest version solves this? (I am using a >6 month old version atm)
Check out the "Copy textarea.tabIndex on ReplaceTextarea" ticket at our dev site. There is a patch proposal for it there, which includes the TabIndex property for the JavaScript integration files.
How do you set the TabIndex now? I have the latest version (2.6.2), and have not found where to set the tabindex property.
I have two editor items on the same page. They are directly one after another, so I suppose I can set the tabindex for them to be the same. However, I'm using the editor on other pages and would like to specify the tabindex for each editor individually.
RE: TabIndex?
RE: TabIndex?
//## Spaces ( ) to add on TAB
config.TabSpaces = 4 ;
Is this what you're looking for?
Hope this helps...
RE: TabIndex?
RE: TabIndex?
Does anyone know where exactly the texteara is created, so i can insert a the tabindex?
If i know can set the tabindex for the texteara, I want to set the tabindex as a var, so that i can specify the tabindex everytime i call the editor
Thanks for your help!
RE: TabIndex?
Re: TabIndex?
find there a string:
return '<iframe id="' + this.InstanceName + '___Frame" src="' + sLink + '" width="' + this.Width + '" height="' + this.Height + '" frameborder="0" scrolling="no" tabindex=4></iframe>' ;
and add to the end of iframe tabindex=4 like i do. works great !
Re: TabIndex?
The problem I had was using tabindex with multiple editors in one page, I managed to get it working by specifying it in the <textarea> and then in the fckeditor.js by modifying the following:
<iframe id="' + this.InstanceName + '___Frame" src="' + sLink + '" width="' + this.Width + '" height="' + this.Height + '" frameborder="0" scrolling="no" tabindex="'+document.getElementById( this.InstanceName ).tabIndex+'"></iframe>
I still have a problem though, if I tab till the first editor I cannot tab out of it, I guess because the tab key event get catched for something else (inserting tabs in the editor?)...
any hints?
maybe the latest version solves this? (I am using a >6 month old version atm)
C.
Re: TabIndex?
This feature is not available.
Check out the "Copy textarea.tabIndex on ReplaceTextarea" ticket at our dev site. There is a patch proposal for it there, which includes the TabIndex property for the JavaScript integration files.
Frederico Knabben
CKEditor Project Lead and CKSource Owner
--
Follow us on: Twitter | Facebook | Google+ | LinkedIn
Re: TabIndex?
I have two editor items on the same page. They are directly one after another, so I suppose I can set the tabindex for them to be the same. However, I'm using the editor on other pages and would like to specify the tabindex for each editor individually.
Thank you
Re: TabIndex?