feat: allow div class

This commit is contained in:
DIYgod
2022-08-26 01:46:57 +01:00
parent 35530af0df
commit 0bcf370a41
+1
View File
@@ -43,6 +43,7 @@ export const renderPageContent = async (content: string): Promise<Rendered> => {
...defaultSchema,
attributes: {
...defaultSchema.attributes,
div: [...(defaultSchema.attributes?.div || []), ["className"]],
code: [["className"]],
blockquote: allowedBlockquoteAttrs,
},