Skip to content

Commit

Permalink
feat: 新增富文本编辑器开发版
Browse files Browse the repository at this point in the history
  • Loading branch information
zhufengfj committed Aug 22, 2022
1 parent 31b7ee3 commit ba6ab8b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/tiptap/HbAdminTipTap.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import TableRow from '@tiptap/extension-table-row'
import TableCell from '@tiptap/extension-table-cell'
import TableHeader from '@tiptap/extension-table-header'
import CodeBlockLowlight from '@tiptap/extension-code-block-lowlight'
import 'github-markdown-css'
// load all highlight.js languages
import { lowlight } from 'lowlight'
Expand Down
9 changes: 9 additions & 0 deletions src/components/tiptap/TODO.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# 基于tiptap编辑器

## 目标
- 图片插入
- 代码块插入,支持高亮
- 表格插入
- 视频插入,最好使用西瓜播放器

## 样式优化

0 comments on commit ba6ab8b

Please sign in to comment.