From 8cecbcb66d0d377ad7c40bee5b3b42fb72239ddb Mon Sep 17 00:00:00 2001 From: Nathan-SR <144961007+Nathan-SR@users.noreply.github.com> Date: Sun, 1 Sep 2024 17:16:01 -0400 Subject: commit --- src/client/documents/Documents.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/client/documents') 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'); -- cgit v1.2.3-70-g09d2