Refactor multiline delimiter class to wrap text to a newline
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -82,6 +82,6 @@ export default {
|
||||
|
||||
<style>
|
||||
.multiline {
|
||||
white-space: pre-line;
|
||||
white-space: pre;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user