mirror of
https://github.com/codex-team/editor.js
synced 2026-03-14 22:55:47 +01:00
update HTML-Janitor patch (#537)
* update HTML-Janitor patch * update readme * add licence to code
This commit is contained in:
parent
feace16fc1
commit
819719aadc
5 changed files with 13 additions and 10 deletions
|
|
@ -223,6 +223,8 @@ editor.saver.save()
|
|||
|
||||
Take a look at the [example.html](example/example.html) to view more detailed examples.
|
||||
|
||||
|
||||
## Credits and references
|
||||
|
||||
- We use [HTMLJanitor](https://github.com/guardian/html-janitor) module in our Sanitizer module.
|
||||
|
||||
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "codex.editor",
|
||||
"version": "2.5.5",
|
||||
"version": "2.5.6",
|
||||
"description": "Codex Editor. Native JS, based on API and Open Source",
|
||||
"main": "build/codex-editor.js",
|
||||
"types": "./types/index.d.ts",
|
||||
|
|
@ -33,7 +33,7 @@
|
|||
"eslint": "^4.19.1",
|
||||
"eslint-loader": "^2.1.0",
|
||||
"extract-text-webpack-plugin": "^3.0.2",
|
||||
"html-janitor": "^2.0.2",
|
||||
"html-janitor": "^2.0.4",
|
||||
"path": "^0.12.7",
|
||||
"postcss-apply": "^0.10.0",
|
||||
"postcss-color-hex-alpha": "^3.0.0",
|
||||
|
|
|
|||
|
|
@ -298,6 +298,7 @@ export default class Sanitizer extends Module {
|
|||
* At least, if there is no config overrides, that API uses Default configuration
|
||||
*
|
||||
* @uses https://www.npmjs.com/package/html-janitor
|
||||
* @licence https://github.com/guardian/html-janitor/blob/master/LICENSE
|
||||
*
|
||||
* @param {SanitizerConfig} config - sanitizer extension
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue