Skip to content

Commit

Permalink
feat: Update the content details body to relay on the content details…
Browse files Browse the repository at this point in the history
… extension - EXO-73250 - Meeds-io/meeds#2478 (#261)
  • Loading branch information
sofyenne authored and exo-swf committed Oct 15, 2024
1 parent 3bc7846 commit 63d2d8a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,23 @@
<span>
{{ newsTitle }}
</span>
<span class="ms-3">
<span>
<content-translation-menu
:translations="translations"
:selected-translation="selectedTranslation"
:article="news" />
</span>
<extension-registry-components
name="NewsDetails"
type="content-details-extension"
:params="{
entityId: news.latestVersionId,
editMode: false,
entityType: 'WIKI_PAGE_VERSIONS'
}"
element-class="ms-3"
parent-element="span"
element="span" />
</p>
</div>
<p
Expand Down Expand Up @@ -107,11 +118,6 @@
<div
class="mt-8 rich-editor-content extended-rich-content"
v-sanitized-html="newsBody">
<extension-registry-components
:params="{attachmentsIds: attachmentsIds}"
name="NewsDetails"
type="news-details-attachments"
element="div" />
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<v-icon
size="22"
:class="langButtonColor"
class="remove-focus my-auto pa-0 pe-1"
class="ms-5 remove-focus my-auto pa-0 pe-1"
v-bind="attrs"
v-on="on">
fa-language
Expand Down

0 comments on commit 63d2d8a

Please sign in to comment.