Skip to content

Commit

Permalink
chg: [frontend] Simplify tinymci configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricbonhomme committed Nov 26, 2023
1 parent 4551214 commit f83f12e
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 103 deletions.
10 changes: 2 additions & 8 deletions freshermeat/templates/edit_project.html
Original file line number Diff line number Diff line change
Expand Up @@ -174,15 +174,9 @@ <h4 id="Vulnerability-tracking">Vulnerability tracking</h4>
selector: 'textarea',
height: 500,
menubar: false,
plugins: [
'advlist autolink lists link image charmap print preview anchor textcolor',
'searchreplace visualblocks code fullscreen',
'insertdatetime media table contextmenu paste code help'
],
plugins: [],
toolbar: 'insert | undo redo | formatselect | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | removeformat | help',
content_css: [
'//fonts.googleapis.com/css?family=Lato:300,300i,400,400i',
'//www.tinymce.com/css/codepen.min.css']
content_css: []
});
});
function searchProject() {
Expand Down
112 changes: 18 additions & 94 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lodash": "^4.17.21",
"moment": "^2.29.4",
"popper.js": "^1.16.1",
"tinymce": "^6.7.3"
"tinymce": "^6.8.0"
},
"engines": {
"yarn": ">= 1.0.0"
Expand Down

0 comments on commit f83f12e

Please sign in to comment.