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

Merge pull request #1715 from BoostIO/sanitize-options

Make sanitization configurable
This commit is contained in:
Junyoung Choi (Sai)
2018-03-22 21:57:37 +09:00
committed by GitHub
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