Posted By

sveggiani on 05/19/09


Tagged

tinymce


Versions (?)

force class in elements for TinyMCE


 / Published in: JavaScript
 

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

  1. <script type="text/javascript">
  2. tinyMCE.init({
  3. mode: "textareas",
  4. theme: "simple",
  5. extended_valid_elements: "img[class=myclass]",
  6. invalid_elements: "strong,b,em,i"
  7. });
  8. </script>

Report this snippet  

You need to login to post a comment.