Fix focus for RTE

This commit is contained in:
Urban Rotnik 2019-10-04 14:55:14 +02:00
parent 8176ce3a9d
commit bd1c5e4454

View file

@ -278,7 +278,9 @@ var TinyMCE = (function() {
.removeClass('hidden');
// Set cursor to the end of the content
editor.focus();
if (editor.settings.id !== 'step_description_textarea') {
editor.focus();
}
editor.selection.select(editor.getBody(), true);
editor.selection.collapse(false);