Skip to content

Commit

Permalink
support color
Browse files Browse the repository at this point in the history
  • Loading branch information
virusdefender committed Oct 10, 2019
1 parent b44dfc6 commit c5b6afa
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 8 deletions.
56 changes: 48 additions & 8 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"papaparse": "^4.4.0",
"raven-js": "^3.25.0",
"screenfull": "^3.3.2",
"tar-simditor": "^3.0.5",
"tar-simditor-markdown": "^1.2.3",
"vue": "^2.5.16",
"vue-analytics": "^5.10.4",
Expand Down
3 changes: 3 additions & 0 deletions src/pages/admin/components/Simditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@
fileKey: 'image',
connectionCount: 3,
leaveConfirm: 'Uploading is in progress, are you sure to leave this page?'
},
allowedStyles: {
span: ['color']
}
})
this.editor.on('valuechanged', (e, src) => {
Expand Down

0 comments on commit c5b6afa

Please sign in to comment.