diff options
author | bobzel <zzzman@gmail.com> | 2025-03-07 10:20:19 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2025-03-07 10:20:19 -0500 |
commit | ccf4d9438012ed7d2e19e4a55166f1bc6ce3e952 (patch) | |
tree | 7abcd16999f6225bb5b677de89a6c94141803d3a /src/client/documents/Documents.ts | |
parent | 696ae072b1f00d616450d76bc016aebcc1c102fc (diff) |
cleaned up RTF creation w/ styles. fixed scripting compile bug when unused functions were considered not found.
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 d21fa04d4..e1aa9aca2 100644 --- a/src/client/documents/Documents.ts +++ b/src/client/documents/Documents.ts @@ -927,7 +927,7 @@ export namespace Docs { return InstanceFromProto( Prototypes.get(DocumentType.JOURNAL), - typeof text === 'string' ? RichTextField.textToRtfFormatting(text, undefined, undefined, styles) : text, + typeof text === 'string' ? RichTextField.textToRtf(text, undefined, styles, undefined) : text, { title: new Date().toLocaleDateString(undefined, { weekday: 'long', |