레거시 본문 저장 형식 정규화

This commit is contained in:
2026-05-14 16:12:22 +09:00
parent 91b7369a07
commit 941355cae9
12 changed files with 212 additions and 12 deletions

View File

@@ -1,7 +1,9 @@
<script setup>
import { normalizeMarkdownContent } from '../../lib/markdown-content-normalizer.js'
const props = defineProps({
modelValue: {
type: String,
type: [String, Array, Object],
default: ''
}
})
@@ -30,7 +32,7 @@ const imageWidthOptions = [
]
const markdownValue = computed({
get: () => props.modelValue || '',
get: () => normalizeMarkdownContent(props.modelValue),
set: (value) => emit('update:modelValue', value)
})