diff --git a/package.json b/package.json index 8c4db5cec..d5d945c64 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,16 @@ }, "dependencies": { "@stomp/stompjs": "^5.4.4", + "@tiptap/extension-color": "^2.2.4", + "@tiptap/extension-table": "^2.2.4", + "@tiptap/extension-table-cell": "^2.2.4", + "@tiptap/extension-table-header": "^2.2.4", + "@tiptap/extension-table-row": "^2.2.4", + "@tiptap/extension-text-align": "^2.2.4", + "@tiptap/extension-text-style": "^2.2.4", + "@tiptap/pm": "^2.2.4", + "@tiptap/starter-kit": "^2.2.4", + "@tiptap/vue-2": "^2.2.4", "axios": "^0.18.0", "dayjs": "^1.11.5", "echarts": "^4.7.0", diff --git a/src/views/contestDataManage/contestSeasonManage/editContent.vue b/src/views/contestDataManage/contestSeasonManage/editContent.vue index 8fda96b5c..48f8d2649 100644 --- a/src/views/contestDataManage/contestSeasonManage/editContent.vue +++ b/src/views/contestDataManage/contestSeasonManage/editContent.vue @@ -1,15 +1,81 @@ - + + + + + + + + + + + + + bold + + + italic + + + strike + + + code + + + clear marks + + + clear nodes + + + paragraph + + + h1 + + + h2 + + + h3 + + + h4 + + + h5 + + + h6 + + + bullet list + + + ordered list + + + code block + + + blockquote + + + horizontal rule + + + hard break + + + undo + + + redo + + + {{ $t('global.confirm') }} {{ $t('global.cancel') }} @@ -18,20 +84,71 @@ +