Skip to content

Commit

Permalink
Refactor multiline delimiter class to wrap text to a newline
Browse files Browse the repository at this point in the history
  • Loading branch information
kelanik8 committed Jan 25, 2024
1 parent 0686be2 commit 1866d75
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
class="rt-content"
>
<p
:style="{ 'white-space': 'pre-wrap' }"
:class="{'multiline': field.isMulti || field.options.multiLine }"
:style="{ 'white-space': field.options.useRichTextEditor && 'pre-line' }"
:class="{ 'multiline': field.isMulti || field.options.multiLine }"
v-html="formatted"
/>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,6 @@ export default {

<style>
.multiline {
white-space: pre-line;
white-space: pre;
}
</style>

0 comments on commit 1866d75

Please sign in to comment.