Merged in fix/SW-2848-RTE-with-copied-divs (pull request #2173)

fix: handle when content has copied divs from episervers RTE

* fix: handle when content has copied divs from episervers RTE


Approved-by: Matilda Landström
This commit is contained in:
Joakim Jäderberg
2025-05-22 11:03:29 +00:00
committed by Linus Flood
parent fe71348827
commit cc34cdcf74
4 changed files with 48 additions and 12 deletions

View File

@@ -28,6 +28,10 @@ export enum RTETypeEnum {
p = "p",
reference = "reference",
span = "span",
/**
* Included for compatibility when copying RTE from other sources e.g. epi
*/
div = "div",
table = "table",
tbody = "tbody",
td = "td",