diff --git a/list-editor/index.js b/list-editor/index.js index 5425ddc..20a7722 100644 --- a/list-editor/index.js +++ b/list-editor/index.js @@ -369,9 +369,10 @@ function editor(root, inputData, options) { currentElement.addClass('editor'); $textarea.focus() $textarea.data(cursor.getCurrent(store)) - $textarea.textareaAutoSize() currentEditor = $textarea trigger('start-editing', currentEditor[0]) + $textarea.trigger('input') + $textarea.textareaAutoSize() return $textarea }