aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/PreviewCursor.tsx
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2020-01-25 12:01:15 -0500
committerBob Zeleznik <zzzman@gmail.com>2020-01-25 12:01:15 -0500
commite78f2663901b4cbd9fddc3418e40b8798ecfd994 (patch)
tree36fce56f0687418c7872fd0a03daf7f5b9c1b6f0 /src/client/views/PreviewCursor.tsx
parent2fac43821ee90ef914c79923b63425aefcdc8e39 (diff)
added text templates for FormattedText, added field views in formatted text box, got rid of documentText @@@ initing of FormattedText
Diffstat (limited to 'src/client/views/PreviewCursor.tsx')
-rw-r--r--src/client/views/PreviewCursor.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/PreviewCursor.tsx b/src/client/views/PreviewCursor.tsx
index b1c84667d..c011adb20 100644
--- a/src/client/views/PreviewCursor.tsx
+++ b/src/client/views/PreviewCursor.tsx
@@ -49,7 +49,7 @@ export class PreviewCursor extends React.Component<{}> {
}
// creates text document
- return PreviewCursor._addLiveTextDoc(Docs.Create.TextDocument({
+ return PreviewCursor._addLiveTextDoc(Docs.Create.TextDocument("", {
_width: 500,
limitHeight: 400,
_autoHeight: true,