1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-08-06 22:15:23 +02:00

Allow inline-code in Header (#64)

* Allow inline-code in Header

resolves #59

- add `striptags` for titles
- upgrade editor and tools
- show page title in html

* Add line break
This commit is contained in:
Taly 2019-03-12 16:23:10 +03:00 committed by GitHub
parent f87fd72fcb
commit 11b796bcc7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 76 additions and 86 deletions

View file

@ -12,7 +12,8 @@
"build": "webpack ./src/frontend/js/app.js --o='./public/dist/[name].bundle.js' --output-library=Docs --output-public-path=/dist/ -p --mode=production",
"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"
"generatePassword": "node ./generatePassword.js",
"editor-upgrade": "yarn add -D @editorjs/{editorjs,header,code,delimiter,list,image,inline-code,marker}@latest"
},
"dependencies": {
"@babel/polyfill": "^7.0.0",
@ -46,15 +47,12 @@
"@babel/preset-env": "^7.1.0",
"@editorjs/code": "^2.4.0",
"@editorjs/delimiter": "^1.1.0",
"@editorjs/editorjs": "^2.11.7",
"@editorjs/embed": "^2.2.0",
"@editorjs/header": "^2.2.0",
"@editorjs/editorjs": "^2.11.8",
"@editorjs/header": "^2.2.2",
"@editorjs/image": "^2.1.0",
"@editorjs/inline-code": "^1.3.0",
"@editorjs/list": "^1.3.0",
"@editorjs/list": "^1.3.1",
"@editorjs/marker": "^1.2.0",
"@editorjs/quote": "^2.2.0",
"@editorjs/raw": "^2.1.1",
"autoprefixer": "^9.1.3",
"babel": "^6.23.0",
"babel-eslint": "^10.0.1",