Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

Commit

Permalink
Prevent extra whitespaces from disappearing in String rich text viewer
Browse files Browse the repository at this point in the history
  • Loading branch information
Fajfa committed Oct 28, 2022
1 parent b3ded1b commit db1ace1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/ModuleFields/Viewer/String.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
class="rt-content"
>
<p
:style="{ 'white-space': 'pre-wrap' }"
:class="{'multiline': field.isMulti || field.options.multiLine }"
v-html="formatted"
/>
Expand Down

0 comments on commit db1ace1

Please sign in to comment.