diff options
author | bob <bcz@cs.brown.edu> | 2020-01-06 09:42:08 -0500 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2020-01-06 09:42:08 -0500 |
commit | 8ae1d973896f8629e5d2030f756b7b63df530ad2 (patch) | |
tree | 16bf51abdb458495d2ec2caeaf1b59a9ebc63a58 /src/client/util/RichTextSchema.tsx | |
parent | 50e5da90b9b46d4c54af34621cf13dbd81a43ad4 (diff) |
added showPreview flag to text hyperlinks
Diffstat (limited to 'src/client/util/RichTextSchema.tsx')
-rw-r--r-- | src/client/util/RichTextSchema.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/util/RichTextSchema.tsx b/src/client/util/RichTextSchema.tsx index 622e71812..4fead71e5 100644 --- a/src/client/util/RichTextSchema.tsx +++ b/src/client/util/RichTextSchema.tsx @@ -274,6 +274,7 @@ export const marks: { [index: string]: MarkSpec } = { link: { attrs: { href: {}, + showPreview: { default: true }, location: { default: null }, title: { default: null }, docref: { default: false } // flags whether the linked text comes from a document within Dash. If so, an attribution label is appended after the text |