From e847215964bc02cf402eace30d6c9e19f5f0f0cf Mon Sep 17 00:00:00 2001
From: bobzel
Date: Thu, 7 Sep 2023 01:28:27 -0400
Subject: truncate link descriptions over link lines. Fix schema view issues
with multiline inputs. fix '#' field assignment for title bar of docs.
fixed dashFieldView to read fields from texstbox by fixing FindDocByTitle to
not match undefind. Don't end link_description input on Enter to allow
multiline inputs.
---
src/client/views/linking/LinkMenuItem.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'src/client/views/linking')
diff --git a/src/client/views/linking/LinkMenuItem.tsx b/src/client/views/linking/LinkMenuItem.tsx
index 0a9d7543b..bf2a4e1a9 100644
--- a/src/client/views/linking/LinkMenuItem.tsx
+++ b/src/client/views/linking/LinkMenuItem.tsx
@@ -197,7 +197,7 @@ export class LinkMenuItem extends React.Component {
{this.props.linkDoc.linksToAnnotation && Cast(this.props.destinationDoc.data, WebField)?.url.href === this.props.linkDoc.annotationUri ? 'Annotation in' : ''} {StrCast(title)}
- {!this.props.linkDoc.link_description ? null : {StrCast(this.props.linkDoc.link_description)}
}
+ {!this.props.linkDoc.link_description ? null : {StrCast(this.props.linkDoc.link_description).split('\n')[0].substring(0, 50)}
}
--
cgit v1.2.3-70-g09d2