I’m trying to prepopulate a rich text field with formatting as html. The source for my html is an email template.
What I’ve done so far is use a model to get the appropriate email template and the action framework to prepoulate the rich text field (which is an actual object field).
However the rich text field flashes the rendered html as expected and then displays the raw html.
Looking at the html source, I think that the html is being inserted as actual html so it displays as I expect, but then CK editor is escaping the html into text so it displays the raw html in the text editor.
How can I take html and prepopulate a rich text field with it?
Flashes this (which is what the html email looks like)
And then displays this