TinyMCE

html friendly tynicme configuration

  1. <script type="text/javascript">
  2. tinyMCE.init({
  3.   convert_newlines_to_brs : true,
  4.   force_br_newlines : true,
  5.   force_p_newlines : false,
  6.   convert_fonts_to_spans : true,
  7.   cleanup : true,

enable / disable TinyMCE via template.php (Login/Logout Fix)

  1. <?php
  2. /**
  3. * Customize a TinyMCE theme.
  4. *
  5. * @param init
  6. *   An array of settings TinyMCE should invoke a theme. You may override any
  7. *   of the TinyMCE settings. Details here:
  8. *
  9.  
Syndicate content