관리자 목록과 이미지 설정 개선
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { buildCalloutOpenerLine } from './markdown-callout.js'
|
||||
import { serializeImageMarkdown } from './markdown-image.js'
|
||||
|
||||
const BLANK_PARAGRAPH_MARKER = '<!--sori:blank-paragraph-->'
|
||||
|
||||
@@ -16,11 +17,7 @@ const serializeImageBlock = (image = {}) => {
|
||||
return ''
|
||||
}
|
||||
|
||||
const width = image.width && image.width !== 'regular'
|
||||
? `{width=${image.width}}`
|
||||
: ''
|
||||
|
||||
return `${width}`
|
||||
return serializeImageMarkdown({ ...image, url })
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user