1
votes

I already searched this website (and google) but I cannot get this to work. I'm trying to insert an image in a tinymce textarea but the html necessary keeps getting removed when I click the "save" button (on tinymce UI). I am using tinymce jquery version.

I already tried adding the following to tinymce.init:

cleanup: false,
verify_html : false,
media_strict: false,
valid_elements: "*[*]",

...but to no avail.

Can someone please help?

1

1 Answers

0
votes

Unfortunalty, valid_elements: "*[*]", is buggy. You will need to set the tinymce configuration parmaters valid_elements and valid_children according to your needs.