mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-08-07 14:35:26 +02:00
Add warning tool, fix XSS in image alt-tag (#75)
* Add warning tool, fix XSS in image alt-tag * production build * Upgrade editor * Add spaces
This commit is contained in:
parent
93bf21fa2d
commit
42eacba15b
12 changed files with 84 additions and 1045 deletions
|
@ -13,7 +13,7 @@
|
|||
"build:dev": "webpack ./src/frontend/js/app.js --o='./public/dist/[name].bundle.js' --output-library=Docs --output-public-path=/dist/ -p --mode=development --watch",
|
||||
"precommit": "yarn lint && yarn test --exit",
|
||||
"generatePassword": "node ./generatePassword.js",
|
||||
"editor-upgrade": "yarn add -D @editorjs/{editorjs,header,code,delimiter,list,image,table,inline-code,marker}@latest"
|
||||
"editor-upgrade": "yarn add -D @editorjs/{editorjs,header,code,delimiter,list,image,table,inline-code,marker,warning}@latest"
|
||||
},
|
||||
"dependencies": {
|
||||
"bcrypt": "^3.0.3",
|
||||
|
@ -42,15 +42,17 @@
|
|||
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
|
||||
"@babel/polyfill": "^7.2.5",
|
||||
"@babel/preset-env": "^7.1.0",
|
||||
"@codexteam/misprints": "^1.0.0",
|
||||
"@editorjs/code": "^2.4.0",
|
||||
"@editorjs/delimiter": "^1.1.0",
|
||||
"@editorjs/editorjs": "^2.11.8",
|
||||
"@editorjs/editorjs": "^2.12.0",
|
||||
"@editorjs/header": "^2.2.2",
|
||||
"@editorjs/image": "^2.1.2",
|
||||
"@editorjs/inline-code": "^1.3.0",
|
||||
"@editorjs/list": "^1.3.1",
|
||||
"@editorjs/list": "^1.3.2",
|
||||
"@editorjs/marker": "^1.2.0",
|
||||
"@editorjs/table": "^1.2.0",
|
||||
"@editorjs/warning": "^1.1.0",
|
||||
"autoprefixer": "^9.1.3",
|
||||
"babel": "^6.23.0",
|
||||
"babel-eslint": "^10.0.1",
|
||||
|
@ -67,7 +69,6 @@
|
|||
"eslint-plugin-standard": "^4.0.0",
|
||||
"highlight.js": "^9.13.1",
|
||||
"husky": "^1.1.2",
|
||||
"@codexteam/misprints": "^1.0.0",
|
||||
"mini-css-extract-plugin": "^0.4.3",
|
||||
"mocha": "^5.2.0",
|
||||
"mocha-sinon": "^2.1.0",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue