Trigger input and autosize together
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
dcdf2fd0ab
commit
2b8dc55ff0
|
@ -369,9 +369,10 @@ function editor(root, inputData, options) {
|
||||||
currentElement.addClass('editor');
|
currentElement.addClass('editor');
|
||||||
$textarea.focus()
|
$textarea.focus()
|
||||||
$textarea.data(cursor.getCurrent(store))
|
$textarea.data(cursor.getCurrent(store))
|
||||||
$textarea.textareaAutoSize()
|
|
||||||
currentEditor = $textarea
|
currentEditor = $textarea
|
||||||
trigger('start-editing', currentEditor[0])
|
trigger('start-editing', currentEditor[0])
|
||||||
|
$textarea.trigger('input')
|
||||||
|
$textarea.textareaAutoSize()
|
||||||
return $textarea
|
return $textarea
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user