Set auto-focus when editing content and images