Created
September 21, 2019 15:21
-
-
Save o1y/b8378f5f9239957d98ad0d49aa709865 to your computer and use it in GitHub Desktop.
Statamic Bard Fieldtype Scribe Sanitizer Overrides
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Statamic.bard.sanitizer = { | |
tags: { | |
p: {}, | |
br: {}, | |
b: {}, | |
strong: {}, | |
i: {}, | |
strike: {}, | |
blockquote: {}, | |
code: {}, | |
ol: {}, | |
ul: {}, | |
li: {}, | |
a: { | |
href: true, | |
target: true, | |
rel: true | |
}, | |
h1: { | |
name: true, | |
id: true | |
}, | |
h2: {}, | |
h3: {}, | |
h4: {}, | |
h5: {}, | |
h6: {}, | |
u: {}, | |
sup: {}, | |
sub: {}, | |
hr: {} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment