늘어짐 수정정
All checks were successful
LocalNet_front/pipeline/head This commit looks good

This commit is contained in:
khj0414 2025-04-08 10:45:46 +09:00
parent 446f9925c8
commit 27ab492b45
2 changed files with 5 additions and 6 deletions

View File

@ -49,7 +49,7 @@
@keyup="ValidHandler('title')"
/>
<div>
<QEditor class="q-editor-container" @keyup="ValidHandler('content')" @update:data="handleContentUpdate" @update:imageUrls="imageUrls = $event" :is-alert="wordContentAlert" :initialData="contentValue"/>
<QEditor class="q-editor-container" @keyup="ValidHandler('content')" @update:data="handleContentUpdate" @update:imageUrls="imageUrls = $event" :is-alert="wordContentAlert" :initialData="contentValue"/>
<div class="text-end mt-5">
<button class="btn btn-primary" @click="saveWord" :disabled="titleValue ? !changed : false">
<i class="bx bx-check"></i>

View File

@ -333,11 +333,10 @@ import { useRoute } from 'vue-router';
}
.q-editor-container {
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis; /* 긴 내용이면 말줄임표 처리도 가능 */
word-break: break-word;
white-space: normal;
max-width: 100%; /* 영역이 넘치지 않게 */
overflow: auto; /* 넘치는 내용은 스크롤로 처리 */
word-wrap: break-word; /* 긴 단어는 자동으로 줄바꿈 */
white-space: normal; /* 내용이 길어지면 자동으로 줄바꿈 */
}
</style>