Return to Snippet

Revision: 14121
at May 19, 2009 16:08 by sveggiani


Updated Code
<script type="text/javascript">
tinyMCE.init({
	mode: "textareas",
	theme: "simple",
	extended_valid_elements: "img[class=myclass]",
	invalid_elements: "strong,b,em,i"
});
</script>

Revision: 14120
at May 19, 2009 16:07 by sveggiani


Initial Code
<script type="text/javascript">
tinyMCE.init({
	mode: "textareas",
	theme: "simple",
	extended_valid_elements: img[class=myclass]",
	invalid_elements: "strong,b,em,i"
});
</script>

Initial URL
http://tinymce.moxiecode.com/examples/example_02.php

Initial Description

                                

Initial Title
force class in elements for TinyMCE

Initial Tags

                                

Initial Language
JavaScript