diff options
author | bob <bcz@cs.brown.edu> | 2019-05-07 13:48:49 -0400 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-05-07 13:48:49 -0400 |
commit | dc9275ec0308ecca1246942a1cf9ef342e9e3300 (patch) | |
tree | 5bd434399fdd808417021b3675a3a7a1f4c3d7c0 /src/client/documents/Documents.ts | |
parent | 20f31796ed6f6c9fb71fa80cf858a7ac353300cf (diff) |
changed css for text background colors. made api to add text to new textboxes.. added ctrl-q to paste text in boxes based on "paragraph" recognition rules.
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r-- | src/client/documents/Documents.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts index 37d263e75..a770ccc93 100644 --- a/src/client/documents/Documents.ts +++ b/src/client/documents/Documents.ts @@ -132,7 +132,7 @@ export namespace Docs { } function CreateTextPrototype(): Doc { let textProto = setupPrototypeOptions(textProtoId, "TEXT_PROTO", FormattedTextBox.LayoutString(), - { x: 0, y: 0, width: 300, height: 150 }); + { x: 0, y: 0, width: 300, height: 150, backgroundColor: "#f1efeb" }); return textProto; } function CreatePdfPrototype(): Doc { |