Allow style tags in HTML editor (#1870)
This commit is contained in:
parent
a451fec5a1
commit
dba12e8cb3
@ -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.
|
* The use cases for using those tags in the field html are slim to none.
|
||||||
|
Loading…
Reference in New Issue
Block a user