<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi<br>
<br>
I have updated the extended_valid_elements of the TinyMCE resource<br>
<br>
git diff src/resources/tinymce/htdocs/js/tinymceinit.js <br>
diff --git a/src/resources/tinymce/htdocs/js/tinymceinit.js
b/src/resources/tinymce/htdocs/js/tinymceinit.js<br>
index 04f9dc0..ecb3281 100644<br>
--- a/src/resources/tinymce/htdocs/js/tinymceinit.js<br>
+++ b/src/resources/tinymce/htdocs/js/tinymceinit.js<br>
@@ -7,7 +7,7 @@ tinyMCE.init({<br>
theme_advanced_toolbar_align : "left",<br>
theme_advanced_statusbar_location : "bottom",<br>
theme_advanced_resizing : true,<br>
- extended_valid_elements :
"iframe[src|width|height|name|align]",<br>
+ extended_valid_elements :
"iframe[src|width|height|name|align],div[*],script[*]",<br>
entity_encoding : "numeric",<br>
file_browser_callback : 'yanelLookupResource',<br>
});<br>
<br>
which allows to add code like for example<br>
<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-15">
<pre><div data-configid="1183200/1410969" style="width: 560px; height: 398px;" class="issuuembed"> </div>
<script type="text/javascript" src="//e.issuu.com/embed.js" async="true"></script>
because otherwise the attributes like for example data-configid and async would be removed when TinyMCE is saving.
HTH
Michael
</pre>
<br>
</body>
</html>