feat: enhance article editor and detail components with improved link handling and UI updates

This commit is contained in:
2026-04-07 19:38:29 +08:00
parent 98ebb12fa1
commit d0f0271346
7 changed files with 281 additions and 171 deletions
@@ -413,20 +413,6 @@ function serializePlatformSelection(platformIds: string[]): string {
</template>
</button>
<div class="article-editor-view__cover-info">
<div class="article-editor-view__cover-actions">
<a-button type="primary" ghost @click="coverPickerOpen = true">
{{ coverAssetUrl ? t("article.editor.coverReplace") : t("article.editor.coverUpload") }}
</a-button>
<a-button v-if="coverAssetUrl" @click="handleRemoveCover">
{{ t("article.editor.coverRemove") }}
</a-button>
</div>
<div v-if="coverAssetUrl" class="article-editor-view__cover-file">
{{ coverFileName || t("article.editor.coverSaved") }}
</div>
</div>
</div>
<div v-else class="article-editor-view__cover-off">