3
0

Refactor multiline delimiter class to wrap text to a newline

This commit is contained in:
Kelani Tolulope
2024-01-25 15:08:31 +01:00
parent d343b38c86
commit d82c5e6400
2 changed files with 3 additions and 3 deletions

View File

@@ -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>

View File

@@ -82,6 +82,6 @@ export default {
<style>
.multiline {
white-space: pre-line;
white-space: pre;
}
</style>