編輯器

編輯器總覽

以 @tiptap/vue-3 為底的文字編輯器;核心與擴充包分開安裝。

預設用 @admin/rich-editor;要更多功能再裝下方擴充包。客製見自訂指南。

核心

文件用途
Editor空白核心,自行加 extension
Rich Editor內建 StarterKit 的文字編輯器
Editor Toolbar工具列

擴充功能

包用途
Image圖片顯示 / 插入
MarkdownMarkdown 內容格式
Text Color文字顏色
Highlight文字底色
Text Align左中右對齊
Placeholder空編輯器提示文字
Task List任務清單 checkbox
Indent段落縮排
Mention@ 提及選單
Emoji: 表情選單
Suggestion/ slash command 選單
Link Bubble連結浮層(檢視 / 編輯 / 移除)
List Trash清單項刪除鈕
Drag Handle區塊拖曳把手
Table表格
Superscript / Subscript上標 / 下標
Video影片
YouTubeYouTube 嵌入
Font Size字級