From 8dd02b1b84a3b483e68a0af00b61b8ae39920458 Mon Sep 17 00:00:00 2001 From: bobzel Date: Mon, 7 Jul 2025 08:56:59 -0400 Subject: fontSize fix for equationBoxes --- src/client/views/nodes/EquationBox.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/client/views/nodes/EquationBox.tsx b/src/client/views/nodes/EquationBox.tsx index 2ce24b688..3549cc5d3 100644 --- a/src/client/views/nodes/EquationBox.tsx +++ b/src/client/views/nodes/EquationBox.tsx @@ -70,7 +70,7 @@ export class EquationBox extends ViewBoxBaseComponent() { y: NumCast(this.layoutDoc.y) + NumCast(this.Document._height) + 10, backgroundColor: StrCast(this.Document.backgroundColor), color: StrCast(this.Document.color), - fontSize: this.fontSize, + text_fontSize: this.fontSize, }); DocumentView.SetSelectOnLoad(nextEq); this._props.addDocument?.(nextEq); @@ -158,7 +158,7 @@ Docs.Prototypes.TemplateMap.set(DocumentType.EQUATION, { acl: '', _xMargin: 10, _yMargin: 10, - fontSize: '14px', + text_fontSize: '14px', _nativeWidth: 40, _nativeHeight: 40, _layout_reflowHorizontal: false, -- cgit v1.2.3-70-g09d2 From d4156e3e178a321de0e5497da08a2c2a49faa2fd Mon Sep 17 00:00:00 2001 From: bobzel Date: Tue, 8 Jul 2025 11:11:22 -0400 Subject: fixed search --- src/client/util/SearchUtil.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/client/util/SearchUtil.ts b/src/client/util/SearchUtil.ts index 2f23d07dc..8077445f6 100644 --- a/src/client/util/SearchUtil.ts +++ b/src/client/util/SearchUtil.ts @@ -59,7 +59,7 @@ export namespace SearchUtil { * An array of all field names used by the Doc or its prototypes. */ export function documentKeys(doc: Doc) { - return Object.keys(Doc.GetAllPrototypes(doc).filter(proto => proto).reduce( + return Array.from(Doc.GetAllPrototypes(doc).filter(proto => proto).reduce( (keys, proto) => { Object.keys(proto).forEach(keys.add.bind(keys)); return keys; -- cgit v1.2.3-70-g09d2 From fbbf2933418cc9a4434cfc873b88d04a392cd8e9 Mon Sep 17 00:00:00 2001 From: bobzel Date: Tue, 8 Jul 2025 11:14:36 -0400 Subject: fixed resizing of chatbox --- src/client/views/nodes/chatbot/chatboxcomponents/ChatBox.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/client/views/nodes/chatbot/chatboxcomponents/ChatBox.tsx b/src/client/views/nodes/chatbot/chatboxcomponents/ChatBox.tsx index 8043111b9..15b148372 100644 --- a/src/client/views/nodes/chatbot/chatboxcomponents/ChatBox.tsx +++ b/src/client/views/nodes/chatbot/chatboxcomponents/ChatBox.tsx @@ -1043,5 +1043,5 @@ export class ChatBox extends ViewBoxAnnotatableComponent() { */ Docs.Prototypes.TemplateMap.set(DocumentType.CHAT, { layout: { view: ChatBox, dataField: 'data' }, - options: { acl: '', _layout_fitWidth: true, chat: '', chat_history: '', chat_thread_id: '', chat_assistant_id: '', chat_vector_store_id: '' }, + options: { acl: '', _layout_nativeDimEditable: true, _layout_fitWidth: true, chat: '', chat_history: '', chat_thread_id: '', chat_assistant_id: '', chat_vector_store_id: '' }, }); -- cgit v1.2.3-70-g09d2