diff --git a/src/text-editor-component.js b/src/text-editor-component.js index 93c69959c..cfdb3d489 100644 --- a/src/text-editor-component.js +++ b/src/text-editor-component.js @@ -551,8 +551,7 @@ class TextEditorComponent { children = [ this.renderLineTiles(), this.renderBlockDecorationMeasurementArea(), - this.renderCharacterMeasurementLine(), - this.renderPlaceholderText() + this.renderCharacterMeasurementLine() ] } else { children = [ @@ -633,6 +632,7 @@ class TextEditorComponent { style.height = this.getScrollHeight() + 'px' } + children.push(this.renderPlaceholderText()) children.push(this.renderCursorsAndInput()) return $.div(