aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
authorNathan-SR <144961007+Nathan-SR@users.noreply.github.com>2024-09-01 17:16:01 -0400
committerNathan-SR <144961007+Nathan-SR@users.noreply.github.com>2024-09-01 17:16:01 -0400
commit8cecbcb66d0d377ad7c40bee5b3b42fb72239ddb (patch)
treeaed9b5cd5ecff73ce7c5d6f46cdc93b4683e3591 /src/client/documents/Documents.ts
parentdbfb364da14c2d080f0c465a5519a25821a477c6 (diff)
commit
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r--src/client/documents/Documents.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts
index 723f851c6..40b0a2a32 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -20,6 +20,7 @@ import { PointData } from '../../pen-gestures/GestureTypes';
import { DocServer } from '../DocServer';
import { dropActionType } from '../util/DropActionTypes';
import { CollectionViewType, DocumentType } from './DocumentTypes';
+import { MarkType } from 'prosemirror-model';
class EmptyBox {
public static LayoutString() {
@@ -240,6 +241,8 @@ export class DocumentOptions {
borderWidth?: STRt = new StrInfo('Width of user-added border', false);
borderColor?: STRt = new StrInfo('Color of user-added border', false);
+ text_fontColor?: STRt = new StrInfo('Color of text', false);
+ text_align?: STRt = new StrInfo('alignment');
layout?: string | Doc; // default layout string or template document
layout_isSvg?: BOOLt = new BoolInfo('whether document decorations and other selections should handle pointerEvents for svg content or use doc bounding box');