fix(editor): Fix styling and typography in AI Assistant chat (#10895)

This commit is contained in:
Milorad FIlipović
2024-09-23 13:05:15 +02:00
committed by GitHub
parent 67fb6d6fdd
commit 57ff3cc27b
6 changed files with 284 additions and 59 deletions

View File

@@ -24,6 +24,7 @@ const configuredSanitize = (html: string) =>
input: ['type', 'id', 'checked'],
code: ['class'],
a: sanitize.defaults.allowedAttributes.a.concat(['data-*']),
div: ['class'],
},
});