From a6bd51b13b3f571718f6db9161fdbbc497582336 Mon Sep 17 00:00:00 2001 From: bob Date: Mon, 18 Mar 2019 08:50:20 -0400 Subject: fixed missing first character when typing bug --- src/client/views/collections/PreviewCursor.tsx | 1 - 1 file changed, 1 deletion(-) (limited to 'src') diff --git a/src/client/views/collections/PreviewCursor.tsx b/src/client/views/collections/PreviewCursor.tsx index cbcfa568d..cbf36cf9e 100644 --- a/src/client/views/collections/PreviewCursor.tsx +++ b/src/client/views/collections/PreviewCursor.tsx @@ -59,7 +59,6 @@ export class PreviewCursor extends React.Component { let newBox = Documents.TextDocument({ width: 200, height: 100, x: x, y: y, title: "new" }); this.props.addLiveTextDocument(newBox); e.stopPropagation(); - e.preventDefault(); } } -- cgit v1.2.3-70-g09d2