diff options
| author | Melissa Zhang <mzhang19096@gmail.com> | 2020-07-30 15:38:44 -0700 | 
|---|---|---|
| committer | Melissa Zhang <mzhang19096@gmail.com> | 2020-07-30 15:38:44 -0700 | 
| commit | 3d02d928ad869b9157019aec356e2f1ea2ce47d6 (patch) | |
| tree | 00c9ccb1b5487f145b7512d4531757731781249b /src/client/views/nodes/formattedText/marks_rts.ts | |
| parent | ba8549220295d03fb7eb7d7d31c90af72b30b1a6 (diff) | |
| parent | a9ec139961b0262698851cd7e2dd3430a0acddd7 (diff) | |
merge with master
Diffstat (limited to 'src/client/views/nodes/formattedText/marks_rts.ts')
| -rw-r--r-- | src/client/views/nodes/formattedText/marks_rts.ts | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/client/views/nodes/formattedText/marks_rts.ts b/src/client/views/nodes/formattedText/marks_rts.ts index f95f46104..bcd6f716b 100644 --- a/src/client/views/nodes/formattedText/marks_rts.ts +++ b/src/client/views/nodes/formattedText/marks_rts.ts @@ -40,7 +40,7 @@ export const marks: { [index: string]: MarkSpec } = {              return node.attrs.docref && node.attrs.title ?                  ["div", ["span", `"`], ["span", 0], ["span", `"`], ["br"], ["a", { ...node.attrs, href: node.attrs.allLinks[0].href, class: "prosemirror-attribution" }, node.attrs.title], ["br"]] :                  node.attrs.allLinks.length === 1 ? -                    ["a", { ...node.attrs, class: linkids, targetids, title: `${node.attrs.title}`, href: node.attrs.allLinks[0].href }, 0] : +                    ["a", { ...node.attrs, class: linkids, targetids, style: `text-decoration: ${linkids === " " ? "underline" : undefined}`, title: `${node.attrs.title}`, href: node.attrs.allLinks[0].href }, 0] :                      ["div", { class: "prosemirror-anchor" },                          ["span", { class: "prosemirror-linkBtn" },                              ["a", { ...node.attrs, class: linkids, targetids, title: `${node.attrs.title}` }, 0], | 
