Skip to content

Commit

Permalink
⬆️ vditor
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessa219 committed Dec 22, 2019
1 parent 61bacd1 commit a099c8d
Show file tree
Hide file tree
Showing 21 changed files with 51 additions and 535 deletions.
544 changes: 27 additions & 517 deletions console/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion console/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"babel-polyfill": "^6.26.0",
"particles.js": "^2.0.0",
"sha512crypt-node": "^0.1.0",
"vditor": "^1.10.0",
"vditor": "^1.10.11",
"vue-axios": "^2.1.4",
"vue-i18n": "^8.11.2",
"vuetify": "git+https://github.com/Vanessa219/vuetify.git#v1.2.12"
Expand Down
3 changes: 3 additions & 0 deletions console/pages/admin/articles/post/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,9 @@
typewriterMode: true,
tab: '\t',
cache: this.$route.query.id ? false : true,
hint: {
emojiPath: 'https://cdn.jsdelivr.net/npm/vditor/dist/images/emoji',
},
preview: {
delay: 500,
mode: data.mode,
Expand Down
2 changes: 1 addition & 1 deletion pipe.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"Server": "http://localhost:5897",
"StaticServer": "",
"StaticResourceVersion": "1574213872706",
"StaticResourceVersion": "1576984333042",
"RuntimeMode": "dev",
"LogLevel": "debug",
"ShowSQL": false,
Expand Down
3 changes: 3 additions & 0 deletions theme/js/article.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,9 @@ export const ShowEditor = (reply, id, commentId) => {
ctrlEnter: () => {
$('#pipeEditorAdd').click()
},
hint: {
emojiPath: 'https://cdn.jsdelivr.net/npm/vditor/dist/images/emoji',
},
preview: {
delay: 500,
mode: 'editor',
Expand Down
2 changes: 1 addition & 1 deletion theme/js/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ export const initPjax = (cb) => {
(() => {
$.ajax({
method: 'GET',
url: 'https://cdn.jsdelivr.net/npm/vditor@1.10.0/dist/index.min.js',
url: 'https://cdn.jsdelivr.net/npm/vditor@1.10.11/dist/index.min.js',
dataType: 'script',
cache: true,
success: () => {
Expand Down
2 changes: 1 addition & 1 deletion theme/sw.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion theme/x/9IPHP/css/common.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion theme/x/9IPHP/js/common.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion theme/x/Fara/css/common.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion theme/x/Fara/js/common.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion theme/x/Gina/css/common.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion theme/x/Gina/js/common.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion theme/x/Koma/css/common.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion theme/x/Koma/js/common.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion theme/x/Littlewin/css/common.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion theme/x/Littlewin/js/common.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion theme/x/Medium/css/common.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion theme/x/Medium/js/common.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion theme/x/Next/css/common.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion theme/x/Next/js/common.min.js

Large diffs are not rendered by default.

0 comments on commit a099c8d

Please sign in to comment.