Documentation
Focus
focus
Type: Boolean
Default: false
By default, Redactor doesn't receive focus on load, because there may be other input fields on a page. However, to set focus to Redactor, you can use this setting:
$R('#content', {
focus: true
});
focusEnd
Type: Boolean
Default: false
This setting allows to set focus after the last character in Redactor:
$R('#content', {
focusEnd: true
});
dkjgvo65776inru43654