How to make auto focus editor


How to make a auto focus editor?

@subview 'cmdEditor', new EditorView(mini: true, placeholderText: 'input your command here')

It is not focus after created. I want to auto focus it. How can I do it?


This should work.


You can see this repo as an example.


Thank you very much, it works