diff options
author | geireann <60007097+geireann@users.noreply.github.com> | 2021-08-24 09:31:32 -0400 |
---|---|---|
committer | geireann <60007097+geireann@users.noreply.github.com> | 2021-08-24 09:31:32 -0400 |
commit | 7bad6629a38f2e338be2150d86248d06a4fddda5 (patch) | |
tree | a1ec86c9820e02c11adf8a16a14fae4aa41ab8e1 /src/client/documents/Documents.ts | |
parent | 44a2517ca0f153e63a75bfdef5e624ac24acaa28 (diff) |
create text document
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r-- | src/client/documents/Documents.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts index 57015e241..9ba31da3b 100644 --- a/src/client/documents/Documents.ts +++ b/src/client/documents/Documents.ts @@ -1151,6 +1151,8 @@ export namespace DocUtils { description: ":" + StrCast(note.title), event: undoBatch((args: { x: number, y: number }) => { const textDoc = Docs.Create.TextDocument("", { + _fontFamily: StrCast(Doc.UserDoc()._fontFamily), + _fontSize: StrCast(Doc.UserDoc()._fontSize), _width: 200, x, y, _autoHeight: note._autoHeight !== false, title: StrCast(note.title) + "#" + (note.aliasCount = NumCast(note.aliasCount) + 1) }); |