editor onfocus

How can I detect when an Editor object got focus?

Hi
Need to specify: do you mean its buttons or content zone?
Editor content zone is a div.
There is a way to get it:
editor.base.firstChild.childNodes[1]

You can get content and add focus to some element of it…