From 9fdb305fb5c2345fbbf6f999861ff6156ea54551 Mon Sep 17 00:00:00 2001 From: Magne Bratseth Date: Fri, 11 Mar 2016 12:06:10 +0100 Subject: [PATCH] Change the text input bindings to catch more input events --- editor/svg-editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/svg-editor.js b/editor/svg-editor.js index edf1ceac..59d3dcea 100644 --- a/editor/svg-editor.js +++ b/editor/svg-editor.js @@ -2961,7 +2961,7 @@ TODOS svgCanvas.setSegType($(this).val()); }); - $('#text').keyup(function() { + $('#text').bind("change keyup input", function() { svgCanvas.setTextContent(this.value); });