Skip to content

Commit 351e5c8

Browse files
authored
Merge pull request #8 from EdwinHoksberg/feature/show-content-button
Excerpt component for hiding content by default on review page
2 parents 9ed22a2 + 3bb86a3 commit 351e5c8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/js/field.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/js/components/DetailField.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<panel-item :field="field">
33
<template slot="value">
4-
<div class="trumbowyg-details" v-html="field.value"></div>
4+
<excerpt class="trumbowyg-details" :content="field.value" />
55
</template>
66
</panel-item>
77
</template>

0 commit comments

Comments
 (0)