diff options
| author | Henry Jameson <me@hjkos.com> | 2021-06-10 12:08:31 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2021-06-10 12:29:58 +0300 |
| commit | aec867b30036fd039113e4197ca98566447efec6 (patch) | |
| tree | 556505243aff6bd951ef8115726f1dc2e03bfda7 /src/components/status_body/status_body.vue | |
| parent | 566964992a394f1d0462557f70e284f2493d82bf (diff) | |
Moved greentext to RichContent, improved how first mentions are
restored, now shows mentions not uh, mention in post body
Diffstat (limited to 'src/components/status_body/status_body.vue')
| -rw-r--r-- | src/components/status_body/status_body.vue | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/src/components/status_body/status_body.vue b/src/components/status_body/status_body.vue index fae2d594..ff919211 100644 --- a/src/components/status_body/status_body.vue +++ b/src/components/status_body/status_body.vue @@ -10,7 +10,6 @@ class="media-body summary" :html="status.summary_raw_html" :emoji="status.emojis" - @click.prevent="linkClicked" /> <button v-if="longSubject && showingLongSubject" @@ -43,19 +42,22 @@ class="text-wrapper" v-if="!hideSubjectStatus && !(singleLine && status.summary_html)" > - <MentionsLine - v-if="!mentionsOwnLine" - :attentions="status.attentions" - class="mentions-line" - /> <RichContent :class="{ '-single-line': singleLine }" class="text media-body" - :html="postBodyHtml" + :html="status.raw_html" :emoji="status.emojis" :handle-links="true" - @click.prevent="linkClicked" - /> + :greentext="mergedConfig.greentext" + > + <template v-slot:prefix> + <MentionsLine + v-if="!mentionsOwnLine" + :mentions="mentions" + class="mentions-line" + /> + </template> + </RichContent> </span> <button |
