Skip to content

Commit

Permalink
Merge pull request #1129 from basecamp/request-render
Browse files Browse the repository at this point in the history
Request render after insertReplacementText
  • Loading branch information
Alberto Fernández-Capel authored Feb 2, 2024
2 parents cadc7bb + 4f4b54c commit 053a1a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/trix/controllers/level_2_input_controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,8 @@ export default class Level2InputController extends InputController {
},

insertReplacementText() {
return this.insertString(this.event.dataTransfer.getData("text/plain"), { updatePosition: false })
this.insertString(this.event.dataTransfer.getData("text/plain"), { updatePosition: false })
this.requestRender()
},

insertText() {
Expand Down

0 comments on commit 053a1a4

Please sign in to comment.