small fixed

This commit is contained in:
Ren Amamiya
2023-10-01 15:00:38 +07:00
parent 674e5f0339
commit 4915b833e7
12 changed files with 178 additions and 142 deletions

View File

@@ -62,7 +62,7 @@ export function TextNote(props: { content?: string }) {
}
},
}}
disallowedElements={['h1', 'h2', 'h3', 'h4', 'h5', 'h6']}
disallowedElements={['h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'pre', 'code']}
unwrapDisallowed={true}
linkTarget={'_blank'}
>