Setting focus (automatically) in TinyMce editor

My users edit their “rich” text by means of TinyMce editor embedded in a window. Everything works fine except that every time the window opens they start typing away expecting that the focus is set, only to realize that nothing they just typed in was recorded.

http://webix.com/snippet/84262d51

The only way of autosetting focus i can imagine is to append a script tag to the iframe.

Is there a better way of doing this?

I can confirm the issue.

Somehow the existing solution doesn’t work anymore ( code calls .focus method of tinymce, after the component is initialized, but it doesn’t have any visible effect )

We will check how it can be solved.

Great!