This commit is contained in:
j3d1 2024-06-07 19:02:03 +02:00
parent c4b12928eb
commit 3cd998b60f

View file

@ -2,8 +2,8 @@
<h3 class="text-center">Message Templates</h3>
<ul>
<li v-for="template in messageTemplates" :key="template.id">
{{ template.name }}<br>
<FormatedText :value="template.message" :format="formatText"
<b>{{ template.name }}</b><br>
<FormatedText :value="template.message" :format="formatText" class="template-message"
@input="changeMessageTemplate(template.id, $event)"/>
</li>
</ul>
@ -53,4 +53,11 @@ pre {
word-wrap: break-word;
color: inherit;
}
.template-message {
border: none;
margin-left: 8em;
white-space: pre-wrap;
word-wrap: break-word;
}
</style>