Allow style tags in HTML editor (#1870)

This commit is contained in:
Henrik Giesel 2022-05-17 08:37:20 +02:00 committed by GitHub
parent a451fec5a1
commit dba12e8cb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@ function removeTag(element: HTMLElement, tagName: string): void {
}
}
const prohibitedTags = ["script", "link", "style"];
const prohibitedTags = ["script", "link"];
/**
* The use cases for using those tags in the field html are slim to none.