Merge branch 'dev'
This commit is contained in:
@@ -72,10 +72,14 @@ export const renderPageContent = (
|
||||
.use(rehypeImage, { env })
|
||||
.use(rehypeSanitize, {
|
||||
...defaultSchema,
|
||||
tagNames: [...(defaultSchema.tagNames || []), "video", "iframe"],
|
||||
tagNames: [...(defaultSchema.tagNames || []), "video", "iframe", "style"],
|
||||
attributes: {
|
||||
...defaultSchema.attributes,
|
||||
div: [...(defaultSchema.attributes?.div || []), ["className"]],
|
||||
div: [
|
||||
...(defaultSchema.attributes?.div || []),
|
||||
["className"],
|
||||
["style"],
|
||||
],
|
||||
code: [["className"]],
|
||||
blockquote: allowedBlockquoteAttrs,
|
||||
video: [
|
||||
|
||||
@@ -343,7 +343,7 @@ export default function SubdomainEditor() {
|
||||
onChange={(e: ChangeEvent<HTMLInputElement>) =>
|
||||
updateValue("tags", e.target.value)
|
||||
}
|
||||
help="Separate multiple tags with commas"
|
||||
help='Separate multiple tags with English commas ","'
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user