1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

Make sanitization configurable

This commit is contained in:
Junyoung Choi
2018-03-22 12:01:16 +09:00
parent 8c792ce7a1
commit 5ea24f650b
19 changed files with 145 additions and 57 deletions

View File

@@ -51,7 +51,8 @@ export const DEFAULT_CONFIG = {
latexBlockOpen: '$$',
latexBlockClose: '$$',
scrollPastEnd: false,
smartQuotes: true
smartQuotes: true,
sanitize: 'STRICT' // 'STRICT', 'ALLOW_STYLES', 'NONE'
},
blog: {
type: 'wordpress', // Available value: wordpress, add more types in the future plz