Hi there,
I have a custom product field of type Editor. For some reason, that field in the database contains broken / incomplete HTML for a number of products. Not sure where that started: on import, user error or a bug in Dynamicweb. However, once it's there, the problem gets worse as parts of the HTML of the PIM management page are added to the field. I think this happens because the HTML in the custom field is incomplete and invalid, therefore breaking the contenteditable behavior of the field in the browser. Here's an example of the bad data I have for a field:
Størrelser:<div><b style=box-sizing: border-box; color: rgb(44, 56, 68); font-family: Roboto, sans-serif; font-size: 15px;>1</b><span style=color: rgb(44, 56, 68); font-family: Roboto, sans-serif; font-size: 15px;> = 15,5 cm</span><br style=box-
That then leads to this in the PIM UI when editing that field:
Note how the Edit Text links have moved into the control for the field. That means if I save this page, the product now contains the Edit Text link + more HTML. Each time you save, the field's HTML gets bigger and bigger.
Can this be fixed so the Editor field can handle invalid HTML?
Thanks!
Imar